added epsc

This commit is contained in:
Richard Koeppe 2024-07-13 12:46:20 +00:00
parent 35ef07635b
commit 0ad2e7a8cd
8 changed files with 65 additions and 22 deletions

5
.gitmodules vendored
View File

@ -1,4 +1,7 @@
[submodule "projects/vn200"]
path = projects/vn200
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

View File

@ -10,12 +10,12 @@
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Drivers/CMSIS/Include",
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/can-transceiver-lib/include",
"${workspaceFolder}/projects/${PROJECT_NAME_VN200}/Libs/vn-interface/include",
"/usr/local/include/**"
"/usr/local/include/**",
],
"defines": [
"__cplusplus",
"USE_HAL_DRIVER",
"STM32F302xC", // Change this to your MCU for correct linting
"STM32F302xC",
"DEBUG"
],
"compilerPath": "/usr/bin/gcc",
@ -24,5 +24,5 @@
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4,
"version": 4
}

16
.vscode/launch.json vendored
View File

@ -2,7 +2,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "F3 - VN200",
"name": "VN200",
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
@ -12,8 +12,20 @@
"/usr/share/openocd/scripts/interface/stlink.cfg",
"/home/stm32_devcontainer/.vscode/stm32f3x_custom.cfg"
],
//"svdFile": "${workspaceRoot}/path/to/your.svd",
"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"
}
]
}

15
.vscode/settings.json vendored
View File

@ -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
}
{}

View File

@ -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
},
}

16
.vscode/tasks.json vendored
View File

@ -13,7 +13,21 @@
"problemMatcher": [
"$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"
}
]
}

View File

@ -27,4 +27,5 @@ services:
DISPLAY: $DISPLAY
ROS_AUTOMATIC_DISCOVERY_RANGE: "LOCALHOST"
ROS_DOMAIN_ID: "0"
PROJECT_NAME_VN200: vn200
PROJECT_NAME_VN200: vn200
PROJECT_NAME_EPSC: epsc_ft24

1
projects/epsc_ft24 Submodule

@ -0,0 +1 @@
Subproject commit b4b72f2ba6f610ab227e32b3f16bbfe2a219191a