Download and run: rm-pico-installer
It automatically installs all the tools and vscode.
Zadig install link TODO: add zadig install guide
Follow the linux guide but currently some methods do not work (also ur kinda on ur own hehe)
TODO: make separate guide for vscode section
TODO: for now just read the linux_init.sh
might not work lol brew install libusb pkg-config
Next install: vscode
report
Warning do not update recursively
why tho? There are some submodules that may go on for a while (like tinyusb) and I highly
recommend you don't need to get them.
If you want to see what submodules I update just look in `linux_init.sh`
git clone https://github.com/agmui/sample_rm_pico_app.git
cd sample_rm_pico_app
./linux_init.sh && source ~/.bashrc
Install VScode link vscode
Have vscode open this repo
When first opining vscode should ask you to install the plugins
select kit
press CTRL + SHIFT + B
select the usb port the pico is plugged in it should look like this: then hit Start Monitoring
warning
The pico did not show up? warning
run in project root
Manual build
mkdir build
cd build
cmake ..
make -j4
picotool load -f pico_app.uf2
Reset pico link
mkdir build
cd build
cmake ..
make -j4
unplug the pico Hold the bootsel button on the pico while still holding the button plug the pico back in
A usb stick should pop up in your file explorer TODO: add pic
drag and drop the pico_app.u2f
file in the build folder
Just press f7
if you installed all plugins
run:
mkdir build
cd build
cmake ..
make -j4
You can either compile the files in the examples folder or just copy the code form the guides and paste it in main.cpp