~aleteoryx/muditaos

ref: 134c949f58f2676c31a90f8b202fe2c8eb0ac753 muditaos/.vscode/launch.json -rw-r--r-- 3.3 KiB
134c949f — Adam Dobrowolski [EGD-7932] Added token export for build 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Linux Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build-bell-linux-Debug/BellHybrid.elf",
            "args": [],
            "stopAtEntry": true,
            "cwd": "${workspaceFolder}/build-bell-linux-Debug/",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "disable SIGUSR1 logs",
                    "text": "handle SIGUSR1 nostop noprint"
                },
            ]
        },
        {
            "name": "Linux Attach",
            "type": "cppdbg",
            "request": "attach",
            "program": "${workspaceFolder}/build-linux-Debug/PurePhone.elf",
            "MIMode": "gdb",
            "processId": "${command:pickProcess}",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "disable SIGUSR1 logs",
                    "text": "handle SIGUSR1 nostop noprint"
                },
            ]
        },
        {
            "name": "Debug (rt1051)",
            "type": "gdb",
            "gdbpath": "arm-none-eabi-gdb",
            "request": "attach",
            "target": ":2331",
            "remote": true,
            "cwd": "${workspaceRoot}",
            "valuesFormatting": "parseText",
            "executable": "${workspaceFolder}/build-rt1051-Debug/PurePhone.elf",
            "autorun": [
                "eval \"monitor exec SetRTTAddr %p\", &_SEGGER_RTT",
                "monitor reset 0",
                "monitor halt",
                "monitor memU32 0x401BC000 = 128;",
                "load",
                "info threads",
                "thread 2",
                "b ResetISR",
                "b main",
                "b HardFault_Handler",
                "b MemManage_Handler",
                "b BusFault_Handler",
                "b UsageFault_Handler",
            ]
        },
        {
            "name": "RelWithDebug (rt1051)",
            "type": "gdb",
            "gdbpath": "arm-none-eabi-gdb",
            "request": "attach",
            "target": ":2331",
            "remote": true,
            "cwd": "${workspaceRoot}",
            "valuesFormatting": "parseText",
            "executable": "${workspaceFolder}/build-rt1051-RelWithDebInfo/PurePhone.elf",
            "autorun": [
                "eval \"monitor exec SetRTTAddr %p\", &_SEGGER_RTT",
                "monitor reset 0",
                "monitor halt",
                "monitor memU32 0x401BC000 = 128;",
                "load",
                "info threads",
                "thread 2",
                "b ResetISR",
                "b main",
                "b HardFault_Handler",
                "b MemManage_Handler",
                "b BusFault_Handler",
                "b UsageFault_Handler",
            ]
        }
    ]
}