simulator usability (#2794)
* simulator * simulator is debuggable * s * format
This commit is contained in:
parent
7cef936a6d
commit
f3ff40724a
|
@ -24,6 +24,24 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Debug simulator (gdb)",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/simulator/build/rusefi_simulator",
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}/simulator/",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Debug Unit Tests (lldb)",
|
||||
"type": "lldb",
|
||||
|
|
|
@ -130,6 +130,22 @@
|
|||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build Simulator",
|
||||
"type": "shell",
|
||||
"command": "make -j12",
|
||||
"windows": {
|
||||
"command": "wsl make -j12"
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}/simulator"
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -34,7 +34,7 @@ ifeq ($(USE_OPT),)
|
|||
# this config producec a smaller binary file
|
||||
# 7.3 compiler would want -Wno-error=implicit-fallthrough while 6.4 does not know about it
|
||||
# see https://github.com/rusefi/rusefi/issues/517
|
||||
USE_OPT = -Wall -O2 -Wno-error=implicit-fallthrough -Wno-error=write-strings -Wno-error=strict-aliasing
|
||||
USE_OPT = -Wall -Og -g -Wno-error=implicit-fallthrough -Wno-error=write-strings -Wno-error=strict-aliasing
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue