-
Notifications
You must be signed in to change notification settings - Fork 26
Visual Studio Code
mikisama edited this page Aug 16, 2022
·
5 revisions
- Install VSCode.
- Start VSCode and install C/C++ extension.
- Open project directory
(File->Open Folder ...). - Edit
.vscode/task.json."options": { "env": { /* make sure your toolchain path is correct */ "path": "D:/v850-elf-gcc-win32-x64/bin;C:/Program Files (x86)/Renesas Electronics/Programming Tools/Renesas Flash Programmer V3.08;${env:path}" } }
- Run VSCode task
(Terminal->Run Task->CMake Generate->GCC->Debug).

Your workspace is ready!
Terminal->Run Task-> and the Build, Clean, Erase and Download development commands are available.
Ctrl+Shift+B is the shortcut for building.
Currently, VSCode has better intelligent hints support for GCC.
Using other toolchains may require manually editing the c_cpp_properties.json for better intelligent hints support.