## 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](https://www.linkedin.com/posts/georgi-angelov-33aa43b0_platformio-activity-6992131002923905024-m2mP?utm_source=share&utm_medium=member_desktop) ( etc ... [Arduino](https://www.linkedin.com/posts/georgi-angelov-33aa43b0_platformio-arduino-raspberry-activity-6993604847698665472-xUBF?utm_source=share&utm_medium=member_desktop), [microPython](https://www.linkedin.com/posts/georgi-angelov-33aa43b0_platformio-micropython-activity-6990577993874067456-E1pO?utm_source=share&utm_medium=member_desktop) )
They still have no interest... * **Version: 1.1.1** The project is a work in progress, there may be bugs... * [Look here, if there is something new](https://github.com/Wiz-IO/wizio-pico/wiki#last-news) * This project is based on [**PICO-SDK**](https://github.com/raspberrypi/pico-sdk) * **PICO-SDK** _( the file organization has been restructured to be flexible and have a fast compilation )_ * * **default SDK 1.4.0** * * Support and Pico W ( WiFi ) board - not tested - I not have W board * **Frameworks** * * Baremetal ( pico-sdk, C/C++ ) _baremetal is just a name for pico-sdk here_ * * Arduino ( in progress... ) * **Debug** ( in progress... ) * * [PICOPROBE](https://github.com/Wiz-IO/wizio-pico/wiki/DEBUG#picoprobe) ( Windows for now ) * * CMSIS-DAP [( Windows for now )](https://www.youtube.com/watch?v=SdpsmgRp5Co) * [**READ WIKI**](https://github.com/Wiz-IO/wizio-pico/wiki/) * [Framework code](https://github.com/Wiz-IO/framework-wizio-pico) * [Baremetal Examples](https://github.com/Wiz-IO/wizio-pico-examples/tree/main/baremetal) * [Arduino Examples](https://github.com/Wiz-IO/wizio-pico-examples/tree/main/arduino) * [Video demo - Arduino - TFT ST7789](https://www.youtube.com/watch?v=x8Z4btIwf7M) * **Systems support** * * Windows, Linux, Darwin _(if someone is editing the platform they have to take this into account)_ **Notes** * Please [Re-Install](https://github.com/Wiz-IO/wizio-pico/blob/main/README.md#fast-uninstal--reinstal--do-this-and-install-again) 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_ ![pico](https://raw.githubusercontent.com/Wiz-IO/LIB/master/pico/a1.jpg) ## Install Platform _Note: be sure [**git**](https://git-scm.com/downloads) is installed_ * PIO Home > Platforms > Advanced Installation * paste https://github.com/Wiz-IO/wizio-pico * INSTALL ## 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 ) ![pico](https://raw.githubusercontent.com/Wiz-IO/LIB/master/pico/pio-pico.jpg) *** ## 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](https://github.com/Wiz-IO/wizio-pico/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](https://github.com/Wiz-IO/wizio-pico/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 Raspberry Pi Pico pin out diagram ## Thanks to: * [Timo Sandmann](https://github.com/tsandmann) * [Dean Blackketter](https://github.com/blackketter) * [Ivan Kravets ( PlatformIO )](https://platformio.org/) ![pico](https://raw.githubusercontent.com/Wiz-IO/LIB/master/images/ILI9341.jpg) *** >If you want to help / support: [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ESUP9LCZMZTD6)