mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17708 from krzysztof-cabaj/add-cpy2remed
boards/nucleo-f334r8 f429zi and f446ze: enable cpy2remed programmer
This commit is contained in:
commit
1f2626e474
@ -1,2 +1,8 @@
|
|||||||
|
#variable needed by cpy2remed PROGRAMMER
|
||||||
|
#it contains name of ST-Link removable media
|
||||||
|
DIR_NAME_AT_REMED = "NODE_F334R8"
|
||||||
|
|
||||||
|
PROGRAMMERS_SUPPORTED += cpy2remed
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
include $(RIOTBOARD)/common/nucleo64/Makefile.include
|
||||||
|
@ -52,6 +52,9 @@ STM32F334R8 microcontroller with 12Kb of RAM and 64Kb or ROM.
|
|||||||
|
|
||||||
|
|
||||||
## Flashing the device
|
## Flashing the device
|
||||||
|
|
||||||
|
### Flashing the Board Using OpenOCD
|
||||||
|
|
||||||
The ST Nucleo-F334R8 board includes an on-board ST-LINK V2 programmer.
|
The ST Nucleo-F334R8 board includes an on-board ST-LINK V2 programmer.
|
||||||
The easiest way to program the board is to use OpenOCD. Once you have
|
The easiest way to program the board is to use OpenOCD. Once you have
|
||||||
installed
|
installed
|
||||||
@ -66,6 +69,18 @@ and debug via GDB by simply typing
|
|||||||
BOARD=nucleo-f334r8 make debug
|
BOARD=nucleo-f334r8 make 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-f429zi PROGRAMMER=cpy2remed flash
|
||||||
|
```
|
||||||
|
@note This PROGRAMMER requires ST-LINK firmware 2.37.26 or newer. Firmware updates
|
||||||
|
could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html).
|
||||||
|
|
||||||
## Supported Toolchains
|
## Supported Toolchains
|
||||||
For using the ST Nucleo-F334R8 board we strongly recommend the usage of the
|
For using the ST Nucleo-F334R8 board we strongly recommend the usage of the
|
||||||
|
@ -1,2 +1,9 @@
|
|||||||
|
#variable needed by cpy2remed PROGRAMMER
|
||||||
|
#it contains name of ST-Link removable media
|
||||||
|
DIR_NAME_AT_REMED = "NODE_F429ZI"
|
||||||
|
|
||||||
|
PROGRAMMERS_SUPPORTED += cpy2remed
|
||||||
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo-144 boards
|
# load the common Makefile.include for Nucleo-144 boards
|
||||||
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
||||||
|
@ -2,4 +2,21 @@
|
|||||||
@defgroup boards_nucleo-f429zi STM32 Nucleo-F429ZI
|
@defgroup boards_nucleo-f429zi STM32 Nucleo-F429ZI
|
||||||
@ingroup boards_common_nucleo144
|
@ingroup boards_common_nucleo144
|
||||||
@brief Support for the STM32 Nucleo-F429ZI
|
@brief Support for the STM32 Nucleo-F429ZI
|
||||||
|
|
||||||
|
|
||||||
|
## Flashing the device
|
||||||
|
|
||||||
|
### 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-f429zi PROGRAMMER=cpy2remed flash
|
||||||
|
```
|
||||||
|
@note This PROGRAMMER requires ST-LINK firmware 2.37.26 or newer. Firmware updates
|
||||||
|
could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html).
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -1,2 +1,8 @@
|
|||||||
|
#variable needed by cpy2remed PROGRAMMER
|
||||||
|
#it contains name of ST-Link removable media
|
||||||
|
DIR_NAME_AT_REMED = "NODE_F446ZE"
|
||||||
|
|
||||||
|
PROGRAMMERS_SUPPORTED += cpy2remed
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo-144 boards
|
# load the common Makefile.include for Nucleo-144 boards
|
||||||
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
||||||
|
@ -51,6 +51,8 @@ STM32F446ZE microcontroller with 128Kb of RAM and 512Kb of ROM Flash.
|
|||||||
|
|
||||||
## Flashing the device
|
## Flashing the device
|
||||||
|
|
||||||
|
### Flashing the Board Using OpenOCD
|
||||||
|
|
||||||
The ST Nucleo-F446ZE board includes an on-board ST-LINK V2 programmer. The
|
The ST Nucleo-F446ZE board includes an on-board ST-LINK V2 programmer. The
|
||||||
easiest way to program the board is to use OpenOCD. Once you have installed
|
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
|
OpenOCD (look [here](https://github.com/RIOT-OS/RIOT/wiki/OpenOCD) for
|
||||||
@ -64,6 +66,19 @@ and debug via GDB by simply typing
|
|||||||
make BOARD=nucleo-f446ze debug
|
make BOARD=nucleo-f446ze 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-f446ze PROGRAMMER=cpy2remed flash
|
||||||
|
```
|
||||||
|
@note This PROGRAMMER requires ST-LINK firmware 2.37.26 or newer. Firmware updates
|
||||||
|
could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html).
|
||||||
|
|
||||||
## Supported Toolchains
|
## Supported Toolchains
|
||||||
|
|
||||||
For using the ST Nucleo-F446ZE board we strongly recommend the usage of the
|
For using the ST Nucleo-F446ZE board we strongly recommend the usage of the
|
||||||
|
Loading…
Reference in New Issue
Block a user