sdk version: zephyr-sdk-0.16.8
west init -m <this_git_url> app
cd app
west update
support daq_f407vet6 and apollo_h743ii
# build
west build -b daq_f407vet6/apollo_h743ii apps/applications/data_collect --sysbuild
python apps/tools/export_images.py
- build/app.bin: all image(mcuboot+zephyr).
- build/data_collect/zephyr/zephyr.signed.bin: signed image for upgrade.
smp-tool -t udp -d 192.168.12.101 shell interactive
debug tool
cargo-flash --chip STM32F407VETx/STM32H743IITx --binary-format bin --base-address 0x8000000 --path build/app.bin
smp-tool:
smp-tool -t udp -d 192.168.12.101 app flash -u build/data_collect/zephyr/zephyr.signed.bin
python tool:
# mcuboot flash
./tools/smp_upload.py -a 192.168.12.101 --mcuboot build/data_collect/zephyr/zephyr.signed.bin
# app
./tools/smp_upload.py -a 192.168.12.101 build/data_collect/zephyr/zephyr.signed.bin