From 18f3b1d31cb561b29eeea7e43798acbf02b178d8 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Wed, 15 Jun 2022 04:15:35 -0400 Subject: [PATCH] boards/nucleo-f031k6: add board overview and info about flashing --- boards/nucleo-f031k6/doc.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/boards/nucleo-f031k6/doc.txt b/boards/nucleo-f031k6/doc.txt index c355585b5d..916d9b7fcf 100644 --- a/boards/nucleo-f031k6/doc.txt +++ b/boards/nucleo-f031k6/doc.txt @@ -2,4 +2,23 @@ * @defgroup boards_nucleo-f031k6 STM32 Nucleo-F031K6 * @ingroup boards_common_nucleo32 * @brief Support for the STM32 Nucleo-F031K6 + +## Overview + +The Nucleo-F031K6 is a board from ST's Nucleo family supporting ARM Cortex-M0 +STM32F031K6 microcontroller with 4kB of RAM and 64kB 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-f031k6 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). + */