You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added setup.py to enable installation to user or system directory using setuptools
Re-structured directory tree to permit setuptools installation
Added "main" function definition in pico_project.py to permit executable installation using setuptools
Updated pico_configs.tsv configuration file read function to read from python script installation directory
Copy file name to clipboardExpand all lines: README.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# pico-project-generator
2
2
3
-
This is a command line or GUI tool, written in Python, to automatically generate a Pico C SDK Project.
3
+
This is a command line or GUI tool, written in Python, to automatically generate a Raspberry Pi Pico C SDK Project.
4
4
5
5
The tool will generate all required CMake files, program files and VSCode IDE files for the set of features requested.
6
6
@@ -42,14 +42,21 @@ optional arguments:
42
42
You can list the features supported by the tools by using `./pico_project --list`. These features can
43
43
be added to the project using the `--feature` options, this can be used multiple times.
44
44
45
-
46
-
47
45
## GUI version
48
46
49
47
The GUI version of the tool, run by adding `--gui` to the command line, uses `tkinter` to provide a platform agnostic script that will run on Linux, Mac and Windows. All the options from the command line tool are also supported in the GUI.
50
48
51
49
You can add specific features to your project by selecting them from the check boxes on the GUI. This will ensure the build system adds the appropriate code to the build, and also adds simple example code to the project showing how to use the feature. There are a number of options available, which provide the following functionality.
52
50
51
+
## Installation using Python Pip (Linux)
52
+
53
+
Clone the repository with: `$ git clone https://github.com/raspberrypi/pico-project-generator` (assuming you are using HTTP to clone repositories). Change to the repository's directory with: `$ cd pico-project-generator`.
54
+
55
+
The package can then be installed for the current user using: `$ pip install .`, or for the all system users using `$ sudo pip install .`.
56
+
57
+
You can now run the package with `$ pico_project` plus any arguments detailed below, e.g. `$ pico_project --gui`.
58
+
59
+
53
60
Console Options | Description
54
61
----------------|-----------
55
62
Console over UART | Enable a serial console over the UART. This is the default.
@@ -75,11 +82,3 @@ IDE Options | Description
75
82
Create VSCode Project | As well as the CMake files, also create the appropriate Visual Studio Code project files.
0 commit comments