at32f437启动适配,能够启动到shell

This commit is contained in:
ATShining
2024-11-01 17:17:20 +08:00
parent 69d8b12738
commit 16d4a18a86
16 changed files with 682 additions and 321 deletions

16
.vscode/launch.json vendored
View File

@@ -1,5 +1,21 @@
{
"configurations": [
{
"cwd": "${workspaceFolder}",
"executable": "${workspaceFolder}/build/output/kernel.img.out",
"name": "Debug with PyOCD",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"showDevDebugOutput": "none",
"servertype": "pyocd",
"targetId": "_at32f437zmt7",
"cmsisPack": "D:\\zz\\ArteryTek.AT32F435_437_DFP.2.2.1.pack",
"symbolFiles": [
"${workspaceFolder}/build/output/bootstrap.elf",
"${workspaceFolder}/build/output/mkrtos.elf",
]
},
{
"preLaunchTask": "download",
"name": "openocd",

View File

@@ -112,7 +112,7 @@
"boot_info.h": "c"
},
"cortex-debug.showRTOS": false,
"cortex-debug.variableUseNaturalFormat": false,
"cortex-debug.variableUseNaturalFormat": true,
"C_Cpp.default.systemIncludePath": [""],
"C_Cpp.default.forcedInclude": ["${workspaceFolder}/build/autoconf.h"]
}