Skip to content

Commit 42bb939

Browse files
committed
MCUXpresso for VS Code update
1 parent 1ac750d commit 42bb939

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 4,
3+
"configurations": [
4+
{
5+
"name": "IntelliSense Configuration",
6+
"compileCommands": [
7+
"${workspaceFolder}/debug/compile_commands.json"
8+
],
9+
"intelliSenseMode": "gcc-arm"
10+
}
11+
]
12+
}

common/mcux_include.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"BOARD": "frdmk22f",
1515
"MCUX_VENV_PATH": "",
1616
"PATH": "$env{MCUX_VENV_PATH}${pathListSep}$penv{PATH}",
17-
"POSTPROCESS_UTILITY": ""
17+
"POSTPROCESS_UTILITY": "",
18+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
1819
},
1920
"cacheVariables": {}
2021
},
@@ -28,7 +29,8 @@
2829
"BOARD": "frdmk22f",
2930
"MCUX_VENV_PATH": "",
3031
"PATH": "$env{MCUX_VENV_PATH}${pathListSep}$penv{PATH}",
31-
"POSTPROCESS_UTILITY": ""
32+
"POSTPROCESS_UTILITY": "",
33+
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
3234
},
3335
"cacheVariables": {}
3436
}

0 commit comments

Comments
 (0)