stm32: generate memory image from elf for dfu bootloader to download #33

Merged
sb10q merged 1 commits from harry/nix-scripts:stm32-dfu into master 2020-09-17 12:58:29 +08:00

This should generate the firmware memory image from the ELF compiled in Rust, and put this output for Hydra.

This .bin file can then be flashed to the STM32 device like this:

$ dfu-util -D stabilizer.bin -a 0 -s 0x08000000:leave
This should generate the firmware memory image from the ELF compiled in Rust, and put this output for Hydra. This .bin file can then be flashed to the STM32 device like this: ```sh $ dfu-util -D stabilizer.bin -a 0 -s 0x08000000:leave ```
sb10q closed this pull request 2020-09-17 12:58:29 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nix-scripts#33
There is no content yet.