From fdc7d655ea8db993b67ce8d34e693c5e6a821053 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Fri, 17 Jun 2022 03:21:40 -0400 Subject: [PATCH] boards/nucleo-l412kb: add board short description and flashing command --- boards/nucleo-l412kb/doc.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/boards/nucleo-l412kb/doc.txt b/boards/nucleo-l412kb/doc.txt index dad933a818..cd379d8578 100644 --- a/boards/nucleo-l412kb/doc.txt +++ b/boards/nucleo-l412kb/doc.txt @@ -2,4 +2,23 @@ @defgroup boards_nucleo-l412kb STM32 Nucleo-L412KB @ingroup boards_common_nucleo32 @brief Support for the STM32 Nucleo-L412KB + +## Overview + +The Nucleo-L412KB is a board from ST's Nucleo family supporting ARM-Cortex-M4 +STM32L412KB microcontroller with 40KiB of RAM and 128KiB 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-l412kb 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). + */