Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| — |
playground:about:flipper:ufbthelp [2025/02/09 23:37] (aktuell) 80.187.86.44 angelegt |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | < | ||
| + | Cleaning up..done | ||
| + | scons: Entering directory `/ | ||
| + | fbt: warning: App folder '/ | ||
| + | LoadAppManifest, | ||
| + | Configuration variables: | ||
| + | |||
| + | VERBOSE: Print full commands (yes|no) | ||
| + | default: False | ||
| + | actual: False | ||
| + | |||
| + | FORCE: Force target action (for supported targets) (yes|no) | ||
| + | default: False | ||
| + | actual: False | ||
| + | |||
| + | OTHER_ELF: Path to prebuilt ELF file to debug ( / | ||
| + | default: | ||
| + | actual: | ||
| + | |||
| + | OPENOCD_OPTS: | ||
| + | default: | ||
| + | actual: | ||
| + | |||
| + | BLACKMAGIC: Blackmagic probe location | ||
| + | default: auto | ||
| + | actual: auto | ||
| + | |||
| + | SWD_TRANSPORT: | ||
| + | default: auto | ||
| + | actual: auto | ||
| + | |||
| + | SWD_TRANSPORT_SERIAL: | ||
| + | default: auto | ||
| + | actual: auto | ||
| + | |||
| + | APPID: Application id | ||
| + | default: | ||
| + | actual: | ||
| + | |||
| + | UFBT_APP_DIR: | ||
| + | default: | ||
| + | actual: / | ||
| + | |||
| + | FLIP_PORT: CDC Port of Flipper to use, if multiple are connected | ||
| + | default: auto | ||
| + | actual: auto | ||
| + | |||
| + | STRICT_FAP_IMPORT_CHECK: | ||
| + | default: True | ||
| + | actual: True | ||
| + | |||
| + | ARGS: Extra arguments to pass to certain scripts supporting it | ||
| + | default: | ||
| + | actual: | ||
| + | |||
| + | |||
| + | TASKS: | ||
| + | (* - not supported yet) | ||
| + | |||
| + | launch: | ||
| + | Upload and start application over USB | ||
| + | vscode_dist: | ||
| + | Configure application in current directory for development in VSCode. | ||
| + | create: | ||
| + | Copy application template to current directory. Set APPID=myapp to create an app with id ' | ||
| + | |||
| + | Building: | ||
| + | faps: | ||
| + | Build all FAP apps | ||
| + | fap_{APPID}, | ||
| + | Build FAP app with appid={APPID}; | ||
| + | cdb: | ||
| + | regenerate " | ||
| + | |||
| + | Flashing & debugging: | ||
| + | flash, *jflash: | ||
| + | Flash firmware to target using SWD probe. See also SWD_TRANSPORT, | ||
| + | flash_usb, flash_usb_full: | ||
| + | Install firmware using self-update package | ||
| + | debug, debug_other, | ||
| + | Start GDB | ||
| + | devboard_flash: | ||
| + | Update WiFi dev board. | ||
| + | Supports ARGS=" | ||
| + | |||
| + | Other: | ||
| + | cli: | ||
| + | Open a Flipper CLI session over USB | ||
| + | lint: | ||
| + | run linter for C code | ||
| + | format: | ||
| + | reformat C code | ||
| + | |||
| + | How to create a new application: | ||
| + | 1. Create a new directory for your application and cd into it. | ||
| + | 2. Run `ufbt vscode_dist create APPID=myapp` | ||
| + | 3. In VSCode, open the folder and start editing. | ||
| + | 4. Run `ufbt launch` to build and upload your application. | ||
| + | |||
| + | How to open a shell with toolchain environment and other build tools: | ||
| + | In your shell, type "eval `ufbt -s env`". | ||
| + | |||
| + | How to update uFBT SDK: | ||
| + | Run "ufbt update" | ||
| + | You can also specify branch, target and/or channel options. See "ufbt update -h" for details. | ||
| + | |||
| + | Use scons -H for help about SCons built-in command-line options. | ||
| + | (venv) spiral@intrepid: | ||
| + | |||
| + | </ | ||