Skip to content

RolfNoot/PSoC6VScodeTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSoC6 Dual Core Project for VS Code

  1. Prerequisites

  2. VS Code Extensions

    • ARM Support For Visual Studio Code (dan-c-underwood)
    • C/C++ IntelliSense, debugging (microsoft)
    • CMake language support (twxs)
    • CMake Tools (microsoft)
    • Cortex-Debug GDB support (marus25)
    • LinkerScript support for GNU (Zixuan Wang)
    • Open in Application (Fabio Spampinato)
    • Output Colorizer (IBM)
    • Tasks (actboy168)
  3. Configure

    • Command Palette (CTRL+SHIFT+P) > type: JSON > Click Preferences: Open Settings (JSON)
    • Add the following lines to the VS Code User settings:
    "C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools",
    "C_Cpp.default.compilerPath": "arm-none-eabi-gcc",
    "C_Cpp.loggingLevel":"Debug",
    // Location of the cmake executable
    "cmake.cmakePath": "/Applications/CMake.app/Contents/bin/cmake",
    //"cmake.cmakePath": "C:/Program Files/CMake/bin/cmake.exe",
    // Location of the OpenOCD executable
    "cortex-debug.openocdPath": "/Applications/ModusToolbox_1.1/tools/openocd-2.1/bin/openocd",
    //"cortex-debug.openocdPath": "C:/ModusToolbox_1.1/tools/openocd-2.01/bin/openocd.exe",
    // Location of the JLink GDB Server (if used)
    "cortex-debug.JLinkGDBServerPath": "/Applications/SEGGER/JLink_V644f/JLinkGDBServerCLExe",
    "cmake.configureOnOpen": true,
    "cmake.sourceDirectory": "${workspaceRoot}"
    
  4. Check

    • if make is installed by typing 'make -v' (or mingw32-make.exe -v) into the terminal window of VS Code (the folder of the make binary needs to be added to the system's path variable)
  5. Remind

    • after changing the device configuration to use

      • Clean Reconfigure
      • Clean Rebuild

      in order to build the image properly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published