Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformIO - options for T-Pico #24

Open
jimemo opened this issue Nov 27, 2022 · 4 comments
Open

PlatformIO - options for T-Pico #24

jimemo opened this issue Nov 27, 2022 · 4 comments

Comments

@jimemo
Copy link

jimemo commented Nov 27, 2022

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: platformio/platform-raspberrypi#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: khoih-prog/ESP_AT_Lib#4

@mmMicky
Copy link
Contributor

mmMicky commented Dec 12, 2022

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

@jimemo
Copy link
Author

jimemo commented Dec 12, 2022

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

@jimemo
Copy link
Author

jimemo commented Jan 11, 2023

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

@mmMicky
Copy link
Contributor

mmMicky commented Jan 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants