mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nucleo-f411re: add cpy2remed flashing commands
This commit is contained in:
parent
9dadeea2b9
commit
ceb0f5a3fd
@ -50,6 +50,8 @@ STM32F411RE microcontroller with 128Kb of SRAM and 512Kb of ROM Flash.
|
||||
|
||||
## Flashing the device
|
||||
|
||||
### Flashing the Board Using OpenOCD
|
||||
|
||||
The ST Nucleo-F411RE board includes an on-board ST-LINK V2-1 programmer. The
|
||||
easiest way to program the board is to use OpenOCD. Once you have installed
|
||||
OpenOCD (look [here](https://github.com/RIOT-OS/RIOT/wiki/OpenOCD) for
|
||||
@ -63,6 +65,20 @@ and debug via GDB by simply typing
|
||||
make BOARD=nucleo-f411re debug
|
||||
```
|
||||
|
||||
### Flashing the Board Using ST-LINK Removable Media
|
||||
|
||||
On-board ST-LINK programmer provides via composite USB device removable media.
|
||||
Copying the HEX file causes reprogramming of the board. This task
|
||||
could be performed manually; however, the cpy2remed (copy to removable
|
||||
media) PROGRAMMER script does this automatically. To program board in
|
||||
this manner, use the command:
|
||||
```
|
||||
make BOARD=nucleo-f411re PROGRAMMER=cpy2remed flash
|
||||
```
|
||||
@note This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates
|
||||
could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html).
|
||||
|
||||
|
||||
## Supported Toolchains
|
||||
|
||||
For using the ST Nucleo-F411RE board we strongly recommend the usage of the
|
||||
|
Loading…
Reference in New Issue
Block a user