Skip to content

Boards notes STM32L432KC

Fanda Vacek edited this page Jan 15, 2018 · 4 revisions

STM32L432KC

compile

cd /home/fanda/proj/nx/nuttx
make distclean
./tools/configure.sh nucleo-l432kc/nsh
make menuconfig # select GNU ARM tool-chain
make

run openOCD

cd ~/proj/openocd/openocd-code/tcl
~/proj/openocd/build/src/openocd -f interface/stlink.cfg -f target/stm32l4x.cfg

connect to openOCD

telnet localhost 4444

command openOCD via telnet to flash device

> program /home/fanda/proj/nx/nuttx/nuttx verify reset

connect to serial console (press ENTER twice to show prompt)

minicom -D /dev/ttyACM0 
Clone this wiki locally