From 6a0484fd52253cb7329a30e9528ac7045ee9cc17 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Mon, 8 Aug 2022 11:51:46 -0400 Subject: [PATCH] boards/nucleo-l452re: add cpy2remed flashing commands --- boards/nucleo-l452re/doc.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/boards/nucleo-l452re/doc.txt b/boards/nucleo-l452re/doc.txt index d8f9735022..36aa4a5ceb 100644 --- a/boards/nucleo-l452re/doc.txt +++ b/boards/nucleo-l452re/doc.txt @@ -2,4 +2,23 @@ @defgroup boards_nucleo-l452re STM32 Nucleo-L452RE @ingroup boards_common_nucleo64 @brief Support for the STM32 Nucleo-L452RE + +## Overview + +The Nucleo-L452RE is a board from ST's Nucleo family supporting ARM Cortex-M4 +STM32L452RE microcontroller with 160KiB or RAM and 512KiB of Flash. + +## 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-l452re PROGRAMMER=cpy2remed flash +``` +@note This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates +can be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html). + */