obu-firmware builds against vanetza-idf from microbu-esp32c5/external, but that tree was gitignored, so a clone of this repository could not build the firmware it ships. It is now committed here as ordinary files in its own folder, microbu-esp32c5/: the colleague's commit cf4b99f plus the V2X2MAP bridge's signature verification (--trust) used on the bench. Nothing is fetched from or pushed to the colleague's repository; this repository and its remotes carry everything. The folder's own .gitignore keeps build output, downloaded components and private key material out, as it did there; the committed file set is identical to that repository's tracked files. The ESP32-C5 is still flashed from obu-firmware/, which only takes vanetza-idf from microbu-esp32c5/, so the two stay separate folders. FLASHING.md says how to take a newer version of the colleague's tree (copy it over the folder, rebuild, test, commit).
24 lines
945 B
C
24 lines
945 B
C
#pragma once
|
|
|
|
// Sourced from OpenTrafficMap's its-g5-receiver-firmware_txenabled, main/tx_custom.h
|
|
// (https://codeberg.org/opentrafficmap/its-g5-receiver-firmware_txenabled, pinned commit
|
|
// 674e34128279235ba34c9f8d778f43cf1d075397, no stated license). That project reverse-engineered
|
|
// this ESP32-C5 ROM/libphy entry point -- it is not documented or supported by Espressif.
|
|
// See experiments/evidence/c5-radio-characterization/phy-internals-investigation.md for what
|
|
// this repository independently verified (by disassembling libphy.a) versus what is still an
|
|
// unverified upstream guess.
|
|
|
|
#include "esp_wifi.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
esp_err_t esp_wifi_80211_tx_custom(wifi_interface_t ifx, const void *buffer, int32_t len,
|
|
bool en_sys_seq, wifi_tx_rate_config_t *tx_rate_config,
|
|
wifi_band_t band, wifi_bandwidth_t bw);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|