doomwastaken
c31f7338ef
fixed tests and removed unnecessary data
2023-10-06 15:45:53 +03:00
doomwastaken
d6971a42c8
changes to pm3 wrapper and code example, some of it is deprecated and needs refactor
2023-10-06 15:32:01 +03:00
doomwastaken
4a6dcb9d17
added proxmark3 support, added nfc test and nfc/readme.md for nfc team
2023-10-06 15:24:28 +03:00
doomwastaken
8e19907520
Merge branch 'dev' into doom/2991-e2e-runner
2023-10-04 10:37:18 +03:00
Max Andreev
9898a5d0dd
Enable PVS Studio license check ( #3122 )
2023-10-02 18:51:41 +09:00
doomwastaken
3f9354f669
Revert "Fix "Apps" ref"
...
This reverts commit cf75d442b2 .
2023-09-25 13:01:56 +03:00
doomwastaken
193d113d27
Merge branch 'dev' into doom/2991-e2e-runner
2023-09-25 11:56:27 +03:00
hedger
e1030e7999
fbt: reworked tool path handling ( #3105 )
...
* fbt: removed absolute paths from env setup; moved abs paths to cdb tool
* fbt: moved tool lookup to cdb emitter
* fbt: cdb: quote only tools with spaces in path
* typo fix
* fbt: pvs: suppress license expiration warning
2023-09-25 14:04:34 +09:00
Hellitron
cf75d442b2
Fix "Apps" ref
2023-09-21 18:55:10 +03: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
あく
338fc3afea
New clock switch schema, fixes random core2 crashes ( #3008 )
...
* Updated stack to 1.17.0
* hal: ble: Fixed stack config
* Bumped stack version in config
* scripts: added validation of copro stack version in update bundles
* Copro: update to 1.17.2
* FuriHal: adjust tick frequency for HSE as sys clk
* FuriHal: adjust systick reload on sys clock change
* Sync api and format sources
* scripts: updated ob.data for newer stack
* FuriHal: return core2 hse pll transition on deep sleep
* FuriHal: cleanup ble glue
* FuriHal: rework ble glue, allow shci_send in critical section
* FuriHal: sync api symbols
* FuriHal: cleanup BLE glue, remove unused garbage and duplicate declarations
* FuriHal: BLE glue cleanup, 2nd iteration
* FuriHal: hide tick drift reports under FURI_HAL_OS_DEBUG
* Lib: sync stm32wb_copro with latest dev
* FuriHal: ble-glue, slightly less editable device name and duplicate definition cleanup
* FuriHal: update ble config options, enable some optimizations and ext adv
* FuriHal: update clock switch method documentation
* FuriHal: better SNBRSA bug workaround fix
* FuriHal: complete comment about tick skew
* FuriHal: proper condition in clock hsi2hse transition
* FuriHal: move PLL start to hse2pll routine, fix lockup caused by core2 switching to HSE before us
* FuriHal: explicit HSE start before switch
* FuriHal: fix documentation and move flash latency change to later stage, remove duplicate LL_RCC_SetRFWKPClockSource call
---------
Co-authored-by: hedger <hedger@nanode.su >
Co-authored-by: hedger <hedger@users.noreply.github.com >
2023-09-19 18:22:21 +04:00
あく
1c0276a0be
Various Fixes and Improvements ( #3059 )
...
* FuriHal: lower MGG display contrast by 4 points
* FuriHal: unify external gpio resources initialization
* Infrared: parse raw in universal TV file, cleanup it with new ifrared script. Other minor changes.
* Gui: fix elements_multiline_text_aligned eating symbols
* Lib: human readable errors in flipper application package
* Special request from marketing team
2023-09-11 16:23:00 +10: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
doomwastaken
b6bd764dc4
Merge branch 'dev' into doom/2991-e2e-runner
2023-09-04 12:29:57 +03:00
Sergey Gavrilov
809418b9da
[FL-3563] StorageListRequest: size filter ( #3018 )
...
* Protobuf: size filter
* Update protobuf
* Scripts: types for fwflash.py
* RPC: handle fliter for StorageListRequest
* RPC: StorageListRequest tests for filtering
* Fix unit tests configuration
* Assets: sync protobuf with upstream
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-09-01 10:23:37 +09:00
doomwastaken
d85e06587c
merged dev
2023-08-24 12:28:08 +03:00
hedger
56b5b35236
Intelligent probing with warnings for fwflash.py ( #3005 )
...
* scripts: fwflash: intelligent probing with warnings
* scripts: fwflash: better texting
Co-authored-by: あく <alleteam@gmail.com >
2023-08-24 03:04:12 +09:00
Konstantin Volkov
4ade0fc76d
[FL-3421] Unit bench: multiple attempts to find flipper ( #2960 )
...
* Unit bench: added retry count for finding flipper for reboot/reboot2dfu and power off scripts. Changed returns to sys.exit() since scripts are being used standalone
* fixed typo in await flipper and changed debug level to info for searching flipper in power.py
* reversed return operator instead of sys.exit, changed app.py exit behavior
* test run to see if exit(1) fails the run
* reversed test changes, fixed flipper name and increased await flipper timeout
* await after flash increase
* increased serial timeout
* increased serial timeout, apparently it is for entire run
Co-authored-by: doomwastaken <k.volkov@flipperdevices.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-08-23 21:51:02 +09: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
Astra
e353433cd8
[FL-3488] Assign tickets to all TODO items ( #2988 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-08-23 02:56:27 +09:00
hedger
35cdefa1ca
Removed explicit dependency on scons for external scripting ( #2999 )
2023-08-23 02:11:53 +09: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
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
Sergey Gavrilov
498aee20a2
uFBT: devboard_flash to update WiFi devboard ( #2969 )
...
* uFBT: devboard_flash to update WiFi devboard
* uFBT: help
2023-08-10 21:29:44 +09:00
あく
2702c00ba4
Scripts: OB recovery ( #2964 )
...
* Scripts: OB recovery
* Scripts: slightly different ob
* Scripts: remove excessive return
* Scripts: simplifying work with registers
* Make PVS happy
Co-authored-by: SG <who.just.the.doctor@gmail.com >
2023-08-10 19:45:17 +10:00
Alexandre L
d9e931b7b7
fbt: Fix building using path with space ( #2948 )
...
* fbt: Fix building on Windows using path with space
* scripts: Fixed formatting
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2023-08-09 04:46:07 +04:00
doomwastaken
41e101ff5b
Merge branch 'dev' into doom/2991-e2e-runner
2023-08-07 15:27:52 +03:00
ImagineVagon333
5c65c8687e
Changed Apps icon reference, small change in test applications, removed readline call
2023-08-07 15:01:37 +03:00
Lesha Lomalkin
c7648eb932
fbtenv: add additional environ variable to control execution flow ( #2938 )
...
* fbtenv: add flags FBT_PRESERVE_TAR, FBT_SKIP_CHECK_SOURCED for usage with external tools
* fbtenv: beautify, add info to fbtenv_print_config section if FBT_VERBOSE
* fbtenv: fixes
Co-authored-by: あく <alleteam@gmail.com >
2023-08-03 00:38:51 +09:00
Nikolay Minaylov
a2a4fa8cda
[FL-3408, FL-3429, FL-3430] Backlight notification fix ( #2878 )
...
* Notifications: display brightness override fix
* FuriHalVersionColor update
* float comparison fix
Co-authored-by: あく <alleteam@gmail.com >
2023-08-01 16:56:11 +09:00
doomwastaken
a07a97bd26
minor typos
2023-07-31 11:05:09 +03:00
doomwastaken
71ba38e7ad
fixed subghz test and apps test
2023-07-31 10:17:12 +03:00
doomwastaken
d420475622
lint python + dev merge
2023-07-31 09:23:04 +03:00
Max Andreev
ff2e1acfdb
Fix fbtenv restore ( #2924 )
2023-07-28 23:45:27 +04:00
Hellitron
2d40ab0b6c
Some minor fixes for Windows
2023-07-28 18:05:06 +03: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
hedger
20f6394ad8
[FL-3431] Radio headers in SDK ( #2881 )
2023-07-17 11:51:15 +04:00
Max Andreev
a319a6fdf2
Update toolchain to v23 ( #2824 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-07-11 19:36:15 +04:00
Hellitron
af06983b77
Update to last Dev, added script for creating all NFC cards from "Add Manualy"
2023-07-10 20:23:31 +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
Hellitron
84a2209f50
Merge remote-tracking branch 'origin/doom/2991-e2e-runner' into doom/2991-e2e-runner
2023-07-03 17:56:32 +03:00
Hellitron
78589cf3b9
Updated test for RC 0.86.0
2023-07-03 17:54:17 +03:00
doomwastaken
bea57868b5
lint changes and typo
2023-06-29 20:00:24 +03:00
doomwastaken
3295850f28
minor tweaks
2023-06-29 19:52:49 +03:00
doomwastaken
2a94ec3613
Merge branch 'dev' into doom/2991-e2e-runner
2023-06-29 18:47:38 +03:00
Sergey Gavrilov
645a7c5989
[FL-3386] Fast FAP Loader ( #2790 )
...
* FBT: build and add FastFAP(tm) sections
* Elf file: fast loading fap files. Really fast, like x15 times faster.
* fastfap.py: cleanup unused imports
* Toolchain: 23 version
* Elf File: remove log messages
* Scripts: fix file permissions
* FBT: explicit interpreter for fastfap invocation
Co-authored-by: あく <alleteam@gmail.com >
2023-06-28 17:19:10 +09:00
Konstantin Volkov
e680cf59b6
Actions: unit_test and updater timeouts ( #2807 )
...
* added some extra timeouts, fixed duration of units run command and minor logging changes. No list_ports yet needed
* increased timeouts
* make pvs happy
---------
Co-authored-by: doomwastaken <k.volkov@flipperdevices.com >
Co-authored-by: SG <who.just.the.doctor@gmail.com >
2023-06-28 06:47:13 +10: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
あく
4ddfe05a59
Debug: sync apps on attach, makes it possible to debug already started app that has crashed ( #2778 )
2023-06-16 10:48:57 +04:00
hedger
2312fe5bfc
[FL-3361] fbt: stable build dates ( #2751 )
...
* scripts: using commit date for clean build timestamp; current day otherwise
* scripts: version: Removing GIT_COMMIT_DATE from final data
Co-authored-by: あく <alleteam@gmail.com >
2023-06-09 21:27:47 +09:00