mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-15 12:25:30 +00:00
1. ESP32C6 button configs for RGB LED and Boot GPIO 2. CI: Added entry for C6 in `.gitlab.yaml` 3. Added `partitions_4mb_optimised.csv` which uses flash to the full extent - Created sdkconfig.defaults for esp32c6 and used partitions_4mb_optimised.csv as default - This is made default for esp32c6 because, for esp32c6, image sizes exceed config from partitions.csv 4. Fixed matter examples CMakeLits.txt files for c6 support
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.