

json file for attach to target and assign another short-cut key to it. In the above configurations we only add the option "request": "launch", but if you wish to attach to a running target you can simply change this by set it to "request": "attach".

Visual Studio Code is a good freeware alternative to Eclipse based development environments when you add and set the extensions for debugging and compiling. On the left panel(Debug Panel) you will find all the relevant information for debugging your project(Variables, Watch.call stack, breakpoints, peripherals registers and cortex registers). You can now run a debug session by Pressing F5 or from the Debug Menu → Start debugging. To get the Start_emPower.elf go to BSP/SEGGER/K66FN2M0_emPower and build the Start_SEGGER_emPower.emProject using SEGGER Embedded Studio. svd files, extract the Keil.Kinetis_K60_DFP.1.5.0.pack and copy the SVD folder into the main project folder. vscode folder within your project folder. The launch.json file will be created under. Then press F1(to show all commands), type “launch” and select “Debug:Open launch.json” from the drop-down list.Īfterward, you will be prompted to select the environment.

Under File menu select Open Folder and select the EMPower project folder that you previously downloaded and extracted. Once you installed Visual Studio Code and the above plugins, start by opening Visual Studio Code. Note: from the above list download the packages according to your OS.
