-
Notifications
You must be signed in to change notification settings - Fork 0
Basic Hello World Example
ronf-ucb edited this page Dec 30, 2020
·
3 revisions
Other examples are located in: ~/home/.platformio/packages/framework-espidf/examples
- File-> Open Folder -> ~/home/.platformio/packages/framework-espidfexamples/espidf-hello-world
(also can be downloaded from github:
https://github.com/platformio/platform-espressif32/blob/master/examples/espidf-hello-world/src/hello_world_main.c - Open and edit the platformio.ini file
update the default monitor speed to 115200 in platformio.ini file, and also delete the other boards which are not used.
The example platformio.ini from SkeletonHuzzah32 can also be used:
https://github.com/ucb-ee192/SkeletonHuzzah32/blob/main/platformio.ini
[env:featheresp32]
platform = espressif32
framework = espidf
board = featheresp32
monitor_speed = 115200
- build (takes about 6 minutes)
- check baud rate in platformio.ini: (monitor_speed = 115200)
- upload
- works in putty terminal