STM32 Nucleo-L4R5ZI

Support for the STM32 Nucleo-L4R5ZI. More...

Detailed Description

Support for the STM32 Nucleo-L4R5ZI.


The Nucleo-L4R5ZI is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32L4R5ZI microcontroller with 640KiB of RAM and 2MiB of ROM Flash.

Flashing the device

Flashing the Board Using OpenOCD

The ST Nucleo-L4R5ZI board includes an on-board ST-LINK programmer and can be flashed using OpenOCD.

The latest release of OpenOCD doesn't contain support for this board, so a recent development version (including must be built from source to be able to flash this board.

To flash this board, just use the following command:

make BOARD=nucleo-l4r5zi flash -C examples/hello-world

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-l4r5zi PROGRAMMER=cpy2remed flash
This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates could be found on this STM webpage.


STDIO is available via the ST-Link programmer.

Use the term target to open a terminal:

make BOARD=nucleo-l4r5zi -C examples/hello-world term


file  periph_conf.h
 Peripheral MCU configuration for the nucleo-l4r5zi board.