T-PicoC3 icon indicating copy to clipboard operation
T-PicoC3 copied to clipboard

PlatformIO - options for T-Pico

Open jimemo opened this issue 2 years ago • 4 comments

This is how to get the T-PicoC3 (or any other Raspberry Pico board) working on PIO.

This makes use of the same 'earlephilhower arduino-pico core' that is available in Arduino IDE, however this core is not fully supported (yet) on PlatformIO and is waiting for this pull request: https://github.com/platformio/platform-raspberrypi/pull/36

In the meantime here are the steps to create your project: https://github.com/earlephilhower/arduino-pico/blob/master/docs/platformio.rst

Here is my platformio.ini file:

[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.core = earlephilhower
framework = arduino
build_flags = 
	-I ../include
lib_deps = 
	khoih-prog/ESP_AT_Lib@^1.4.1

To connect to the T-PicoC3 via UART for Wifi I am using this excellent library (installed by PIO GUI): https://github.com/khoih-prog/ESP_AT_Lib Note that there is a workaround required to access Serial2 and TX-8, RX-9 on the T-Pico device. It's explained here: https://github.com/khoih-prog/ESP_AT_Lib/discussions/4

jimemo avatar Nov 27 '22 01:11 jimemo

It is an excellent introductory programming tutorial. Can you authorize me to put this on the readme page.

mmMicky avatar Dec 12 '22 02:12 mmMicky

Yes go ahead @mmMicky . You can tag me in it.

jimemo avatar Dec 12 '22 09:12 jimemo

@mmMicky I've updated the instructions, please update the readme file.

jimemo avatar Jan 11 '23 17:01 jimemo

@jimemo I modified a small part of it according to my understanding and updated to readme. Thanks again for your contribution to T-PICOC3.

mmMicky avatar Jan 12 '23 01:01 mmMicky