added epsc
This commit is contained in:
		
							
								
								
									
										5
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@ -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
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.vscode/c_cpp_properties.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.vscode/c_cpp_properties.json
									
									
									
									
										vendored
									
									
								
							@ -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
									
									
								
							
							
						
						
									
										16
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@ -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
									
									
								
							
							
						
						
									
										15
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							@ -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
 | 
			
		||||
}
 | 
			
		||||
{}
 | 
			
		||||
							
								
								
									
										25
									
								
								.vscode/stm32_devcontainer.code-workspace
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.vscode/stm32_devcontainer.code-workspace
									
									
									
									
										vendored
									
									
										Normal 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
									
									
								
							
							
						
						
									
										16
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							@ -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"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
@ -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
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								projects/epsc_ft24
									
									
									
									
									
										Submodule
									
								
							 Submodule projects/epsc_ft24 added at b4b72f2ba6
									
								
							
		Reference in New Issue
	
	Block a user