forked from EmbeddedTeam/app_photomagnetic
Implement device firmware upgrade using MCUboot Serial Recovery over usart1 (reusing the existing protocol UART). The application layer handles upgrade commands (0xFF) to trigger bootloader entry, while MCUboot manages the actual firmware swap with RSA signature verification. Key additions: - sysbuild.conf to enable MCUboot bootloader with signing key - mcuboot.conf with serial recovery and watchdog feed settings - Kconfig option APP_DFU (default y) with conditional compilation - dfu.cpp module for DFU initialization - Upgrade command callback in com.hpp (bootmode_set + sys_reboot) - Documentation for upgrade procedures and change notes
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
manifest:
|
|
projects:
|
|
- import:
|
|
name-allowlist:
|
|
- cmsis_6
|
|
- hal_stm32
|
|
- hal_ti
|
|
- mcuboot
|
|
- zcbor
|
|
- mbedtls
|
|
- tf-psa-crypto
|
|
path-prefix: extern
|
|
name: zephyr
|
|
path: zephyr
|
|
remote: zephyr
|
|
revision: v4.4.0
|
|
- name: etl
|
|
path: modules/etl
|
|
remote: robotstorm
|
|
revision: master
|
|
- name: uart_com
|
|
path: modules/uart_com
|
|
remote: robotstorm
|
|
revision: main
|
|
- name: zpp
|
|
path: modules/zpp
|
|
remote: robotstorm
|
|
revision: dev
|
|
- name: dr2501a
|
|
path: boards/dr2501a
|
|
remote: robotstorm
|
|
revision: main
|
|
- name: led_strip_indicator
|
|
path: modules/led_strip_indicator
|
|
remote: robotstorm
|
|
revision: main
|
|
- name: godtek_temp
|
|
path: modules/godtek_temp
|
|
remote: robotstorm
|
|
revision: main
|
|
- name: ch9438
|
|
path: modules/ch9438
|
|
remote: robotstorm
|
|
revision: dev
|
|
# - name: heading_pad
|
|
# path: modules/heading_pad
|
|
# revision: main
|
|
# url: undefined
|
|
remotes:
|
|
- name: zephyr
|
|
url-base: https://gitcode.com/gh_mirrors/ze
|
|
- name: robotstorm
|
|
url-base: https://git.robotstorm.tech/EmbeddedTeam
|
|
self:
|
|
west-commands: scripts/west-commands.yml
|