Sample: the M5Stamp-C3, the shell over WiFi, and the control lines wired

overlay-wifi.conf puts the shell on telnet on any ESP32. At boot it joins
the network stored in flash with `wifi cred add`, and rejoins it after a
drop, for a board out under the sky with no USB.

The M5Stamp-C3 (ESP32-C3, RISC-V) has an overlay: the modem on uart1,
GPIO4 and GPIO5, with P_EN, I_EN and I_BTD on GPIO10, 6 and 7. Its RGB
LED, driven by spi2 on GPIO2, shows the modem's state, and its button
begins, asks for the signal and ends. docs/boards/stamp_c3.md has the
pins, the WiFi commands and the LED's colours. So far it has run WiFi
and telnet, not yet the modem.

The ESP32-S3-DevKitC, ESP32 DevKitC and NUCLEO-U575ZI-Q overlays now
wire the three control lines as well; the table is in docs/TESTING.md.

The README gives the Gitea home and the GitHub mirror, and the boards
as a table of CPU and what each has run.
This commit is contained in:
scottp committed 2026-10-25 13:54:09 +11:00
1 parent f97fcab74b
commit d08364ce58
16 files changed
+759 -10

No files matched your search

+10
View File
@@ -2,6 +2,16 @@
## Unreleased
- The shell sample over WiFi: `overlay-wifi.conf` puts the shell on
telnet on any ESP32, joining the network `wifi cred add` stored in
flash at boot and rejoining it after a drop.
- The shell sample on the M5Stamp-C3 (ESP32-C3, RISC-V): the modem on
`uart1`, GPIO4 and GPIO5. Its RGB LED shows the modem's state and its
button begins, asks for the signal and ends. `docs/boards/stamp_c3.md`
has its pins, the WiFi commands and the LED's colours.
- The sample's overlays for the M5Stamp-C3, ESP32-S3-DevKitC, ESP32
DevKitC and NUCLEO-U575ZI-Q wire P_EN, I_EN and I_BTD; the wiring table
is in `docs/TESTING.md`.
- `rb9704_cancel()` and `rb9704 cancel`: ask the modem to abandon the
message in flight; `mo_done` then reports `-ECANCELED`. The status
snapshot carries the in-flight message's id and start time. The fake