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).
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
# micrOBU firmware defaults (ESP32-C5, ESP-IDF 6.0.2). vanetza-idf requirements first.
|
|
CONFIG_IDF_TARGET="esp32c5"
|
|
CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
|
CONFIG_COMPILER_CXX_RTTI=y
|
|
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
# Network profile: BTP + GeoNetworking, no facilities codecs (the phone hosts the VBS)
|
|
CONFIG_VANETZA_IDF_PROFILE_NETWORK=y
|
|
CONFIG_VANETZA_IDF_SECURITY=y
|
|
CONFIG_VANETZA_IDF_SECURITY_VERIFY=y
|
|
CONFIG_VANETZA_IDF_NVS_CREDENTIALS=y
|
|
CONFIG_VANETZA_IDF_PKI=n
|
|
CONFIG_VANETZA_IDF_HIL=n
|
|
CONFIG_VANETZA_IDF_RADIO_C5=y
|
|
CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=6
|
|
CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16
|
|
CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=16
|
|
CONFIG_ESP_WIFI_MGMT_SBUF_NUM=16
|
|
# Serial link on the native USB Serial/JTAG port; ESP_LOG is carried as LOG frames
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
|
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
|
|
CONFIG_ESP_PANIC_HANDLER_IRAM=y
|
|
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
|
|
CONFIG_LOG_COLORS=n
|
|
# Station-internal BLE GATT link: NimBLE, maximum ATT value, persistent bonds.
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BT_BLUEDROID_ENABLED=n
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=512
|
|
CONFIG_BT_NIMBLE_SM_SC=y
|
|
CONFIG_BT_NIMBLE_NVS_PERSIST=y
|
|
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
|
|
CONFIG_BT_NIMBLE_MAX_BONDS=1
|
|
CONFIG_BT_NIMBLE_MAX_CCCDS=8
|
|
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT=12
|
|
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_COUNT=12
|
|
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n
|
|
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
|
|
# Hardware ECDSA/ECC/SHA (ACT-030)
|
|
CONFIG_MBEDTLS_HARDWARE_ECC=y
|
|
CONFIG_MBEDTLS_HARDWARE_ECDSA_VERIFY=y
|
|
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
|
CONFIG_MBEDTLS_HARDWARE_AES=n
|