mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
ace0901125
* fbt: extapps: compact debug format for .faps * fbt: sdk: fixed symbol cache regen logic for removed-only symbols * lib: elf_file: early .fap file handle release * fbt: extapps: added FAP_VERSION define for application environments * github: added appsymbols artifact * api: updates for f18 * github: fixed early fap_dist * fbt: added flash_dap * ufbt: added flash_dap * fbt: reworked flash target; scripts: program.py->fwflash.py and changes * vscode: updated configuration * scripts: fwflash.py: ugly fixes for ufbt * scripts: fwflash.py: cleanup * fbt: flash: always use .elf file * scripts: fwflash: fixed elf file path Co-authored-by: あく <alleteam@gmail.com>
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
targets_help = """Configuration variables:
|
||
"""
|
||
|
||
tail_help = """
|
||
|
||
TASKS:
|
||
Firmware & apps:
|
||
firmware_all, fw_dist:
|
||
Build firmware; create distribution package
|
||
faps, fap_dist:
|
||
Build all FAP apps
|
||
fap_{APPID}, build APPSRC={APPID}; launch 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, jflash:
|
||
Flash firmware to target using SWD probe. See also SWD_TRANSPORT, SWD_TRANSPORT_SERIAL
|
||
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
|
||
|
||
How to open a shell with toolchain environment and other build tools:
|
||
In your shell, type "source `./fbt -s env`". You can also use "." instead of "source".
|
||
|
||
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
|