The Wayback Machine - https://web.archive.org/web/20210107043045/https://github.com/reneherrero/nucleo-l432kc-quickstart
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

nucleo-l432kc-quickstart

ci license

Hardware

  • NUCLEO-L432KC STM32 Nucleo-32 development board with STM32L432KC MCU

NUCLEO-L432KC Pinout

  • Configure udev rules for the embedded ST-Link v2-1
# download the OpenOCD rules file and copy it to the right location
wget -O 60-openocd.rules https://sf.net/p/openocd/code/ci/master/tree/contrib/60-openocd.rules?format=raw
sudo cp 60-openocd.rules /etc/udev/rules.d

# ask the udev daemon to reload these rules
sudo udevadm control --reload

Dependencies for Debian Buster

  • VS Code with the Rust and Cortex-Debug add-ins If you have the code command in your path, you can run the following commands to install the necessary extensions.
code --install-extension rust-lang.rust
code --install-extension marus25.cortex-debug
  • The thumbv7em-none-eabihf Rust target
rustup target add thumbv7em-none-eabihf
  • OpenOCD
sudo apt-get install openocd
  • GDB
# or gdb-arm-none-eabi on some other Linux distros
sudo apt-get install gdb-multiarch

# workaround: the current version of the cortex-debug doesn't allow you to specify the name of the gdb executable
sudo ln -s /usr/bin/gdb-multiarch /usr/bin/arm-none-eabi-gdb

Run and Debug

Just put a breakpoint where you want it and press F5

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

NUCLEO-L432KC Enbedded Rust Quickstart

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.