Unverified Commit 2aa4828d authored by Jan Procházka's avatar Jan Procházka Committed by GitHub

fix(example): Update RainMaker examples to work with ESP32C6 (#10096)

Co-authored-by: default avatarMe No Dev <me-no-dev@users.noreply.github.com>
parent b1b62286
......@@ -9,7 +9,7 @@ const char *service_name = "PROV_1234";
const char *pop = "abcd1234";
//GPIO for push button
#if CONFIG_IDF_TARGET_ESP32C3
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
static int gpio_0 = 9;
static int gpio_dimmer = 7;
#else
......
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
......@@ -11,7 +11,7 @@
const char *service_name = "PROV_1234";
const char *pop = "abcd1234";
#if CONFIG_IDF_TARGET_ESP32C3
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
//GPIO for push button
static int gpio_reset = 9;
//GPIO for virtual device
......
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
......@@ -9,7 +9,7 @@ const char *service_name = "PROV_1234";
const char *pop = "abcd1234";
// GPIO for push button
#if CONFIG_IDF_TARGET_ESP32C3
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
static int gpio_0 = 9;
static int gpio_switch = 7;
#else
......
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment