mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 04:11:48 +03:00
341610b8a1
* fbt: added firmware_pvscheck & firmware_pvs targets for *nix * fbt: pvs support on Windows * fbt: additional fixes & docs for PVS support * fbt: fixes for updater env configuration * github: reworked pvs workflow * vscode: added PVS shortcut * pvs: added --ignore-ccache flag * fbt: pvs: opening web browser if there are warnings * fbt: pvs: added browser handler for mac * github: fixed report path for PVS * fbt: pvs: fixed report upload path * removed intentional PVS warning * fixed more PVS warnings * fixed secplus_v1 PVS warning * fbt: added PVSNOBROWSER flag * github: setting PVSNOBROWSER for pvs runs * fbt: less debug output Co-authored-by: あく <alleteam@gmail.com>
183 lines
5.6 KiB
JSON
183 lines
5.6 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "[Release] Build",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0"
|
|
},
|
|
{
|
|
"label": "[Debug] Build",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt"
|
|
},
|
|
{
|
|
"label": "[Release] Flash (ST-Link)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash"
|
|
},
|
|
{
|
|
"label": "[Debug] Flash (ST-Link)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FORCE=1 flash"
|
|
},
|
|
{
|
|
"label": "[Release] Flash (blackmagic)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash_blackmagic"
|
|
},
|
|
{
|
|
"label": "[Debug] Flash (blackmagic)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FORCE=1 flash_blackmagic"
|
|
},
|
|
{
|
|
"label": "[Release] Flash (JLink)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 jflash"
|
|
},
|
|
{
|
|
"label": "[Debug] Flash (JLink)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FORCE=1 jflash"
|
|
},
|
|
{
|
|
"label": "[Release] Build update bundle",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt updater_package COMPACT=1 DEBUG=0"
|
|
},
|
|
{
|
|
"label": "[Debug] Build update bundle",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt updater_package"
|
|
},
|
|
{
|
|
"label": "[Release] Build updater",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt updater_all COMPACT=1 DEBUG=0"
|
|
},
|
|
{
|
|
"label": "[Debug] Build updater",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt updater_all"
|
|
},
|
|
{
|
|
"label": "[Debug] Flash (USB, w/o resources)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FORCE=1 flash_usb"
|
|
},
|
|
{
|
|
"label": "[Release] Flash (USB, w/o resources)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash_usb"
|
|
},
|
|
{
|
|
"label": "[Debug:unit_tests] Flash (USB)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FIRMWARE_APP_SET=unit_tests FORCE=1 flash_usb"
|
|
},
|
|
{
|
|
"label": "[Debug] Flash (USB, with resources)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt FORCE=1 flash_usb_full"
|
|
},
|
|
{
|
|
"label": "[Release] Flash (USB, with resources)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash_usb_full"
|
|
},
|
|
{
|
|
"label": "[Debug] Create PVS-Studio report",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt firmware_pvs"
|
|
},
|
|
{
|
|
"label": "[Debug] Build FAPs",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt fap_dist"
|
|
},
|
|
{
|
|
"label": "[Release] Build FAPs",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 fap_dist"
|
|
},
|
|
{
|
|
"label": "[Debug] Launch App on Flipper",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt launch_app APPSRC=${relativeFileDirname}"
|
|
},
|
|
{
|
|
"label": "[Release] Launch App on Flipper",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 launch_app APPSRC=${relativeFileDirname}"
|
|
},
|
|
{
|
|
"label": "[Debug] Launch App on Flipper with Serial Console",
|
|
"dependsOrder": "sequence",
|
|
"group": "build",
|
|
"dependsOn": [
|
|
"[Debug] Launch App on Flipper",
|
|
"Serial Console"
|
|
]
|
|
},
|
|
{
|
|
"label": "[Debug] Build and upload all FAPs to Flipper over USB",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt fap_deploy"
|
|
},
|
|
{
|
|
"label": "[Release] Build and upload all FAPs to Flipper over USB",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "./fbt COMPACT=1 DEBUG=0 fap_deploy"
|
|
},
|
|
{
|
|
// Press Ctrl+] to quit
|
|
"label": "Serial Console",
|
|
"type": "shell",
|
|
"command": "./fbt cli",
|
|
"group": "none",
|
|
"isBackground": true,
|
|
"options": {
|
|
"env": {
|
|
"FBT_NO_SYNC": "0"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"revealProblems": "never",
|
|
"showReuseMessage": false,
|
|
"panel": "dedicated",
|
|
"focus": true,
|
|
"echo": true,
|
|
"close": true,
|
|
"group": "Logger"
|
|
}
|
|
}
|
|
]
|
|
} |