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.
9 lines
414 B
C++
9 lines
414 B
C++
#pragma once
|
|
// Keep the test logger a function call so unused firmware format arguments are
|
|
// still type-checked and the production TAG is referenced.
|
|
template <typename... Args> inline void testLog(const char *, const char *, Args...) {}
|
|
#define ESP_LOGD(...) testLog(__VA_ARGS__)
|
|
|
|
#define ESP_LOGE(...) testLog(__VA_ARGS__)
|
|
#define ESP_LOGW(...) testLog(__VA_ARGS__)
|
|
#define ESP_LOGI(...) testLog(__VA_ARGS__)
|