add initial Setup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
bdb5db2009
1955 files changed
+1004711
No files matched your search
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "STM32H755xx",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/CM7/**",
|
||||
"${workspaceFolder}/Drivers/**",
|
||||
"${workspaceFolder}/Middlewares/**",
|
||||
"${workspaceFolder}/../libs/FreeRTOS-LTS/202604.00/FreeRTOS-Kernel/include",
|
||||
"${workspaceFolder}/../libs/FreeRTOS-LTS/202604.00/FreeRTOS-Kernel/portable/GCC/ARM_CM7/r0p1",
|
||||
"${workspaceFolder}/../libs/LibRTOSConsole/inc",
|
||||
"${workspaceFolder}/../libs/LibSpindle/inc",
|
||||
"${workspaceFolder}/../libs/LibL6474/inc"
|
||||
],
|
||||
"defines": [
|
||||
"STM32H755xx",
|
||||
"STM32H7xx",
|
||||
"CORE_CM7",
|
||||
"DEBUG",
|
||||
"VIRTIO_MASTER_ONLY",
|
||||
"STM32H755xx",
|
||||
"STM32H7xx",
|
||||
"METAL_INTERNAL",
|
||||
"METAL_MAX_DEVICE_REGIONS=2",
|
||||
"NO_ATOMIC_64_SUPPORT",
|
||||
"RPMSG_BUFFER_SIZE=512",
|
||||
"USE_HAL_DRIVER",
|
||||
"USE_FLASH_ECC=0",
|
||||
"USE_MULTI_CORE_SHARED_CODE=0",
|
||||
"USE_PWR_DIRECT_SMPS_SUPPLY",
|
||||
"STM32H7"
|
||||
],
|
||||
"compilerPath": "arm-none-eabi-gcc",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++17",
|
||||
"intelliSenseMode": "gcc-arm"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
Vendored
+159
@@ -0,0 +1,159 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"preLaunchTask": "Build Stepper All",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"toolchainPrefix": "arm-none-eabi",
|
||||
"serverpath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"stm32cubeprogrammer": "${env:STM32CLT_PATH}/STM32CubeProgrammer/bin",
|
||||
"stlinkPath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"armToolchainPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin",
|
||||
"gdbPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin/arm-none-eabi-gdb",
|
||||
"executable": "${workspaceFolder}/CM7/build/Stepper-H7-CM7.elf",
|
||||
"name": "Debug CM7 ST-Link V3",
|
||||
"request": "launch",
|
||||
"loadFiles": [
|
||||
"${workspaceFolder}/CM7/build/Stepper-H7-CM7.elf",
|
||||
"${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf"
|
||||
],
|
||||
"servertype": "stlink",
|
||||
"device": "STM32H755ZI",
|
||||
"interface": "swd",
|
||||
"type": "cortex-debug",
|
||||
"liveWatch": {
|
||||
"enabled": true,
|
||||
"samplesPerSecond": 4
|
||||
},
|
||||
"runToEntryPoint": "main",
|
||||
"showDevDebugOutput": "raw",
|
||||
//"rtos": "FreeRTOS",
|
||||
"v1": false,
|
||||
"breakAfterReset": false,
|
||||
"svdFile": "${workspaceFolder}/CM7/STM32H755_CM7.svd",
|
||||
"serverArgs": [
|
||||
"-l", "1",
|
||||
"-m", "0",
|
||||
"-k",
|
||||
"-t","-s"
|
||||
],
|
||||
},
|
||||
{
|
||||
"preLaunchTask": "Build Stepper All",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"toolchainPrefix": "arm-none-eabi",
|
||||
"serverpath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"stm32cubeprogrammer": "${env:STM32CLT_PATH}/STM32CubeProgrammer/bin",
|
||||
"stlinkPath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"armToolchainPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin",
|
||||
"gdbPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin/arm-none-eabi-gdb",
|
||||
"executable": "${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf",
|
||||
"name": "Debug CM4 ST-Link V3",
|
||||
"request": "launch",
|
||||
"loadFiles": [
|
||||
"${workspaceFolder}/CM7/build/Stepper-H7-CM7.elf",
|
||||
"${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf"
|
||||
],
|
||||
"servertype": "stlink",
|
||||
"device": "STM32H755ZI",
|
||||
"interface": "swd",
|
||||
"type": "cortex-debug",
|
||||
"liveWatch": {
|
||||
"enabled": true,
|
||||
"samplesPerSecond": 4
|
||||
},
|
||||
"runToEntryPoint": "main",
|
||||
"showDevDebugOutput": "none",
|
||||
//"rtos": "FreeRTOS",
|
||||
"v1": false,
|
||||
"breakAfterReset": false,
|
||||
"svdFile": "${workspaceFolder}/CM7/STM32H755_CM7.svd",
|
||||
"serverArgs": [
|
||||
"-l", "1",
|
||||
"-m", "3",
|
||||
"-k",
|
||||
"-t","-s"
|
||||
],
|
||||
},
|
||||
{
|
||||
/* In this launch config, the CM4 debug is started,
|
||||
then we wait 10s for the M0 to boot. After than,
|
||||
a launch config to attach to the CM0PLUS is started.
|
||||
*/
|
||||
"name": "Debug CM7+CM4 - ST-Link V3",
|
||||
"preLaunchTask": "Build Stepper All",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"toolchainPrefix": "arm-none-eabi",
|
||||
"serverpath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"stm32cubeprogrammer": "${env:STM32CLT_PATH}/STM32CubeProgrammer/bin",
|
||||
"stlinkPath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"armToolchainPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin",
|
||||
"gdbPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin/arm-none-eabi-gdb",
|
||||
"type": "cortex-debug",
|
||||
"executable": "${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf",
|
||||
"loadFiles": [
|
||||
"${workspaceFolder}/CM7/build/Stepper-H7-CM7.elf",
|
||||
"${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf"
|
||||
],
|
||||
"request": "launch",
|
||||
"servertype": "stlink",
|
||||
"device": "STM32H755ZI",
|
||||
"interface": "swd",
|
||||
"serialNumber": "",
|
||||
// "runToEntryPoint": "main", // No run to main to let the CM7 reach the start point of the CM4
|
||||
"svdFile": "${workspaceFolder}/CM4/STM32H755_CM4.svd",
|
||||
"v1": false,
|
||||
"showDevDebugOutput": "none",
|
||||
//"rtos": "FreeRTOS",
|
||||
"serverArgs": [
|
||||
"-l", "1",
|
||||
"-m", "0",
|
||||
"-k",
|
||||
"-t","-s"
|
||||
],
|
||||
|
||||
"chainedConfigurations": {
|
||||
"enabled": true,
|
||||
"waitOnEvent": "postInit",
|
||||
"detached": true,
|
||||
"delayMs":5000, // Wait 5s, could be optimized
|
||||
"lifecycleManagedByParent": true,
|
||||
"launches": [
|
||||
{
|
||||
"name": "Attach CM4 - ST-Link V3",
|
||||
"folder": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Attach CM4 - ST-Link V3",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"toolchainPrefix": "arm-none-eabi",
|
||||
"serverpath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"stm32cubeprogrammer": "${env:STM32CLT_PATH}/STM32CubeProgrammer/bin",
|
||||
"stlinkPath": "${env:STM32CLT_PATH}/STLink-gdb-server/bin/ST-LINK_gdbserver",
|
||||
"armToolchainPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin",
|
||||
"gdbPath": "${env:STM32CLT_PATH}/GNU-tools-for-STM32/bin/arm-none-eabi-gdb",
|
||||
"type": "cortex-debug",
|
||||
"executable": "${workspaceFolder}/CM4/build/Stepper-H7-CM4.elf",
|
||||
"request": "attach",
|
||||
"servertype": "stlink",
|
||||
"device": "STM32H755ZI",
|
||||
"interface": "swd",
|
||||
"serialNumber": "",
|
||||
"svdFile": "${workspaceFolder}/CM4/STM32H755_CM4.svd",
|
||||
"v1": false,
|
||||
"showDevDebugOutput": "none",
|
||||
//"rtos": "FreeRTOS",
|
||||
"serverArgs": [
|
||||
"-l", "1",
|
||||
"-m", "3",
|
||||
"-t", "-s"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+67
@@ -0,0 +1,67 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build Stepper CM7",
|
||||
"type": "shell",
|
||||
"command": "make cm7 -j",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Clean Stepper CM7",
|
||||
"type": "shell",
|
||||
"command": "make clean_cm7",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Stepper CM4",
|
||||
"type": "shell",
|
||||
"command": "make cm4 -j",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Clean Stepper CM4",
|
||||
"type": "shell",
|
||||
"command": "make clean_cm4",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Stepper All",
|
||||
"type": "shell",
|
||||
"command": "make all -j",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Clean Stepper All",
|
||||
"type": "shell",
|
||||
"command": "make clean",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "shared"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user