mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-29 06:21:58 +01:00
103 lines
3.3 KiB
JSON
103 lines
3.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"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",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "sw/pc/sc64.py",
|
|
// "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",
|
|
"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",
|
|
"-b", "1",
|
|
"-q",
|
|
]
|
|
},
|
|
"windows": {
|
|
"args": [
|
|
"-f", "\\\\.\\D:",
|
|
"-b", "1",
|
|
"-q",
|
|
]
|
|
}
|
|
},
|
|
]
|
|
} |