igrr / arduino-nano-esp32

Arduino Nano ESP32 Board Support Package for ESP-IDF
Apache License 2.0
2 stars 1 forks source link

Arduino Nano ESP32 Board Support Package for ESP-IDF

Component Registry

This repository contains an ESP-IDF board support package for Arduino Nano ESP32 board. This board is based on an ESP32-S3 chip.

Using the component

If you have an existing ESP-IDF project you can run the following command to install the component:

idf.py add-dependency "igrr/arduino-nano-esp32"

Example

This component includes the blink example. It can be used as a starting point when developing an application on Nano ESP32 board.

Aside from the obligatory blinking of LEDs, the example also contains default configuration (sdkconfig.defaults) for this board, which configures:

To create the example project locally, run:

idf.py create-project-from-example "igrr/arduino-nano-esp32:blink"

Then build as usual:

cd blink
idf.py build

And flash it to the board:

idf.py -p PORT flash monitor

LEDs should cycle between red, green, blue and yellow. On the console, you should see:

I (726) example: Hello from Arduino Nano ESP32 board!
I (726) example: Free heap: 8738808 bytes

License

This component is provided under Apache 2.0 license, see LICENSE file for details.