compatibilité vscode
This commit is contained in:
1 parent
75fbf8809d
commit
d067ab2521
16 files changed
+888
-11
No files matched your search
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"version": 4,
|
||||
"configurations": [
|
||||
{
|
||||
"name": "STM32H7S78-DK",
|
||||
"compilerPath": "/usr/local/bin/arm-none-eabi-gcc",
|
||||
"cStandard": "gnu11",
|
||||
"cppStandard": "gnu++14",
|
||||
"intelliSenseMode": "linux-gcc-arm",
|
||||
"defines": [
|
||||
"CORE_CM7",
|
||||
"STM32H7S7xx",
|
||||
"USE_HAL_DRIVER"
|
||||
],
|
||||
"includePath": [
|
||||
"${workspaceFolder}/Appli/TouchGFX/gui/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/generated/gui_generated/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/generated/fonts/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/generated/images/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/generated/texts/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/generated/videos/include",
|
||||
"${workspaceFolder}/Appli/TouchGFX/target/generated",
|
||||
"${workspaceFolder}/Appli/TouchGFX/App/generated",
|
||||
"${workspaceFolder}/Appli/Middlewares/ST/touchgfx/framework/include",
|
||||
"${workspaceFolder}/Middlewares",
|
||||
"${workspaceFolder}/gcc/Middlewares",
|
||||
"${workspaceFolder}/Appli/TouchGFX/target",
|
||||
"${workspaceFolder}/Appli/TouchGFX/App",
|
||||
"${workspaceFolder}/Drivers/CMSIS/Include",
|
||||
"${workspaceFolder}/Drivers/CMSIS/Device/ST/STM32H7RSxx/Include",
|
||||
"${workspaceFolder}/Drivers/STM32H7RSxx_HAL_Driver/Inc",
|
||||
"${workspaceFolder}/Drivers/CMSIS/RTOS2/Include",
|
||||
"${workspaceFolder}/Drivers/STM32H7RSxx_BSP/STM32H7S78-DK",
|
||||
"${workspaceFolder}/Drivers/STM32H7RSxx_BSP/Components/wm8904",
|
||||
"${workspaceFolder}/Appli/Core/Inc",
|
||||
"${workspaceFolder}/Appli/Middlewares/ST/touchgfx_components/gpu2d/TouchGFXNema/include",
|
||||
"${workspaceFolder}/Appli/Middlewares/ST/touchgfx_components/gpu2d/NemaGFX/include",
|
||||
"${workspaceFolder}/Middlewares/Third_Party/FreeRTOS/Source/include",
|
||||
"${workspaceFolder}/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2",
|
||||
"${workspaceFolder}/gcc/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug Boot",
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceFolder}/Boot/TouchGFX/build/bin/target.elf",
|
||||
"servertype": "external",
|
||||
"gdbTarget": "localhost:61234",
|
||||
"gdbPath": "/usr/local/bin/arm-none-eabi-gdb",
|
||||
"overrideLaunchCommands": [
|
||||
"monitor halt",
|
||||
"load",
|
||||
"tbreak main",
|
||||
"monitor reset"
|
||||
],
|
||||
"preLaunchTask": "Start ST-LINK GDB Server",
|
||||
"postDebugTask": "Stop ST-LINK GDB Server"
|
||||
},
|
||||
{
|
||||
"name": "Debug Appli",
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceFolder}/Appli/TouchGFX/build/bin/target.elf",
|
||||
"servertype": "external",
|
||||
"gdbTarget": "localhost:61234",
|
||||
"gdbPath": "/usr/local/bin/arm-none-eabi-gdb",
|
||||
"overrideLaunchCommands": [
|
||||
"monitor halt",
|
||||
"load",
|
||||
"tbreak main"
|
||||
],
|
||||
"preLaunchTask": "Start ST-LINK GDB Server",
|
||||
"postDebugTask": "Stop ST-LINK GDB Server"
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+91
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build (Boot + Appli)",
|
||||
"type": "shell",
|
||||
"command": "/usr/local/opt/make/libexec/gnubin/make",
|
||||
"args": ["-j8"],
|
||||
"options": { "cwd": "${workspaceFolder}/gcc" },
|
||||
"group": { "kind": "build", "isDefault": true },
|
||||
"problemMatcher": ["$gcc"],
|
||||
"presentation": { "reveal": "always", "panel": "shared", "clear": true }
|
||||
},
|
||||
{
|
||||
"label": "Clean",
|
||||
"type": "shell",
|
||||
"command": "/usr/local/opt/make/libexec/gnubin/make",
|
||||
"args": ["clean"],
|
||||
"options": { "cwd": "${workspaceFolder}/gcc" },
|
||||
"group": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Flash Boot",
|
||||
"type": "shell",
|
||||
"command": "/Applications/STMicroelectronics/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.2.500.202603051304/tools/bin/STM32_Programmer_CLI",
|
||||
"args": [
|
||||
"-c", "port=SWD",
|
||||
"-el", "${workspaceFolder}/gcc/MX66UW1G45G_STM32H7S78-DK.stldr",
|
||||
"-w", "${workspaceFolder}/Boot/TouchGFX/build/bin/target.hex",
|
||||
"-v",
|
||||
"-rst"
|
||||
],
|
||||
"group": "none",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Flash Appli",
|
||||
"type": "shell",
|
||||
"command": "/Applications/STMicroelectronics/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.2.500.202603051304/tools/bin/STM32_Programmer_CLI",
|
||||
"args": [
|
||||
"-c", "port=SWD",
|
||||
"-el", "${workspaceFolder}/gcc/MX66UW1G45G_STM32H7S78-DK.stldr",
|
||||
"-w", "${workspaceFolder}/Appli/TouchGFX/build/bin/target.hex",
|
||||
"-v",
|
||||
"-rst"
|
||||
],
|
||||
"group": "none",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Flash All (Boot + Appli)",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": ["Flash Boot", "Flash Appli"],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Start ST-LINK GDB Server",
|
||||
"type": "shell",
|
||||
"command": "/Applications/STMicroelectronics/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.macos64_2.2.500.202604010938/tools/bin/ST-LINK_gdbserver",
|
||||
"args": [
|
||||
"-p", "61234",
|
||||
"-l", "1",
|
||||
"-d",
|
||||
"-cp", "/Applications/STMicroelectronics/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.2.500.202603051304/tools/bin",
|
||||
"-el", "${workspaceFolder}/gcc/MX66UW1G45G_STM32H7S78-DK.stldr",
|
||||
"-m", "1",
|
||||
"-k"
|
||||
],
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"pattern": {
|
||||
"regexp": "^(x)(x)$"
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "^STMicroelectronics ST-LINK GDB server",
|
||||
"endsPattern": "Waiting for debugger connection|Error in initializing ST-LINK device"
|
||||
}
|
||||
},
|
||||
"presentation": { "reveal": "always", "panel": "dedicated" }
|
||||
},
|
||||
{
|
||||
"label": "Stop ST-LINK GDB Server",
|
||||
"type": "shell",
|
||||
"command": "pkill -f ST-LINK_gdbserver || true",
|
||||
"problemMatcher": [],
|
||||
"presentation": { "reveal": "silent" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user