SummerCart64/.vscode/launch.json

103 lines
3.3 KiB
JSON
Raw Normal View History

2022-01-02 09:46:57 +01:00
{
"version": "0.2.0",
"configurations": [
{
2022-05-15 15:47:12 +02:00
"cwd": "${workspaceRoot}/sw/controller",
"executable": "./build/controller.elf",
"name": "Load ARM",
"request": "launch",
"type": "cortex-debug",
"servertype": "stlink",
// "serverpath": "C:\\msys64\\mingw64\\bin\\openocd.exe",
"preLaunchTask": "build_controller",
"device": "STM32G030F6",
"svdFile": "./STM32G030.svd",
// "configFiles": ["interface/stlink.cfg", "target/stm32g0x.cfg"],
// "runToMain": true
"postRestartCommands": [
// "b Reset_Handler"
// "monitor reset halt",
// "load",
// "b main",
// "monitor reset",
]
},
{
"name": "Run ROM",
2022-01-02 09:46:57 +01:00
"type": "python",
"request": "launch",
"program": "sw/pc/sc64.py",
2022-05-15 15:47:12 +02:00
// "preLaunchTask": "build",
"justMyCode": false,
"args": [
// "-u", "fw/output_files/SC64_update.bin",
// "-rtc",
// "-f", "\\\\.\\D:",
// "-d", "-df",
// "-i", "S:/n64/64dd/ipl/NDXJ0.n64",
// "-k", "S:/n64/64dd/dev/EZLJ_Expansion_DEV_v1.1.ndd",
// "-t", "1",
// "-b", "2",
// "-s", "1",
// "-q",
// "-v",
// "-e", "S:/n64/saves/majora_snowhead.fla",
// "S:/n64/roms/Legend of Zelda, The - Ocarina of Time (USA) (Rev B).z64",
// "S:/n64/roms/ZELOOTD.z64",
"S:/n64/roms/switchtome.z64",
// "D:/sc64menu.n64",
],
},
{
"name": "Build SW and Update",
"type": "python",
"request": "launch",
"program": "sw/pc/v2.py",
// "preLaunchTask": "build",
2022-01-02 09:46:57 +01:00
"args": [
"-u", "fw/output_files/SC64_update.bin",
]
},
{
"name": "Build FW & SW and Update",
"type": "python",
"request": "launch",
"program": "sw/pc/sc64.py",
"preLaunchTask": "build_full",
"args": [
"-u", "fw/output_files/SC64_update.bin",
]
},
{
"name": "Run menu from SD with debug output",
"type": "python",
"request": "launch",
"program": "sw/pc/sc64.py",
"args": [
"-b", "0",
"-q",
]
},
{
"name": "Run menu from USB with debug output",
"type": "python",
"request": "launch",
"program": "sw/pc/sc64.py",
"console": "integratedTerminal",
"linux": {
"args": [
"-f", "/dev/ttyUSB0",
2022-01-15 01:16:17 +01:00
"-b", "1",
2022-01-02 09:46:57 +01:00
"-q",
]
},
"windows": {
"args": [
"-f", "\\\\.\\D:",
2022-01-15 01:16:17 +01:00
"-b", "1",
2022-01-02 09:46:57 +01:00
"-q",
]
}
},
]
}