/esc-rs

Primary LanguageRustGNU General Public License v3.0GPL-3.0

esc-rs

target hardware

stm32f302r8

debug

# openocd -f board/st_nucleo_f3.cfg -f interface/stlink-v2-1.cfg
cargo install itm # only when not installed
mkfifo itm.fifo # only when not exists
itmdump -f itm.fifo
openocd -f openocd.cfg
sh picocom.sh # to start serial
arm-none-eabi-gdb -x openocd.gdb target/thumbv7em-none-eabihf/debug/esc-rs

ports

User LD2: (Arduino D13) PB13 ( PIN 34 ) User B1: PC13 ( PIN 2 ) USART: USART2 PA2 PA3