We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f907f0 commit af76ef6Copy full SHA for af76ef6
drivers/gpio/gpio_esp32.c
@@ -44,8 +44,8 @@ LOG_MODULE_REGISTER(gpio_esp32, CONFIG_LOG_DEFAULT_LEVEL);
44
#define out_w1tc out_w1tc.val
45
/* arch_curr_cpu() is not available for riscv based chips */
46
#define ESP32_CPU_ID() 0
47
-#elif defined(CONFIG_SOC_SERIES_ESP32C6)
48
-/* gpio structs in esp32c6 are also different */
+#elif defined(CONFIG_SOC_SERIES_ESP32C6) || defined(CONFIG_SOC_SERIES_ESP32H2)
+/* gpio structs in esp32c6/h2 are also different */
49
#define out out.out_data_orig
50
#define in in.in_data_next
51
#define out_w1ts out_w1ts.val
0 commit comments