Willy-JL
db1d51cf24
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2024-02-12 03:16:30 +00:00
hedger
14dabf523a
New toolchain with gcc 12 ( #3254 )
...
* changes for xPack 12.3
* support for gcc 13.2
* Update tools name
* Add new linux toolchain
* Fixed copro submodule
* Fix gdb-py
* Fixes for c++ apps
* Fix gdb-py3, add udev rules
* Fixed udev rules location
* Add MacOS arm, fix fbt toolchain download
* Fixed downloading error file
* fbt: fixed linker warnings; removed gcc 10 from list of supported toolchains
* ufbt: fixed supported toolchain versions
* nfc: replaced local malloc with calloc
* restored code with Warray-bounds to older state
* Update fbtenv.cmd
* Suppressing warnings
* Bump to 25
* Bump to 26
* lint: reformatted macros for new clang-format
* Bump to 27
* Fix m type word
* Bump to 28
* furi: added FURI_DEPRECATED macro
* scripts: toolchain download on Windows: fixing partially extracted cases
Co-authored-by: DrunkBatya <drunkbatya.js@gmail.com >
2024-02-12 09:04:12 +07:00
Willy-JL
026eef7db9
We can haz debugger support!!!!! Begone -Og
2024-02-10 03:20:37 +00:00
Willy-JL
41a7c3dbbf
Remove debug and other bs from updater.bin
2024-02-09 06:19:49 +00:00
Willy-JL
8872cd8f9d
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev --nobuild
2023-12-30 00:24:26 +01:00
MX
78d1507f14
Merge branch 'ofw_dev' into dev
2023-12-19 16:27:23 +03:00
hedger
1e1d9fcb69
ufbt: changed toolchain environment invocation; updated .gitignore for app template ( #3300 )
2023-12-19 12:43:06 +00:00
MX
a64c9534e2
Merge branch 'ofw_dev' into dev
2023-11-17 02:20:27 +03: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
MX
bee48f483c
Merge branch 'ofw_dev' into nfcrefactoring
2023-11-01 21:07:33 +03: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
MX
2958e5cef3
Merge branch 'ofw_dev' into dev
2023-10-23 21:40:52 +03: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
02a50dda1f
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-09-08 04:11:19 +02:00
MX
fdb9748acc
Merge branch 'ofw_dev' into dev
2023-09-05 16:22:49 +03: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
184eb718e1
Cleanup some clutter --nobuild
2023-08-29 00:30:57 +02: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
MX
20593d56c0
Merge branch 'ofw-dev' into dev
2023-08-22 21:53:50 +03:00
hedger
ace0901125
[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 >
2023-08-23 03:33:10 +09:00
MX
15ac511dea
Merge branch 'ofw-dev' into dev
2023-08-16 16:52:43 +03:00
dogtopus
a7f0f5ad27
Improve vscode clangd experience ( #2431 )
...
* Improve vscode clangd experience
- Resolve and use absolute path for the toolchain. This allows clangd to use compile_commands.json file without running under fbtenv, simplifies setup for vscode clangd extension. As a side effect, a rebuild is needed to update compile_commands.json after moving the source tree.
- Add the recommended default settings of the extension to settings.json.
* Use build/latest for compile-commands-dir
This makes it behave closer to c-cpp-properties.
* Reformat crosscc.py
This is a PEP-8 violation but black seems to enforce it
* Bypass --query-driver
This has some security implications as it grants clangd the ability to execute any executables anywhere while trying to probe a compiler based on CDB. However it's very hard to do this the safe and intended way without resorting to config generation due to reason listed in #2431 . Besides that we already have workspace trust so what could go wrong? ;)
* Add an option for vscode_dist to switch between clangd and cpptools
This will install different extensions.json tuned for either clangd or cpptools based on user selection. It will also install c_cpp_properties.json when using cpptools since clangd doesn't use this file.
The root .gitignore now also doesn't accidentally ignore everything under the .vscode directory.
* Use absolute path for .vscode gitignore
Turns out the previously used "relative" paths aren't even valid gitignore patterns and to actually do what it means one needs to use the absolute paths instead.
* Handle variable parsing in commandline.scons
commandline.scons is the place where all other command line parsing happens. Move LANG_SERVER variable parsing there and add a constraint to make the code more consistent.
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2023-08-16 05:23:09 +04: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
MX
28a05d8f6b
finish moving apps
2023-08-12 04:47:18 +03:00
MX
4b81046b6f
Merge branch 'ofw-dev' into dev
2023-08-11 18:08:12 +03: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
Nikolay Minaylov
fb63e53d9a
[FL-3435] External apps removed ( #2934 )
...
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-08-10 06:18:40 +09:00
MX
2f532a547e
Merge branch 'ofw-dev' into dev
2023-07-18 22:53:16 +03: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
Willy-JL
913af0baf3
Even more subghz merge
2023-07-14 00:28:17 +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
MX
5fa0706d70
Merge branch 'dev' into cc1101_ext
2023-07-10 17:04:53 +03:00
MX
bb7ffd6ff5
Merge branch 'ofw-dev' into dev
2023-07-10 16:55:28 +03: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
Skorpionm
8c93695d01
[FL-3375] SubGhz: add CC1101 module external ( #2747 )
...
* SubGhz: add CC1101 Ext driver
* SubGhz: move TIM2 -> TIM17 use cc1101_ext
* FuriHal: SPI move channel DMA 3,4 -> 6.7
* Documentation: fix font
* SubGhz: add work with SubGhz devices by link to device
* SubGhz: add support switching external/internal cc1101 "subghz chat"
* SubGhz: add support switching external/internal cc1101 "subghz tx" and "subghz rx"
* SubGhz: add "Radio Settings" scene
* SubGhz: add icon
* SubGhz: add supported CC1101 external module in SubGhz app
* SubGhz: fix check frequency supported radio device
* SubGhz: fix clang-formatted
* Sughz: move dirver CC1101_Ext to lib , compile cmd ./fbt launch_app APPSRC=radio_device_cc1101_ext
* SubGhz: fix CLI
* SubGhz: fix PVS
* SubGhz: delete comments
* SubGhz: fix unit_test
* Format sources
* Update api symbols and drivers targets
* Drivers: find proper place for target option
* SubGhz: external device connected method naming
* Format sources
* SubGhz: fix module selection menu, when external is not connected
* SubGhz: fix furi_assert(device);
* SubGhz: fix split h and c
* SubGhz: furi_hal_subghz remove preset load function by name
* SubGhz: deleted comments
* Format Sources
* SubGhz: add some consts and fix unit tests
* Sync API Symbols
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-06-30 23:03:36 +09:00
Willy-JL
71d1c1d0f1
FAPP(TM) support
2023-06-25 22:39:15 +01:00
Willy-JL
99cd94f39f
Revert extmainapp stuff
2023-06-25 20:35:40 +01:00
gid9798
a191631c32
DIR_NAME and Drivers
2023-06-18 16:44:45 +03:00
MX
18220515b5
Merge branch 'ofw-dev' into dev
2023-06-08 14:58:46 +03:00
ClaraCrazy
b9f7008017
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev
2023-06-08 10:55:45 +02:00
hedger
436194e6c7
[FL-3346] fbt: added Flipper selection when multiple are connected over USB ( #2723 )
...
* fbt: added Flipper selection when multiple are connected over USB
* scripts: serial_cli: added --port (-p) option
2023-06-08 13:47:27 +09:00
Willy-JL
c35406689b
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-31 16:45:55 +01:00
MX
0ab530e750
Merge branch 'ofw-dev' into dev
2023-05-29 20:33:12 +03:00
hedger
8d2ea14f06
[FL-3330] fbt: added hooks for build & dist environments; added FW_ORIGIN_* macro for apps & SDK ( #2705 )
...
* fbt: added hooks for build & dist environments
* Moved env hooks to an optional file
* Fixed var name
* Added fw origin to device info
* Bumped device info version
* fbt: added FIRMWARE_ORIGIN option. Different implementation for FW_ORIGIN_* C macro.
* api: bumped versions
* fbt: added fbt_options_local.py
* gitignore: cleanup
Co-authored-by: あく <alleteam@gmail.com >
2023-05-30 01:40:56 +09:00
Willy-JL
0657aebf52
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-14 19:46:20 +01:00