added epsc
This commit is contained in:
parent
35ef07635b
commit
0ad2e7a8cd
|
@ -2,3 +2,6 @@
|
||||||
path = projects/vn200
|
path = projects/vn200
|
||||||
url = ssh://git@git.fasttube.de:313/FaSTTUBe/vn200.git
|
url = ssh://git@git.fasttube.de:313/FaSTTUBe/vn200.git
|
||||||
ignore = all
|
ignore = all
|
||||||
|
[submodule "projects/epsc_ft24"]
|
||||||
|
path = projects/epsc_ft24
|
||||||
|
url = ssh://git@git.fasttube.de:313/FaSTTUBe/EPSC_FT24_code.git
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Drivers/CMSIS/Include",
|
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Drivers/CMSIS/Include",
|
||||||
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/can-transceiver-lib/include",
|
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/can-transceiver-lib/include",
|
||||||
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/vn-interface/include",
|
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/vn-interface/include",
|
||||||
"/usr/local/include/**"
|
"/usr/local/include/**",
|
||||||
],
|
],
|
||||||
"defines": [
|
"defines": [
|
||||||
"__cplusplus",
|
"__cplusplus",
|
||||||
"USE_HAL_DRIVER",
|
"USE_HAL_DRIVER",
|
||||||
"STM32F302xC", // Change this to your MCU for correct linting
|
"STM32F302xC",
|
||||||
"DEBUG"
|
"DEBUG"
|
||||||
],
|
],
|
||||||
"compilerPath": "/usr/bin/gcc",
|
"compilerPath": "/usr/bin/gcc",
|
||||||
|
@ -24,5 +24,5 @@
|
||||||
"intelliSenseMode": "linux-gcc-x64"
|
"intelliSenseMode": "linux-gcc-x64"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": 4,
|
"version": 4
|
||||||
}
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "F3 - VN200",
|
"name": "VN200",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"servertype": "openocd",
|
"servertype": "openocd",
|
||||||
|
@ -12,8 +12,20 @@
|
||||||
"/usr/share/openocd/scripts/interface/stlink.cfg",
|
"/usr/share/openocd/scripts/interface/stlink.cfg",
|
||||||
"/home/stm32_devcontainer/.vscode/stm32f3x_custom.cfg"
|
"/home/stm32_devcontainer/.vscode/stm32f3x_custom.cfg"
|
||||||
],
|
],
|
||||||
//"svdFile": "${workspaceRoot}/path/to/your.svd",
|
|
||||||
"preLaunchTask": "build_vn200"
|
"preLaunchTask": "build_vn200"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EPSC",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"servertype": "openocd",
|
||||||
|
"cwd": "${workspaceRoot}/projects/epsc_ft24",
|
||||||
|
"executable": "${workspaceRoot}/projects/epsc_ft24/build/${env:PROJECT_NAME_EPSC}.elf",
|
||||||
|
"configFiles": [
|
||||||
|
"/usr/share/openocd/scripts/interface/stlink.cfg",
|
||||||
|
"/home/stm32_devcontainer/.vscode/stm32f3x_custom.cfg"
|
||||||
|
],
|
||||||
|
"preLaunchTask": "build_epsc"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,14 +1 @@
|
||||||
{
|
{}
|
||||||
"files.associations": {
|
|
||||||
"main.h": "cpp",
|
|
||||||
"main.c": "cpp",
|
|
||||||
"test.h": "cpp",
|
|
||||||
"test.cpp": "cpp",
|
|
||||||
"array": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"string_view": "cpp",
|
|
||||||
"ranges": "cpp"
|
|
||||||
},
|
|
||||||
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 150}",
|
|
||||||
"C_Cpp.clang_format_sortIncludes": false
|
|
||||||
}
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": ".."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../projects/epsc_ft24"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"files.associations": {
|
||||||
|
"main.h": "cpp",
|
||||||
|
"main.c": "cpp",
|
||||||
|
"test.h": "cpp",
|
||||||
|
"test.cpp": "cpp",
|
||||||
|
"array": "cpp",
|
||||||
|
"string": "cpp",
|
||||||
|
"string_view": "cpp",
|
||||||
|
"ranges": "cpp"
|
||||||
|
},
|
||||||
|
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 150}",
|
||||||
|
"C_Cpp.clang_format_sortIncludes": false,
|
||||||
|
"editor.formatOnPaste": true
|
||||||
|
},
|
||||||
|
}
|
|
@ -13,7 +13,21 @@
|
||||||
"problemMatcher": [
|
"problemMatcher": [
|
||||||
"$gcc"
|
"$gcc"
|
||||||
],
|
],
|
||||||
"detail": "Generated task by Debugger."
|
"detail": "Build the code for the VN200"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "build_epsc",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "make -C /home/stm32_devcontainer/projects/${env:PROJECT_NAME_EPSC}/build", // or any other build command
|
||||||
|
"args": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": [
|
||||||
|
"$gcc"
|
||||||
|
],
|
||||||
|
"detail": "Build the code for the EPSC"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -28,3 +28,4 @@ services:
|
||||||
ROS_AUTOMATIC_DISCOVERY_RANGE: "LOCALHOST"
|
ROS_AUTOMATIC_DISCOVERY_RANGE: "LOCALHOST"
|
||||||
ROS_DOMAIN_ID: "0"
|
ROS_DOMAIN_ID: "0"
|
||||||
PROJECT_NAME_VN200: vn200
|
PROJECT_NAME_VN200: vn200
|
||||||
|
PROJECT_NAME_EPSC: epsc_ft24
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b4b72f2ba6f610ab227e32b3f16bbfe2a219191a
|
Loading…
Reference in New Issue