mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-11-20 15:52:12 +01:00
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.
11 lines
227 B
C
11 lines
227 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
struct TestSPI {
|
|
bool active = false;
|
|
unsigned int starts = 0;
|
|
unsigned int stops = 0;
|
|
void begin(int8_t sck, int8_t miso, int8_t mosi, int8_t cs);
|
|
void end();
|
|
};
|
|
extern TestSPI SPI;
|