- ST7735 SPI-Treiber (80x160, 5x7-Font) mit Debug-Panel (5MIN/FRM/DROP/SRC/FREE/CH) - SPI2_HOST statt SPI1_HOST (SPI1 = Flash-reserviert auf ESP32-C5) - xTaskCreate statt xTaskCreatePinnedToCore (C5 ist Single-Core) - SD-Karte (SPI 1-bit, 32 GB, FAT32) + Flash-storage-Fallback - Serial-REPL: stats, seron, seroff, reboot - APA102 RGB-Status-LED (blau=boot, gruen=armed, rot=fehler) - Build: ESP-IDF v6.1-dev, RISC-V, ~920 KB Replaced old block1-4 prototype with full modular firmware.
22 lines
699 B
C
22 lines
699 B
C
#pragma once
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Undocumented private PHY APIs, provided by esp_phy (libphy.a) in the
|
|
* 6.x-series ESP-IDF builds. They expose the C-ITS / 802.11p radio mode on
|
|
* the 5.9 GHz band that the public WiFi API does not reach.
|
|
*
|
|
* phy_11p_set(1, 0) -> enable the 11p / C-ITS PHY path
|
|
* phy_change_channel(5900,1,0,0) -> centre-frequency to 5.9 GHz
|
|
*
|
|
* Both resolve from esp_phy's C5 libphy.a at link time (phy_feature.o /
|
|
* phy_api.o). Not present in stable IDF 5.5 — build with a 6.x-series IDF.
|
|
*/
|
|
void phy_11p_set(int enable, int arg0);
|
|
void phy_change_channel(int freq_mhz, int arg0, int arg1, int arg2);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|