Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.08 KB

Readme.md

File metadata and controls

29 lines (23 loc) · 1.08 KB

#Template project for milandr-K1986BE92QI (arm cortex m3) in VS CODE.

##What should be installed

##How build Run make relatively on makefile make COMPILER_DIRS={path to arm-none-eabi-gcc directory}

How to program

Run relatively on makefile

openocd -f interface/stlink-v2.cfg -c "transport select hla_swd" -f target/mdr32f9q2i.cfg -c "program ./build/app.elf verify reset exit"

##How to debug in vs code

  1. install Native Debug plugin.
  2. In .vscode folder fix path to arm-none-eabi-gdb
  3. run Openocd:
openocd -f interface/stlink-v2.cfg -c "transport select hla_swd" -f target/mdr32f9q2i.cfg
  1. In vs code click to start debugging.

##What have this template