Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/RainMaker/examples/RMakerCustom/RMakerCustom.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion libraries/RainMaker/examples/RMakerCustom/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion libraries/RainMaker/examples/RMakerCustomAirCooler/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
1 change: 0 additions & 1 deletion libraries/RainMaker/examples/RMakerSonoffDualR3/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
2 changes: 1 addition & 1 deletion libraries/RainMaker/examples/RMakerSwitch/RMakerSwitch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion libraries/RainMaker/examples/RMakerSwitch/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"targets": {
"esp32c6": false,
"esp32h2": false
}
}
Loading