Skip to content

Instantly share code, notes, and snippets.

@ADKaster
Created July 9, 2020 02:21
Show Gist options
  • Save ADKaster/d95f1befda51af83e0a443c66ecd87e6 to your computer and use it in GitHub Desktop.
Save ADKaster/d95f1befda51af83e0a443c66ecd87e6 to your computer and use it in GitHub Desktop.
VsCode C/C++ Extension configuration
{
"configurations": [
{
"name": "ARM",
"includePath": [
"${workspaceFolder}/projects/lpc40xx_freertos/**",
"${workspaceFolder}/projects/lpc40xx_freertos/l1_freertos/portable/gcc/arm_cm4f"
],
"defines": [],
"compilerPath": "${workspaceRoot}/toolchains/linux/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gcc",
"cStandard": "c99",
"cppStandard": "c++11",
"intelliSenseMode": "clang-x64",
"compilerArgs": [
"-fmessage-length=0",
"-ffunction-sections",
"-fdata-sections",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard"
],
"browse": {
"path": [
"${workspaceFolder}/projects/lpc40xx_freertos/**"
],
"limitSymbolsToIncludedHeaders": true
}
},
{
"name": "Host",
"includePath": [
"${workspaceFolder}/projects/lpc40xx_freertos/unittest_header_overrides",
"${workspaceFolder}/projects/lpc40xx_freertos/**",
"${workspaceFolder}/site_scons/site_tools/unittest/throw_the_switch/unity/v2.5.0/src",
"${workspaceFolder}/site_scons/site_tools/unittest/throw_the_switch/cexception/v1.3.1/lib",
"${workspaceFolder}/_build_lpc40xx_freertos/test/**"
],
"defines": [
"UNIT_TEST=1",
"UNITY_OUTPUT_COLOR=1"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c99",
"cppStandard": "c++11",
"intelliSenseMode": "clang-x64",
"compilerArgs": []
}
],
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment