mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 21:01:40 +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>
49 lines
1.1 KiB
Python
49 lines
1.1 KiB
Python
targets_help = """Configuration variables:
|
||
"""
|
||
|
||
tail_help = """
|
||
|
||
TASKS:
|
||
Building:
|
||
firmware_all, fw_dist:
|
||
Build firmware; create distribution package
|
||
faps, fap_dist:
|
||
Build all FAP apps
|
||
fap_{APPID}, launch_app APPSRC={APPID}:
|
||
Build FAP app with appid={APPID}; upload & start it over USB
|
||
fap_deploy:
|
||
Build and upload all FAP apps over USB
|
||
|
||
Flashing & debugging:
|
||
flash, flash_blackmagic, jflash:
|
||
Flash firmware to target using debug probe
|
||
flash_usb, flash_usb_full:
|
||
Install firmware using self-update package
|
||
debug, debug_other, blackmagic:
|
||
Start GDB
|
||
|
||
Other:
|
||
cli:
|
||
Open a Flipper CLI session over USB
|
||
firmware_cdb, updater_cdb:
|
||
Generate сompilation_database.json
|
||
lint, lint_py:
|
||
run linters
|
||
format, format_py:
|
||
run code formatters
|
||
firmware_pvs:
|
||
generate a PVS-Studio report
|
||
|
||
For more targets & info, see documentation/fbt.md
|
||
"""
|
||
|
||
|
||
def generate(env, **kw):
|
||
vars = kw["vars"]
|
||
basic_help = vars.GenerateHelpText(env)
|
||
env.Help(targets_help + basic_help + tail_help)
|
||
|
||
|
||
def exists(env):
|
||
return True
|