From cdf1db1c4197f76cf2dd876e3c8a27c807acb7fd Mon Sep 17 00:00:00 2001 From: Mumtahin Farabi Date: Tue, 12 May 2026 00:23:26 -0400 Subject: feat(firmware): scaffold setup Signed-off-by: Mumtahin Farabi --- firmware/boards/walter_esp32s3_procpu.conf | 15 +++++++++++++++ firmware/boards/walter_esp32s3_procpu.overlay | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 firmware/boards/walter_esp32s3_procpu.conf create mode 100644 firmware/boards/walter_esp32s3_procpu.overlay (limited to 'firmware/boards') 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; + }; +}; -- cgit v1.3