mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
[FL-3486,FL-3392] fbt: various improvements and bug fixes (#2982)
* 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>
This commit is contained in:
@@ -175,9 +175,21 @@ vars.AddVariables(
|
||||
"Blackmagic probe location",
|
||||
"auto",
|
||||
),
|
||||
EnumVariable(
|
||||
"SWD_TRANSPORT",
|
||||
help="SWD interface adapter type",
|
||||
default="auto",
|
||||
allowed_values=[
|
||||
"auto",
|
||||
"cmsis-dap",
|
||||
"stlink",
|
||||
"blackmagic_usb",
|
||||
"blackmagic_wifi",
|
||||
],
|
||||
),
|
||||
(
|
||||
"OPENOCD_ADAPTER_SERIAL",
|
||||
"OpenOCD adapter serial number",
|
||||
"SWD_TRANSPORT_SERIAL",
|
||||
"SWD interface adapter serial number",
|
||||
"auto",
|
||||
),
|
||||
(
|
||||
|
||||
@@ -23,18 +23,14 @@ appenv.Replace(
|
||||
|
||||
appenv.AppendUnique(
|
||||
CCFLAGS=[
|
||||
"-ggdb3",
|
||||
"-mword-relocations",
|
||||
"-mlong-calls",
|
||||
"-fno-common",
|
||||
"-nostdlib",
|
||||
"-fvisibility=hidden",
|
||||
],
|
||||
LINKFLAGS=[
|
||||
"-Ur",
|
||||
"-Wl,-Ur",
|
||||
# "-Wl,--orphan-handling=error",
|
||||
"-Bsymbolic",
|
||||
"-nostartfiles",
|
||||
"-mlong-calls",
|
||||
"-fno-common",
|
||||
|
||||
Reference in New Issue
Block a user