@@ 40,12 40,36 @@
},
{
"type": "shell",
+ "label": "Run PurePhone (Linux + Valgrind)",
+ "command": "valgrind",
+ "args": [
+ "./PurePhone.elf"
+ ],
+ "options": {
+ "cwd": "${workspaceFolder}/build-PurePhone-linux-Debug"
+ },
+ "group": {
+ "kind": "build",
+ //"isDefault": true
+ },
+ "detail": "Build dir has to be configured with Cmake using Ninja",
+ },
+ {
+ "type": "shell",
"label": "Configure and Build PurePhone (Linux)",
"group": "build",
"dependsOn": ["Configure PurePhone (Linux)", "Build PurePhone (Linux)"],
"dependsOrder": "sequence",
"detail": "Configure cmake project and build with Ninja",
},
+ {
+ "type": "shell",
+ "label": "Build and Run PurePhone (Linux + Valgrind)",
+ "group": "build",
+ "dependsOn": ["Build PurePhone (Linux)", "Run PurePhone (Linux + Valgrind)"],
+ "dependsOrder": "sequence",
+ "detail": "Configure cmake project and build with Ninja",
+ },
{
"type": "shell",
@@ 81,6 105,19 @@
},
{
"type": "shell",
+ "label": "Run BellHybrid (Linux + Valgrind)",
+ "command": "valgrind",
+ "args": [
+ "./BellHybrid.elf"
+ ],
+ "options": {
+ "cwd": "${workspaceFolder}/build-BellHybrid-linux-Debug"
+ },
+ "group": "build",
+ "detail": "Build dir has to be configured with Cmake using Ninja",
+ },
+ {
+ "type": "shell",
"label": "Build BellHybrid Disk Image (Linux)",
"command": "ninja",
"args": [
@@ 100,6 137,14 @@
"dependsOrder": "sequence",
"detail": "Configure cmake project and build with Ninja",
},
+ {
+ "type": "shell",
+ "label": "Build and Run BellHybrid (Linux + Valgrind)",
+ "group": "build",
+ "dependsOn": ["Build BellHybrid (Linux)", "Run BellHybrid (Linux + Valgrind)"],
+ "dependsOrder": "sequence",
+ "detail": "Configure cmake project and build with Ninja",
+ },
// RT1051
@@ 195,7 195,7 @@ This can be done manually, by editing the `.cmake` files (not recommended though
| `MUDITA_USB_ID` | Enable using Mudita registered USB Vendor ID and Pure Phone USB Product ID| OFF |
| `ENABLE_APP_X` | Build and enable application X | ON |
| `OPTIMIZE_APP_X` | Optimize application X in debug build | ON |
-| `LINUX_ENABLE_SANITIZER` | Enable address sanitizer for Linux | ON |
+| `LINUX_ENABLE_SANITIZER` | Enable address sanitizer for Linux | OFF |
| `ENABLE_SECURE_BOOT` | Build signed binary for Secure Boot | OFF |
| `THIRD_PARTY_DEBUG_OPTIMIZE` | Optimize third party in debug | ON |
| `ENABLE_TEST_LOGS` | Enable logs in unit tests | OFF |