Raspberry Pi Pico RP2040 - PlatformIO ( Pico-SDK & Arduino )
A few words in the beginning
I won't add support for new SDK versions ( > 1.40 ) - I don't have a muse...
Half a year ago I offered to Raspberry Pi ORG
platform ( 90% ready ) to support all their products ( etc ... Arduino, microPython )
They still have no interest...
Notes
- Please Re-Install the platform. The project is a work in progress and the platform is installed from here...
- I am in Home-Office, it's hard for me to test hardwares as SPI, I2C ... etc
Install Platform
Note: be sure git is installed
Uninstall ( fast ) ... Re-Install ( do this and Install again )
- In directory C:\Users\USER_NAME.platformio\platforms
- delete folder wizio-pico ( builders )
- In directory C:\Users\USER_NAME.platformio\packages
- delete folder framework-wizio-pico ( sources )
- delete folder toolchain-gccarmnoneeabi (compiler, may not be
deleted )
- delete folder tool-wizio-pico ( tools, picoasm )
Baremetal - New Project
PlatformIO -> Home -> New
- Enter Project Name - Board search 'WizIO-PICO' boards - Select Baremetal
- Click BUILD and you will have basic project ( from template )
- For CPP project, rename main.c to main.cpp ( if you delete main file, builder will create new main.c as template )
- Connect Pico as Mass Storage Device
- Open platformio.ini and edit your settings
- BUILD / UPLOAD
- READ WIKI - BAREMETAL
Arduino - New Project
PlatformIO -> Home -> New
- Enter Project Name - Board search 'WizIO-PICO' boards - Select Arduino
- Connect Pico as Mass Storage Device
- Open platformio.ini and edit your settings
- BUILD / UPLOAD
- READ WIKI - ARDUINO
NOTE
IF PICO_STDIO_USB is used, the Uploader will try ro reset Pico to boot-uf2 mode without button and USB cable remove
Thanks to:
If you want to help / support: