8000 fix(example): Update RainMaker examples to work with ESP32C6 (#10096) · felmue/arduino-esp32@2aa4828 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2aa4828

Browse files
fix(example): Update RainMaker examples to work with ESP32C6 (espressif#10096)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
1 parent b1b6228 commit 2aa4828

File tree

7 files changed

+3
-7
lines changed

7 files changed

+3
-7
lines changed

libraries/RainMaker/examples/RMakerCustom/RMakerCustom.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const char *service_name = "PROV_1234";
99
const char *pop = "abcd1234";
1010

1111
//GPIO for push button
12-
#if CONFIG_IDF_TARGET_ESP32C3
12+
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
1313
static int gpio_0 = 9;
1414
static int gpio_dimmer = 7;
1515
#else
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"targets": {
3-
"esp32c6": false,
43
"esp32h2": false
54
}
65
}

libraries/RainMaker/examples/RMakerCustomAirCooler/RMakerCustomAirCooler.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
const char *service_name = "PROV_1234";
1212
const char *pop = "abcd1234";
1313

14-
#if CONFIG_IDF_TARGET_ESP32C3
14+
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
1515
//GPIO for push button
1616
static int gpio_reset = 9;
1717
//GPIO for virtual device
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"targets": {
3-
"esp32c6": false,
43
"esp32h2": false
54
}
65
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22 "targets": {
3-
"esp32c6": false,
43
"esp32h2": false
54
}
65
}

libraries/RainMaker/examples/RMakerSwitch/RMakerSwitch.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const char *service_name = "PROV_1234";
99
const char *pop = "abcd1234";
1010

1111
// GPIO for push button
12-
#if CONFIG_IDF_TARGET_ESP32C3
12+
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6
1313
static int gpio_0 = 9;
1414
static int gpio_switch = 7;
1515
#else
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"targets": {
3-
"esp32c6": false,
43
"esp32h2": false
54
}
65
}

0 commit comments

Comments
 (0)
0