/ez-pico

PlatformIO development & debug environment for the 2040 microcontroller

Primary LanguagePythonApache License 2.0Apache-2.0

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

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:

pico


If you want to help / support:
paypal