ra0sms / milandr-k1986be92QI

Milandr template for vs code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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

About

Milandr template for vs code


Languages

Language:C 97.2%Language:C++ 2.3%Language:Assembly 0.4%Language:Makefile 0.1%Language:Objective-C 0.0%