- Visual Studio Code
- GNU Arm Embedded Toolchain 7-2017-q4-major
- GNU MCU Eclipse Windows Build Tools v2.10-20180103
- GNU MCU Eclipse OpenOCD v0.10.0-7-20180123
- Install Visual Studio Code and install the two addons.
- Install the Toolchain to
C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major
. - Extract Windows Build Tools and OpenOCD to
C:\Program Files\GNU MCU Eclipse
and ensure thatC:\Program Files\GNU MCU Eclipse\Build Tools\2.10-20180103-1919\bin
is in your path. - Place the
c_ccp_properties.json
,launch.json
andtasks.json
-files in the.vscode
-folder and edit your global settings accordingly tosettings.json
. - Start Debuging.
This file is used for code completion. It's basically an image of your -I
and -isystem
. Ensure that the includes from the ARM Toolchain are listed here. -D
are also listed here in order syntax highlight if-defs. If you installed your ARM Toolchain in another path, you need to adapt the includePath
.
This file defines, how the debugger is launched. If you change the executable name, adapt the configuration accordingly.
This file contains settings that should be added to your global settings (CTRL + ,
). The paths to the ARM Toolchain and to OpenOCD are defined here.
This file is used to launch the different makefile-targets through Tasks. This requires that make
is in your path.