Willy-JL
9e39da91e2
FBT: New SKIP_EXTERNAL option
2024-05-31 06:17:44 +01:00
Willy-JL
d9f55d110d
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
2024-05-21 04:56:03 +01:00
hedger
9e42e00ead
Icons: compression fixes & larger dimension support ( #3564 )
...
* toolbox, gui: fixes for compressed icon handling
* ufbt: fixes for generated vscode project
* scripts: increased max dimensions for image converter
* icon type changes
* linter fixes; api sync
* gui: docs fix
* toolbox: fixed potential decoder buffer overflow
* minor cleanup
* fbt: sdk: suppressed deprecation warnings in API table
* toolbox: compress: added unit tests
vscode: now installs resources for unit_tests
unit_tests: now loads subghz region data
* toolbox: compress: review fixes, pt 1
* compress: now passes decoder buffer size as constructor argument; auto-resize decoder buffer; crash on failed icon decompression
* PVS fixes
* pvs fixes, pt2
* doxygen fixes
* investigating unit test failures
* investigating unit test failures
* investigating unit test failures
* investigating unit test failures
* investigating unit test failures
* UnitTests: move all tests into plugins, brakes testing
* UnitTests: add plugin API and update plugin entrypoints
* UniTests: Test runner that works with plugins
* fbt: extra filtering for extapps to include in build
* UnitTests: filter tests by name
* loader: restored API table for unit_test build config
* Add various missing symbols to API table
* UnitTest: fail on plugin load error
* UnitTests: cleanup plugin api and reporting
* unit_tests: composite resolver
* UnitTests: remove unused declaration
* unit_tests, nfc: moved mock nfc implementation to libnfc
* unit_tests: api: removed redundant #define
* toolbox: compress: removed size_hint for icons; triggering furi_check on oversized icons
* gui: icon, icon_animation: removed size hit APIs
* Format Sources. Cleanup code.
* loader: refuse to start .fal as app
* toolbox: compress: fixed memory corruption in operations with small destination buffer; added unit tests for that case
* unit_tests: proper test skipping; better selective test interface
* unit_tests: moved 'loading' logging to proper location
Co-authored-by: あく <alleteam@gmail.com >
2024-05-20 18:23:47 +01:00
Willy-JL
4ec530c912
Revert "Keep power settings internal (fix wrong mA) +5kb DFU :("
...
This reverts commit 5bd168c24b .
2024-02-15 01:19:38 +00:00
Willy-JL
5bd168c24b
Keep power settings internal (fix wrong mA) +5kb DFU :(
2024-02-14 19:11:23 +00:00
Willy-JL
acc352e61f
Make settings menus external -21.7kb DFU
2024-02-14 04:36:48 +00:00
Willy-JL
80bff5ade8
Allow resources for faps with firmware
2023-11-16 03:04:21 +00:00
Willy-JL
a4d01d5d88
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-11-16 02:19:28 +00:00
hedger
98d5718ec9
fbt: improvements ( #3217 )
...
* fbt: changed cdefines & lib handling for external apps; added extra checks for app manifest fields; moved around AppsC generator
* fbt: commandline fixes for spaces in paths
* fbt: fixed stringification for FAP_VERSION
* fbt: Removed excessive quoting for gdb
* docs: update for cdefines; fbt: typo fix
* fbt: enforcing at least 2 components in app version=
Co-authored-by: あく <alleteam@gmail.com >
2023-11-16 01:27:35 +09:00
Willy-JL
418f44fef1
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-11-12 02:56:30 +00:00
hedger
0d94abf856
fbt: dist improvements ( #3186 )
...
* fbt: MENUEXTERNAL apps now respect build configuration; fixed `fap_deploy`
* fbt, ufbt: better message for missing app manifests (shows real paths)
Co-authored-by: あく <alleteam@gmail.com >
2023-11-02 22:28:39 +09:00
hedger
917410a0a8
[FL-3629] fbt: reworked assets & resources handling ( #3160 )
...
* fbt: reworking targets & assets handling WIP
* fbt: dist fixes
* fbt: moved SD card resources to owning apps
* unit_tests: moved resources to app folder
* github: updated unit_tests paths
* github: packaging fixes
* unit_tests: fixes
* fbt: assets: internal cleanup
* fbt: reworked assets handling
* github: unit_tests: reintroducing fixes
* minor cleanup
* fbt: naming changes to reflect private nature of scons tools
* fbt: resources: fixed dist archive paths
* docs: updated paths
* docs: updated more paths
* docs: included "resources" parameter in app manifest docs; updated assets readme
* updated gitignore for assets
* github: updated action versions
* unit_tests: restored timeout; scripts: assets: logging changes
* gh: don't upload desktop animations for unit test run
Co-authored-by: あく <alleteam@gmail.com >
2023-10-31 00:17:30 +09:00
Willy-JL
c5d44fed34
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-10-24 02:37:11 +01:00
hedger
35c903494c
[FL-3627, FL-3628, FL-3631] fbt: glob & git improvements ( #3151 )
...
* fbt: optional shallow submodule checkout
* fbt: more git threads by default
* fbt: git condition fix
* fbt: renamed FBT_SHALLOW to FBT_GIT_SUBMODULE_SHALLOW
* github: enabled FBT_GIT_SUBMODULE_SHALLOW in flows
* fbt: always compile icons' .c, even if user does not specify a proper source glob; changed glob to require files at user-specified paths to exist
* fbt: fail build for missing imports in .faps
* fbt: moved STRICT_FAP_IMPORT_CHECK to commandline options; enabled by default
* ufbt: enabled STRICT_FAP_IMPORT_CHECK
Co-authored-by: あく <alleteam@gmail.com >
2023-10-23 18:55:36 +09:00
Willy-JL
4ad6297285
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev --nobuild
2023-09-30 19:26:24 +01:00
hedger
1891d54baf
[FL-3600] Added fal_embedded parameter for PLUGIN apps ( #3083 )
...
* fbt, ufbt: added `fal_embedded` parameter for PLIGIN apps, to embed them into .fap
* fbt: fixed dependency settings for assets
* fbt: extapps: Removed unneeded casts
* fbt: extapps: code simplification
* fbt: fal_embedded: fixed dependency relations
Co-authored-by: あく <alleteam@gmail.com >
2023-09-21 21:56:00 +09:00
Willy-JL
02a50dda1f
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-09-08 04:11:19 +02:00
hedger
452e27b05e
github: workflow improvements ( #3032 )
...
* github: compact build: status reporting step
* github: build: matrix strategy
* debugging
* github: added version_token to /uploadfiles request
* github: reworked main build flow
* github: suppressed non-zero cp status
* github: build: fixed comment lookup; experimental changes to apps build order
* github: removed summary step for compact builds; united map analyzer steps
* fbt: added get_apiversion target; moved ext apps processing logic to AppBuildset
* ufbt: added missing global
* fbt: Moved incompatible app list to firmware config output
* fbt: cleaner extapps processing
* github: build: added automation for SDK publishing
2023-09-05 20:49:39 +09:00
Willy-JL
17a6822a09
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-08-27 22:14:33 +02:00
hedger
35cdefa1ca
Removed explicit dependency on scons for external scripting ( #2999 )
2023-08-23 02:11:53 +09:00
Willy-JL
1e2f2cc784
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild
2023-08-13 02:33:47 +02:00
hedger
7178bd20cf
ufbt: fixed FAP_SRC_DIR ( #2970 )
...
* fbt, ufbt: fixed "_appdir" internal property and FAP_SRC_DIR not working in ufbt environment
* fbt, ufbt: reworked CompileIcons(); added app's own root to app's #include path
* fbt: cleaner resolve_real_dir_node
Co-authored-by: あく <alleteam@gmail.com >
2023-08-11 01:21:56 +09:00
Willy-JL
8d16b0e8f5
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-07-18 17:17:34 +01:00
hedger
309f65e401
[FL-3437] fbt: build target for faps ( #2888 )
...
* fbt: added build target for faps. Usage: ./fbt build APPSRC=<appid>
* Updated docs & vscode config
* Code cleanup
2023-07-18 13:39:30 +04:00
ClaraCrazy
37b6375aaa
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev
2023-07-17 18:23:18 +02:00
hedger
20f6394ad8
[FL-3431] Radio headers in SDK ( #2881 )
2023-07-17 11:51:15 +04:00
Willy-JL
49167866ea
Fix default MENUEXTERNAL category
2023-07-14 04:12:18 +02:00
Willy-JL
ef907152b4
Remove FAPP and fix main menu
2023-07-13 20:42:01 +02:00
Willy-JL
9d1987e661
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-07-13 20:08:56 +02:00
Sergey Gavrilov
9b2d80d6b7
[FL-3400] External menu apps ( #2849 )
...
* FBT, applications: add MENUEXTERNAL app type
* FBT, uFBT: build MENUEXTERNAL as EXTERNAL app
* Loader menu: show external menu apps
* LFRFID: move to sd card
* FBT: always build External Applications list
* Archive: look for external apps path
* Infrared: move to sd card
* Apps: add "start" apps
* iButton: move to sd card
* BadUSB: move to sd card
* External apps: update icons
* GPIO: move to sd card
* Loader: look for external apps path
* U2F: move to sd
* SubGHz: move to sd
* Apps: "on_start" metapackage
* NFC: move to sd
* Sync f7 and f18
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-07-10 12:03:41 +04:00
Willy-JL
81f1135839
Use standard "assets" dir for FAPPs
2023-06-25 23:06:01 +01:00
Willy-JL
71d1c1d0f1
FAPP(TM) support
2023-06-25 22:39:15 +01:00
Willy-JL
888e325fa7
Begone retarded comment
2023-06-25 22:14:33 +01:00
Willy-JL
1a0f51bd25
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-06-25 20:57:33 +01:00
Willy-JL
99cd94f39f
Revert extmainapp stuff
2023-06-25 20:35:40 +01:00
Sergey Gavrilov
761a14e6e2
[FL-2837][FL-3270] Loader refaptoring: second encounter ( #2779 )
...
* Core: rename internal FlipperApplication to FlipperInternalApplication
* FAP Loader: move load_name_and_icon to flipper_application library
* Loader menu: rework api
* View holder: move to gui service
* Loader: simple "loading" worker
* Loader: applications dialog
* Loader: fapping
* Update f18 api
* Apps: remove fap_loader
* Libs, flipper application: store args, rename thread allocation
* Loader: error handling
* Apps: use loader error handling
* Loader: documentation
* FBT: accomodate loader
* Loader: do not raise gui error if loader is locked
* Archive: accomodate loader
* Loader: fix loading message
* Flipper: drop some old dolphin legacy
* Loader: generalize error construction
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-06-23 21:01:40 +09:00
Willy-JL
c8ac5cc7b4
Revert "Option to preload extmainapps or not"
...
This reverts commit 33b8519202 .
2023-06-23 00:47:19 +01:00
Willy-JL
4ff29e8910
Revert "Preload extmainapps"
...
This reverts commit fc56e39075 .
2023-06-23 00:46:34 +01:00
Willy-JL
4955567148
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-06-07 19:44:35 +01:00
hedger
754e640c8d
[FL-3246] fbt, ufbt: added checks for appid in app manifests( #2720 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-06-07 11:14:33 +09:00
Willy-JL
33b8519202
Option to preload extmainapps or not
2023-05-28 17:03:23 +01:00
Willy-JL
fc56e39075
Preload extmainapps
2023-05-28 00:27:58 +01:00
Willy-JL
805f14b996
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-22 14:27:27 +01:00
MX
d9fc408d96
fbt: Use union for old py ( #2685 )
2023-05-21 21:50:38 +04:00
MX
d7db7b8b67
fix builds for old pythons
2023-05-21 20:18:09 +03:00
Willy-JL
04102b35ae
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-14 19:52:54 +01:00
hedger
8d1f5b04b3
[FL-3317] fbt: allow strings for fap_version field in app manifests ( #2672 )
2023-05-14 20:49:52 +09:00
Willy-JL
22e0d83ab7
Merge branch 'ofw-dev' into xfw-dev
2023-05-04 01:42:30 +01:00
hedger
c3ececcf96
[FL-3174] Dolphin builder in ufbt; minor ufbt/fbt improvements ( #2601 )
...
* ufbt: added "dolphin_ext" target (expects "external" subfolder in cwd with dolphin assets); cleaned up unused code
* ufbt: codestyle fixes
* scripts: fixed style according to ruff linter
* scripts: additional cleanup & codestyle fixes
* github: pass target hw code when installing local SDK with ufbt
* ufbt: added error message for missing folder in dolphin builder
* scripts: more linter fixes
* sdk: added flipper_format_stream; ufbt: support for --extra-define
* fbt: reduced amount of global defines
* scripts, fbt: rearranged imports
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-05-03 14:48:49 +09:00
Willy-JL
265473dff6
Better integrate external main apps
2023-03-28 21:23:42 +01:00