feat: support headless LILYGO T-Embed CC1101 Plus

Configure the integrated radio power, shared SPI selects, RF path and fixed wiring without changing generic boards. Preload output latches for Arduino 3 and publish radio availability only after register and RX checks succeed. Reuse the existing partition table and protect integrated, USB and PSRAM pins across configuration and GPIO output paths.

Exercise production setup, RX and queue admission methods in a hardware-boundary host harness, run it in CI and document the opt-in build. Keep restore policy, security corrections and release tooling outside this board-only change.
This commit is contained in:
R. Sid Shaytay 2026-11-06 01:19:31 -08:00
parent e873dc8309
commit fdf840a236
22 changed files with 715 additions and 31 deletions

View file

@ -95,6 +95,23 @@ In either mode the socket refuses an upgrade whose `Origin` header doesn't name
## Building
The firmware builds on [pioarduino](https://github.com/pioarduino/platform-espressif32) (Arduino 3.x on ESP-IDF 5.5), not the stock PlatformIO platform. In VS Code use the **pioarduino IDE** extension instead of PlatformIO IDE. On the command line, `pip install pioarduino` gives you `pio`. Run the unit tests with `pio test -e native`. [ADR 0003](docs/adr/0003-pioarduino-idf55.md) explains why.
### Build for LILYGO T-Embed CC1101 Plus
The headless Plus profile uses the board's integrated CC1101 on the 433 MHz RF path,
16 MB flash and 8 MB OPI PSRAM. It fixes the radio pins and reserves the shared
peripheral, USB and flash/PSRAM pins; the display and encoder are not used.
This profile is for the **T-Embed CC1101 Plus**, not the non-Plus board.
```bash
pio run -e lilygo-t-embed-cc1101-plus
pio run -e lilygo-t-embed-cc1101-plus -t buildfs
```
The images are in `.pio/build/lilygo-t-embed-cc1101-plus/`. This environment reuses
`esp32_3MB.csv`. A device with another partition layout needs USB provisioning with
a fresh recovery backup and current rolling codes; firmware-only OTA cannot migrate
the layout. Do not substitute a generic S3 image for this profile.
Bugs and ideas go to the [issues](https://github.com/cjkas/ESPSomfy-RTS/issues); security problems go through [SECURITY.md](SECURITY.md).
## Credits