Skip to content

Commit

Permalink
vscode updates
Browse files Browse the repository at this point in the history
 * working debugging (one click build and debug)
   * SITL jmavsim
   * SITL gazebo
   * jlink px4_fmu-v{2-5}
 * improved syntax highlighting
   * GNU linker files
   * ROS message files msg/*.msg
   * jinja2 template files
 * fixed intellisense support
  • Loading branch information
dagar authored Mar 23, 2019
1 parent 8cdc2d9 commit 5e6bfe1
Show file tree
Hide file tree
Showing 27 changed files with 367 additions and 120 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ posix-configs/SITL/init/test/*_generated

.vscode/.cortex-debug.peripherals.state.json
.vscode/.cortex-debug.registers.state.json
.vscode/c_cpp_properties.json
.vscode/compile_commands.json
.vscode/ipch/

26 changes: 26 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"browse": {
"path": [
"${workspaceFolder}/src/",
"${workspaceFolder}/src/lib/",
"${workspaceFolder}/src/lib/matrix",
"${workspaceFolder}/src/platforms",
"${workspaceFolder}/platforms/",
"."
],
"limitSymbolsToIncludedHeaders": true
},
"compileCommands": "${workspaceFolder}/.vscode/compile_commands.json",
"configurationProvider": "vector-of-bool.cmake-tools"
}
],
"version": 4
}
6 changes: 0 additions & 6 deletions .vscode/cmake-kits.json

This file was deleted.

31 changes: 13 additions & 18 deletions .vscode/cmake-variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,58 +11,53 @@ CONFIG:
buildType: Debug
settings:
CONFIG: px4_sitl_default
px4_sitl_rtps:
short: px4_sitl_rtps
buildType: RelWithDebInfo
px4_sitl_default_ASan:
short: px4_sitl (Address Sanitizer)
buildType: AddressSanitizer
settings:
CONFIG: px4_sitl_rtps
CONFIG: px4_sitl_default
px4_fmu-v2_default:
short: px4_fmu-v2
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: px4_fmu-v2_default
px4_fmu-v3_default:
short: px4_fmu-v3
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: px4_fmu-v3_default
px4_fmu-v4_default:
short: px4_fmu-v4
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: px4_fmu-v4_default
px4_fmu-v4pro_default:
short: px4_fmu-v4pro
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: px4_fmu-v4pro_default
px4_fmu-v5_default:
short: px4_fmu-v5
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: px4_fmu-v5_default
px4_fmu-v5_rtps:
short: px4_fmu-v5_rtps
buildType: MinRelSize
settings:
CONFIG: px4_fmu-v5_rtps
airmind_mindpx-v2_default:
short: airmind_mindpx-v2
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: airmind_mindpx-v2_default
av_x-v1_default:
short: av-x
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: av_x-v1_default
intel_aerofc-v1_default:
short: intel_aerofc-v1
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: intel_aerofc-v1_default
nxp_fmuk66-v3_default:
short: nxp_fmuk66-v3
buildType: MinRelSize
buildType: MinSizeRel
settings:
CONFIG: nxp_fmuk66-v3_default
8 changes: 6 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"ajshort.ros",
"chiehyu.vscode-astyle",
"dan-c-underwood.arm",
"github.vscode-pull-request-github",
"marus25.cortex-debug",
"ms-python.python",
"ms-vscode.cpptools",
"peterjausovec.vscode-docker",
"twxs.cmake",
"vector-of-bool.cmake-tools"
"vector-of-bool.cmake-tools",
"wholroyd.jinja"
]
}
}
Loading

0 comments on commit 5e6bfe1

Please sign in to comment.