mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-15 20:56:07 +00:00
- Updated partitions.csv in all examples to use final esp_secure_cert partition format. - This option can only be enabled if claiming is disabled. - The Rainmaker app will fall back to using NVS if it fails to fetch from the `esp_secure_cert` partition. This has been done to allow a common firmware to be built that can run on both kinds of devices, i.e. ones that use NVS and ones that use the `esp_secure_cert` partition.
GPIO Example
Build and Flash firmware
Follow the ESP RainMaker Documentation Get Started section to build and flash this firmware. Just note the path of this example.
What to expect in this example?
- This example just provides 3 boolean parameters, linked to 3 GPIOS.
- Toggling the buttons on the phone app should toggle the GPIOs on your board (and the LEDs, if any, connected to the GPIOs), and also print messages like these on the ESP32-S2 monitor:
I (16073) app_main: Received value = true for GPIO-Device - Red
Reset to Factory
Press and hold the BOOT button for more than 3 seconds to reset the board to factory defaults. You will have to provision the board again to use it.