Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch BellHybrid PureRecovery (RT1051)",
"type": "cortex-debug",
"request": "launch",
"executable": "${workspaceFolder}/build-BellHybrid-rt1051-Debug/PureRecovery.elf",
"servertype": "jlink",
"serverpath": "JLinkGDBServerCLExe",
"cwd": "${workspaceFolder}",
"gdbPath": "arm-none-eabi-gdb",
"serverArgs": ["-strict", "-ir", "-speed", "25000"],
"interface": "swd",
"device": "MCIMXRT1051",
"jlinkscript": "${workspaceFolder}/evkbimxrt1050_sdram_init_T6.jlinkscript",
"overrideLaunchCommands": [
"monitor reset 0",
"monitor halt",
"monitor memU32 0x401BC000 = 128;",
"load",
"b main",
"b ResetISR",
]
},
]
}
91 changes: 91 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build BellHybrid PureRecovery (RT1051)",
"command": "make",
"args": [
"-j`nproc`"
],
"options": {
"cwd": "${workspaceFolder}/build-BellHybrid-rt1051-Debug"
},
"group": "build",
"detail": "Build dir has to be configured with Cmake",
},
{
"type": "shell",
"label": "Build PurePhone PureRecovery (RT1051)",
"command": "make",
"args": [
"-j`nproc`"
],
"options": {
"cwd": "${workspaceFolder}/build-PurePhone-rt1051-Debug"
},
"group": "build",
"detail": "Build dir has to be configured with Cmake",
},
{
"type": "shell",
"label": "Configure BellHybrid RelWithDebInfo (RT1051)",
"command": "./configure.sh",
"args": [
"bell",
"rt1051",
"RelWithDebInfo"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"detail": "Run cmake configure script",
},
{
"type": "shell",
"label": "Configure BellHybrid Debug (RT1051)",
"command": "./configure.sh",
"args": [
"bell",
"rt1051",
"Debug"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"detail": "Run cmake configure script",
},
{
"type": "shell",
"label": "Configure PurePhone RelWithDebInfo (RT1051)",
"command": "./configure.sh",
"args": [
"pure",
"rt1051",
"RelWithDebInfo"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"detail": "Run cmake configure script",
},
{
"type": "shell",
"label": "Configure PurePhone Debug (RT1051)",
"command": "./configure.sh",
"args": [
"pure",
"rt1051",
"Debug"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"detail": "Run cmake configure script",
},
]
}