Raspberry Pi Pico RP2040 - PlatformIO ( Pico-SDK & Arduino )

A few words in the beginning

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

pico

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 )

pico


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

GitHub

https://github.com/Wiz-IO/wizio-pico