summaryrefslogtreecommitdiff
path: root/firmware/boards
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/boards')
-rw-r--r--firmware/boards/walter_esp32s3_procpu.conf15
-rw-r--r--firmware/boards/walter_esp32s3_procpu.overlay19
2 files changed, 34 insertions, 0 deletions
diff --git a/firmware/boards/walter_esp32s3_procpu.conf b/firmware/boards/walter_esp32s3_procpu.conf
new file mode 100644
index 0000000..2208466
--- /dev/null
+++ b/firmware/boards/walter_esp32s3_procpu.conf
@@ -0,0 +1,15 @@
+# Walter-specific Kconfig overrides — only applied when building for
+# walter/esp32s3/procpu (auto-discovered by Zephyr's build system).
+
+# Required for the v3_3_regulator node in walter_esp32s3_procpu.overlay.
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED=y
+
+# Cellular networking and TLS go here as we add them. Examples:
+# CONFIG_NETWORKING=y
+# CONFIG_NET_NATIVE=y
+# CONFIG_NET_L2_PPP=y
+# CONFIG_MODEM=y
+# CONFIG_MODEM_CELLULAR=y
+# CONFIG_MBEDTLS_ENABLE_HEAP=y
+# CONFIG_MBEDTLS_HEAP_SIZE=10240
diff --git a/firmware/boards/walter_esp32s3_procpu.overlay b/firmware/boards/walter_esp32s3_procpu.overlay
new file mode 100644
index 0000000..e500c05
--- /dev/null
+++ b/firmware/boards/walter_esp32s3_procpu.overlay
@@ -0,0 +1,19 @@
+/*
+ * Walter-specific application-level DT additions.
+ *
+ * Walter has a MOSFET on GPIO0 (active-low) that gates the on-board 3.3V
+ * output rail. The rail is OFF at reset; any external sensor wired to V3.3
+ * is unpowered until something asserts this GPIO. Modeled as a regulator-fixed
+ * with regulator-boot-on so Zephyr's regulator framework enables it during
+ * kernel init, before driver init runs.
+ */
+
+/ {
+ v3_3_regulator: v3_3-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "walter-3v3-output";
+ enable-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+};