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 0db0799 commit 8a48cd1Copy full SHA for 8a48cd1
drivers/pinctrl/pinctrl_esp32.c
@@ -12,7 +12,12 @@
12
#include <zephyr/drivers/pinctrl.h>
13
#include <zephyr/drivers/pinctrl/pinctrl_esp32_common.h>
14
15
-#ifdef CONFIG_SOC_SERIES_ESP32C3
+#ifdef CONFIG_SOC_SERIES_ESP32C2
16
+#define out out.val
17
+#define in in.val
18
+#define out_w1ts out_w1ts.val
19
+#define out_w1tc out_w1tc.val
20
+#elif CONFIG_SOC_SERIES_ESP32C3
21
/* gpio structs in esp32c3 series are different from xtensa ones */
22
#define out out.data
23
#define in in.data
0 commit comments