Giacomo Ferretti
f68cffef8d
Add function to add a lockable submenu item
...
This will prevent to break existing apps
2023-03-20 20:58:05 +00:00
Willy-JL
cfecf5d5d6
Support locked items in varitemlist
2023-03-20 20:12:20 +00:00
Hugo Grostabussiat
be8387afb5
crypto: Erase key from RAM after storing into enclave
...
When storing a new unique secret key in the secure enclave, it is
temporarily stored in a stack buffer accessible by CPU1.
Since it is a secret key, it should not be kept in memory as it could
be leaked.
This commit calls the explicit_bzero() function from the libc to ensure
that the buffer containing the key is cleared. Unlike with bzero() and
memset(), the compiler won't optimize away calls to explicit_bzero().
2023-03-20 18:57:27 +00:00
Willy-JL
6fd4949bcf
Fix subghz remote api symbols ( #175 )
2023-03-20 17:24:37 +00:00
Nikolay Minaylov
0444a80f19
[FL-3134] BadUSB: Script interpreter refactoring ( #2485 )
...
* Script command and character tables
* Non-blocking stringdelay, docs update
* altchar/altstring fix
* Layout select UI fix
* Remove debug print
Co-authored-by: あく <alleteam@gmail.com >
2023-03-21 02:22:03 +09:00
MX
5660111b28
Merge branch 'fz-dev' into dev
2023-03-20 20:04:22 +03:00
Georgii Surkov
0917494a80
[FL-3168] Add one_wire lib to f18, separate ibutton ( #2509 )
...
* Separate ibutton to its own module, add one_wire to f18
* Move onewire cli to a separate app
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-03-21 01:23:17 +09:00
Sergey Gavrilov
f7024cff78
SD Driver: reinit sd card on error ( #2493 )
...
* SD Driver: reinit sd card on error
* SD Driver: cleanup fatfs bindings
* Storage: optimized glue
* Storage: move fatfs initialization to appropriate subsystems, minor code cleanup
* SD Driver: minor code cleanup
Co-authored-by: あく <alleteam@gmail.com >
2023-03-20 22:09:10 +09:00
Willy-JL
e6f9c0ee61
Add initial RGB backlight support
2023-03-20 03:55:26 +00:00
Willy-JL
09bc580497
Merge branch 'ul-dev' into xfw-dev
2023-03-17 23:52:05 +00:00
MX
58d4f3b531
OFW PR: 2493 - SD Driver: reinit sd card on error
...
No issues was found during my own testing and running sd benchmarks, sorry for rushing, I may miss something, usually I prefer to wait for official review
2023-03-18 02:50:05 +03:00
Willy-JL
f64168183a
Fix subghz bypass logic
2023-03-17 21:49:18 +00:00
MX
2cefc9aab0
Security+ 2.0 custom buttons
2023-03-16 18:14:39 +03:00
Willy-JL
220b67372e
Expose fap_loader_load_name_and_icon in API
2023-03-15 02:27:52 +00:00
Willy-JL
9bfcf08b22
Scrollable text support center alignment
2023-03-14 22:10:04 +00:00
Willy-JL
5910ea0e52
Make subghz remote external
2023-03-14 17:51:23 +00:00
MX
dd99c22792
Merge branch 'fz-dev' into dev
2023-03-14 19:55:16 +03:00
hedger
53435579b3
[FL-3097] fbt, faploader: minimal app module implementation ( #2420 )
...
* fbt, faploader: minimal app module implementation
* faploader, libs: moved API hashtable core to flipper_application
* example: compound api
* lib: flipper_application: naming fixes, doxygen comments
* fbt: changed `requires` manifest field behavior for app extensions
* examples: refactored plugin apps; faploader: changed new API naming; fbt: changed PLUGIN app type meaning
* loader: dropped support for debug apps & plugin menus
* moved applications/plugins -> applications/external
* Restored x bit on chiplist_convert.py
* git: fixed free-dap submodule path
* pvs: updated submodule paths
* examples: example_advanced_plugins.c: removed potential memory leak on errors
* examples: example_plugins: refined requires
* fbt: not deploying app modules for debug/sample apps; extra validation for .PLUGIN-type apps
* apps: removed cdefines for external apps
* fbt: moved ext app path definition
* fbt: reworked fap_dist handling; f18: synced api_symbols.csv
* fbt: removed resources_paths for extapps
* scripts: reworked storage
* scripts: reworked runfap.py & selfupdate.py to use new api
* wip: fal runner
* fbt: moved file packaging into separate module
* scripts: storage: fixes
* scripts: storage: minor fixes for new api
* fbt: changed internal artifact storage details for external apps
* scripts: storage: additional fixes and better error reporting; examples: using APP_DATA_PATH()
* fbt, scripts: reworked launch_app to deploy plugins; moved old runfap.py to distfap.py
* fbt: extra check for plugins descriptors
* fbt: additional checks in emitter
* fbt: better info message on SDK rebuild
* scripts: removed requirements.txt
* loader: removed remnants of plugins & debug menus
* post-review fixes
2023-03-14 23:29:28 +09:00
Willy-JL
39ddf75f91
Merge branch 'ul-dev' into xfw-dev
2023-03-14 01:07:01 +00:00
MX
c560394358
External module power bug fixes
2023-03-13 18:43:50 +03:00
Sergey Gavrilov
c5db1aaaf5
Revert "Revert "Embed assets in elf file ( #2466 )""
...
This reverts commit a04c01a2fd .
2023-03-10 13:57:44 +03:00
Sergey Gavrilov
a04c01a2fd
Revert "Embed assets in elf file ( #2466 )"
...
This reverts commit 4fd043398a .
2023-03-10 01:43:46 +03:00
MX
68fed0e03d
Merge branch 'fz-dev' into dev
2023-03-09 21:17:57 +03:00
Michal Suchánek
780da7d4d5
Upside down / left handed orientation support ( #2462 )
...
* Add backup files to .gitignore
* Added lefty support in Settings > System > hand Orient: Fixes : #1015
* Left handed mode
* Fix lefthanded mode on vertical interfaces
* Input: new composite sequence identifier
* Gui: move input mapping from Canvas to ViewPort, properly handle input mapping on View switch in ViewDispatcher
* Rpc: proper input sequencing and tagging in RpcGui
* Rpc: remove magic from RpcGui
Co-authored-by: MrDaGree <5050898+MrDaGree@users.noreply.github.com >
Co-authored-by: Willy-JL <willy.leslie@icloud.com >
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com >
2023-03-10 02:13:18 +09:00
Sergey Gavrilov
4fd043398a
Embed assets in elf file ( #2466 )
...
* FBT: file_assets generator
* Elf file: process manifest section externally
* FBT, file_assets generator: add assets signature
* Storage: assets path alias
* Flipper application: assets unpacker
* Apps, Storage: use '/data' alias for apps data
* Storage: copy file to file
* Assets: log flag, fixes
* Update f18 api
* Assets: asserts
* Assets: fix signature_data check
* App assets: example
* Example assets: fix folder structure in readme
* Assets: fix error handling
* Assets builder: use ansii instead of utf-8, use .fapassets section instead of .fapfiles, add assets path to signature
* Elf file: comment strange places
* Storage: totaly optimized storage_file_copy_to_file
2023-03-10 01:01:53 +10:00
Willy-JL
c60547f82d
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-09 01:58:42 +00:00
MX
1249ce9b94
Option to disable auto 5v power for external radio module
...
Now you can use 3.3v modules without wasting a battery (bonus a bit low noise on power line)
2023-03-09 04:02:31 +03:00
Willy-JL
9968b2ff0f
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-09 00:22:52 +00:00
MX
7a413f390d
NFC Magic fix - reinit nfc at start
2023-03-09 02:18:51 +03:00
MX
16df48bac6
Fix external module power disable
2023-03-09 01:23:57 +03:00
Willy-JL
f53b962722
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-08 22:16:39 +00:00
MX
ab91dc1882
External module 5v power issues fixes
2023-03-08 01:09:17 +03:00
MX
cad2f2a065
Merge branch 'fz-dev' into dev
2023-03-08 00:46:38 +03:00
Willy-JL
07edb7eea8
Format
2023-03-07 19:15:54 +00:00
AloneLiberty
eb5dae1cda
NFC: Support reading Mifare Classic key B from sector trailer, reading sector with B key where A key can't read block, Nfc Magic app not using NFC folder by default (in file select) ( #2437 )
...
* NFC: Support reading Mifare Classic key B from sector trailer and reusing it for other sectors
* NFC: Fix my pointer typo
* NFC: Fix reading sector with B key where A key can't read block (fixes #2413 ) and fix Nfc Magic app not using NFC folder by default (in file select)
* NFC: Fix strange bug
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-03-08 03:33:59 +09:00
Willy-JL
0563f6e758
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-07 17:09:43 +00:00
MX
f0471a62e5
Merge branch 'fz-dev' into dev
2023-03-07 16:45:40 +03:00
Astra
9819306731
[Fl-3147] Remove ValueMutex ( #2467 )
...
* Move keypad_test to furi_mutex
* Move text_box_test to furi_mutex
* Move snake_game to furi_mutex
* Remove ValueMutex completely
* Snake Game: simplify code and fix PVS warning
* F18: sync API symbols
Co-authored-by: あく <alleteam@gmail.com >
2023-03-07 22:09:45 +09:00
MX
e0905597fc
Merge branch 'fz-dev' into dev
2023-03-07 13:09:06 +03:00
Willy-JL
05d6cbfc6a
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-06 17:40:02 +00:00
MX
6511252140
Fix external module power init
2023-03-06 14:23:59 +03:00
Michal Suchánek
c0e0403b44
Fix SD card CID parsing ( #2463 )
...
The recent SD rewrite dropped a couple of lines from the CID parsing
function resulting in zero manufacturing date displayed.
Signed-off-by: Michal Suchanek <msuchanek@suse.de >
2023-03-06 16:44:26 +09:00
MX
f25af91d23
Fix issues with external module 5v power
2023-03-06 10:08:59 +03:00
Willy-JL
479b8d8deb
Add dolphin state and xtreme to api headers
2023-03-04 22:05:19 +00:00
Willy-JL
46831db533
Update apis
2023-03-04 03:58:32 +00:00
Willy-JL
cf015818c3
Update f18 apis
2023-03-04 03:31:26 +00:00
Willy-JL
876229db51
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-03-04 02:55:19 +00:00
MX
b90060e574
Merge branch 'fz-dev' into dev
2023-03-03 23:22:40 +03:00
Skorpionm
72ca6b25e9
[FL-3106] SubGhz: better and more verbose error handling in protocols, stricter CAME validation ( #2443 )
...
* SubGhz: add error protocol
* WS: add error protocol
* SubGhz: error processing
* SubGhz: more stringent CAME protocol restrictions
* SubGhz: fix header duration CAME protocol
* SubGhz: delete comments
* SubGhz: sync SubGhzProtocolStatus with FuriStatus
* SubGhz: update documentation and bump api_version
Co-authored-by: あく <alleteam@gmail.com >
2023-03-04 00:09:13 +09:00
Willy-JL
f306261193
Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into fix-bad_kb_bt-flipper_app-conflict
2023-03-02 23:44:24 +00:00