Raspberry Pi Pico Development Tool for Debian-Based LInux Systems!
Picomposer (Pronounced "pi-kompóser" or "pai-kampóuzer", both correct) is a script developed for an easily manage of C projects for the Raspberry Pi Pico on my last years of university, it started as a script just for the installation of all the resources, but due all the needs that arose, it evolved until this first version, that allows the user create, build and upload projects for this microcontroller in a few minutes.
- Clone this repository. (Download Directly or
git clone -b main https://github.com/AdolfoRojasJ/Picomposer
). cd Picomposer
chmod +x Picomposer.sh
./Picomposer.sh
- Type option number '1'.
- Select an option:
- PC Installation: Download the PICO-SDK, FREERTOS KERNEL and all the resources that you need to create projects for the Raspberry Pi Pico on your PC.
- PI Installation: Download the PICO-SDK, FREERTOS KERNEL and all the resources that you need to create projects for the Raspberry Pi Pico on a PI Board (Raspberry Pi, Orange Pi, etc).
- Execute on terminal (
./Picomposer.sh
) or use The Desktop Icon.
- New Project: Select the libraries for the project, consider that PICO STDLIB is obligatory, modify the Serial Communication (UART & USB) and choose a name for your project, this option automatically creates the
.c file
and theCMakeLists.txt
file with all the parameters that you've selected on the~/pico/pico-sdk/pico-examples
directory. - New FreeRTOS Project: Modify the Serial Communication and choose a name for your project, this option allows you to create a project for the Raspberry Pi Pico using the FREERTOS KERNEL on the
~/pico/pico-sdk/pico-examples
directory. - Open Project: Fetch all the available projects of the
~/pico/pico-sdk/pico-examples
directory, so you can edit the.c file
of the selected directory. - Build Projects: Automatically does the
make
command on the~/pico/pico-sdk/pico-examples/build
directory, creating all the binaries for the pico-examples directory. - Upload Projects: First you need to connect your RPi Pico on Boot mode, once it's done, select this option, then type the number of the project that you want to upload to your board.
- Import Projects: Paste on the directory
~/resources/Import
all the directories with the Projects that you want to use, then select this option, type the number of the project that you want to import to the~/pico/pico-sdk/pico-examples
directory. - Delete Project: Type the number of the project that you want to delete form the
~/pico/pico-sdk/pico-examples
directory.
It opens the gtkterminal
with super user privileges, so you can select the Port for the RPi Pico and by Serial Communication (UART & USB) visualize readings from the microcontroller.
This option modifies the parameters on the ~/resources/config.txt
file.
- Text Editor: It Allows you to modify the Text Editor of the
.c files
between Vim, Nano and gedit. - Language: It Allows you to select the language of the script, English and Spanish included.