diff --git a/boards/nucleo-f042k6/doc.txt b/boards/nucleo-f042k6/doc.txt index b4ca780498..9ed69ced68 100644 --- a/boards/nucleo-f042k6/doc.txt +++ b/boards/nucleo-f042k6/doc.txt @@ -2,4 +2,23 @@ * @defgroup boards_nucleo-f042k6 STM32 Nucleo-F042K6 * @ingroup boards_common_nucleo32 * @brief Support for the STM32 Nucleo-F042K6 + +## Overview + +The Nucleo-F042K6 is a board from ST's Nucleo family supporting ARM Cortex-M0 +STM32F042K6 microcontroller with 6kB of RAM and 32kB 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-f042k6 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). + */