diff --git a/boards/nucleo-l152re/doc.txt b/boards/nucleo-l152re/doc.txt index 28a32175ad..d654d46dd0 100644 --- a/boards/nucleo-l152re/doc.txt +++ b/boards/nucleo-l152re/doc.txt @@ -3,6 +3,11 @@ @ingroup boards_common_nucleo64 @brief Support for the STM32 Nucleo-L152RE +## Overview + +The Nucleo-L152RE is a board from ST's Nucleo family supporting a ARM +Cortex-M3 STM32L152RE microcontroller with 80KiB of RAM and 512KiB of Flash. + ## Hardware ![Nucleo64 L152RE](http://www.open-electronics.org/wp-content/uploads/2015/08/Figura2-500x467.png) @@ -51,11 +56,26 @@ For using the Nucleo-L152RE board we strongly recommend the usage of the [GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded) toolchain. -### OpenOCD +## Flashing the device + +### Flashing the Board Using OpenOCD Please use an OpenOCD version checked out after Jan. 26th 2015. Building instructions can be found [here](https://github.com/RIOT-OS/RIOT/wiki/OpenOCD). +### 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-l152re PROGRAMMER=cpy2remed flash +``` +@note This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates +could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html). + ## Using UART Using the UART isn't too stable right now. For some using the USB interface