mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-15 13:50:02 +00:00
- boards/**/zephcore.yml: one manifest per board/preset (release roles, variants, catalog metadata, capabilities); scripts/board_manifest.py validates and serves them to build.sh, gen_provider_catalog.py and docs/supported_boards.md - cmake/zephcore_board.cmake: board dir -> platform, shared by app and sysbuild; removes the board-name regex lists and 7 separate globs - conf chain: exact-name role/debug classification checked against Kconfig, idempotent across non-pristine reconfigures, version string single-sourced (BT DIS rev generated), day-granular build epoch - Doom easter egg: Kconfig default for the wio_tracker_l1 companion instead of a build.sh-only flag - catalog: maker for the LR2021 EVK (KeyError before); CI installs PyYAML - user -DEXTRA_DTC_OVERLAY_FILE overlays now take precedence over derived overlays Verified: identical .config, DTS and source lists for 97 board/role configs; identical images for 4 reference builds; identical build.sh command/artifact set and catalog content.
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
# ZephCore Sysbuild Configuration
|
|
# Enables the MCUboot bootloader whenever --sysbuild is passed. Used by the
|
|
# ESP32-S3/C-series release builds (companion and repeater: MCUboot @ 0x0, app
|
|
# @ 0x10000) and by any build with wifi_ota.conf. Classic ESP32, nRF52, nRF54L,
|
|
# MG24 and STM32WL builds do not use --sysbuild.
|
|
|
|
SB_CONFIG_BOOTLOADER_MCUBOOT=y
|
|
SB_CONFIG_MCUBOOT_MODE_OVERWRITE_ONLY=y
|
|
|
|
# Explicit since Zephyr 4.5: 51ef282b5f1 moved Espressif sysbuild to the generic
|
|
# MCUboot defaults, whose signature type is RSA. That silently turned the
|
|
# bootloader into an RSA-2048 verifier keyed to MCUboot's public development
|
|
# key -- no real security, ~19 KB of mbedTLS/PSA that overflowed the 64 KB
|
|
# MCUboot slot on several boards (the app written at 0x10000 then overwrites
|
|
# the bootloader's tail), and a bootloader that rejects the hash-only images
|
|
# every deployed ESP32 node and WiFi-OTA update uses. NONE = hash check only,
|
|
# exactly what v4.4 built. Moving to real signing (own key) is a separate
|
|
# decision with OTA consequences.
|
|
SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE=y
|