nihalpasham / rustBoot

rustBoot is a standalone bootloader written entirely in `Rust`, designed to run on anything from a microcontroller to a system on chip. It can be used to boot into bare-metal firmware or Linux.
MIT License
214 stars 21 forks source link

Add support for STM32F469 MCU in examples (closes #64) #65

Closed lionelains closed 2 years ago

lionelains commented 2 years ago

This PR allows running rustBoot and its example upgrade flow on the STM32F469-IDISCO board.

On this board, the sample rustBoot flash upgrade process is as follows: (it is executed when issuing cargo stm32f469 build-sign-flash rustBoot 1234 1235 from the command line)

Note
When I mention color LEDs above, I mean the front LEDs (next to the LCD screen) of the STM32F469-IDISCO board.

imrank03 commented 2 years ago

Acknowledged

lionelains commented 2 years ago

Hi @imrank03, yes, sure, I am going to propose an update to the doc as well...

Also, I think STM32 examples would benefit from factoring the flash lock/unlock/erase etc. part into a dedicated file.

imrank03 commented 2 years ago

Hello @lionelains, sounds good! I am working on that.