Commit graph

6782 commits

Author SHA1 Message Date
MX
b35444e188
upd changelog 2024-06-15 16:15:16 +03:00
MX
5d4ed946cb
move part of the CLI to microsd to free up space for COMPACT 0 builds
CLI wrapper and idea by Willy-JL
2024-06-15 15:12:50 +03:00
MX
dac9ff6c13
upd changelog 2024-06-14 22:13:54 +03:00
MX
8b46e1c202
fix check [ci skip] 2024-06-14 19:38:50 +03:00
MX
899614fece
fix path [ci skip] 2024-06-14 19:01:50 +03:00
MX
5d6e105d03
possible fix for issue with subrem maps [ci skip]
subremote maps being unknown in favourites in rare cases
2024-06-14 18:31:37 +03:00
MX
b718a2eba1
Merge branch 'nfcfast' into dev 2024-06-14 18:30:41 +03:00
MX
d69d52f1df
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-14 18:17:09 +03:00
あく
a47a55bfee
Archive: fix memory leak in favorites add/remove (#3712) 2024-06-15 01:06:59 +10:00
MX
e6c240d363
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-14 17:43:34 +03:00
WillyJL
12c1d10246
Furi: Fix EventLoop state persisting on same thread after free (#3711)
* Furi: Fix EventLoop state persisting on same thread after free
* Furi: clear event loop notification state and value on allocation, report unprocessed events on free
* UnitTests: add multiple event loop runs in one thread test

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-06-14 15:00:34 +01:00
MX
f6e9dcbc01
load plugins only when needed, show loading anim 2024-06-14 16:49:09 +03:00
MX
f0a56af7fa
Revert "make NFC emulation loading from favourites faster"
This reverts commit 2cbd058dc2.
2024-06-14 14:15:49 +03:00
MX
2cbd058dc2
make NFC emulation loading from favourites faster 2024-06-14 03:48:39 +03:00
MX
c40a63ecec
upd changelog 2024-06-14 02:31:03 +03:00
MX
ec747892c9
Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2024-06-13 23:27:27 +03:00
あく
ca8517a1b0
Cli: top (#3707)
* Cli: top command to replace ps. Furi: ThreadList and thread enumeration routine.
* Sync API Symbols
* Cli: cleanup top output, add memory section. Furi: thread enumeration code cleanup. Fix doxygen and make pvs happy.
* Furi: iterator in thread_list instead of M_EACH, fix memory leak
* Update documentation
* Cli: customizable refres interval for top command
* Furi: add consistentency into float declaration in thread list
* FreeRTOSConfig: remove invalid comment

Co-authored-by: Sergei Gavrilov <who.just.the.doctor@gmail.com>
2024-06-13 18:07:13 +01:00
あく
5a8a13639b
[FL-3842] Desktop lockup fix, GUI improvements (#3710)
* Gui: increase ViewDispatcher messages queues size, improves event processing with blocking operations.
* Gui: fix log message text in view dispatcher, loosen some mutexes in view port
2024-06-14 02:47:43 +10:00
Zinong Li
e7d0afdc50
[LFRFID] Added Support for Securakey Protocol (#3697)
* Create protocol_securakey.c
* decode and render done
* Support for Radio Key Securakey
  Support both 26- and 32-bit format
  Solves issue #2619
* debugs and improvements
* Formatting in response to requested changes
* fixed wiegand parity bit calculation
* format
* debug unnecessary assert
* LfRfid: swap vendor and protocol names in securakey
* fixed manually generated keys issues
* fix bit length render error caused by bit length fix

Co-authored-by: あく <alleteam@gmail.com>
2024-06-13 12:55:51 +01:00
Sergei Gavrilov
730026c87a
[FL-3844] Loader: fix crash on "locked via cli loader" (#3706) 2024-06-13 12:38:24 +01:00
MX
295271ec8b
better install links in release 2024-06-12 19:56:40 +03:00
SG
4f6aff4bd1
Loader: fix crash on locked via cli loader 2024-06-12 19:55:42 +03:00
MX
198059e76c
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-12 19:52:16 +03:00
MX
fab79f2840
rework messages test 2024-06-12 19:26:45 +03:00
あく
70d2453bbc
VA Fixes: USB IRQ Handling and EP configuration, Thread handler shenanigans. (#3705)
* FuriHal: properly handle high priority USB IRQ, change CDC decriptor to use separate TX/RX endpoints
* Furi: drop task handle, cleanup casts and memory corrupt in threads
* FuriHal: update max power in USB descriptors
* Furi: properly handle thread free if thread was not started
* Furi crash: meaningful interrupt name instead of id

---------

Co-authored-by: SG <who.just.the.doctor@gmail.com>
2024-06-13 01:07:29 +10:00
MX
ab55a9405c
upd changelog 2024-06-12 14:05:08 +03:00
MX
798be4589a
Revert "revert usb cdc config changes to verify issue 3452"
This reverts commit eb013ab6ec.
2024-06-12 12:31:24 +03:00
MX
ceaf2d4153
add js adc
by jamisonderek

https://github.com/Next-Flip/Momentum-Firmware/pull/143/files
2024-06-12 12:31:10 +03:00
MX
949b55f31a
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-12 12:27:29 +03:00
Skorpionm
798e0c3e78
[FL-3840] SubGhz: fix navigation GUI (#3702) 2024-06-11 14:19:22 +01:00
MX
d4d5b1b55a
fix typo 2024-06-11 16:15:18 +03:00
MX
b1519ef58f
Merge remote-tracking branch 'OFW/skrorp/subghz_3840' into dev 2024-06-11 16:14:19 +03:00
SkorP
8d845e4563 SubGhz: fix navigation GUI 2024-06-11 15:46:44 +04:00
MX
181c59b30f
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-10 22:55:02 +03:00
Astra
cf8c82c451
[FL-3746] Mifare Plus detection support (#3607)
* Initial MFPlus draft
* Proper detection (WIP)
* Mifare Plus detection done
* Bump F18 API
* Alloc takes no arguments
* Fixes from code review
* Remove leftover logging
* Remove stray reminder comment
* Review changes and extra logging
* Fix atqa detection
* Fix incorrect comparison
* ATQA byte swap fix
* mf plus: code clean up
* mf plus: remove unused code
* mf plus: fix read fail event handling
* mf plus: fix return error codes
* mf plus: handle load and save errors
* mf plus: assert -> check in public API funxtion
* Bump API Symbols version
* Fix wrong feature mask
* Skylanders plugin separation
* Fix navigation
* Fix info box size

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-06-10 20:36:46 +01:00
あく
6d8b050eda
[FL-3833] Furi: event loop (#3675)
* Furi: epoll prototype

* Gui: simplify view_dispatcher custom event processing

* Furi: add missing critical sections to epoll

* Furi: add epoll unit tests, fully implement level processing for in and out events

* Furi: properly trigger epoll item event on adding mq, update tests.

* Unit tests: cleanup defines

* Furi: protect epoll from modification in callback

* Furi: rename epoll into event_loop, cleanup api naming

* Sync API Symbols

* Furi: add event loop contract and link api, port mq to new api, cleanup code

* Format Sources

* Furi: cleanup mq and event loop code

* Furi: remove unused staff from message queue

* ApiSymbols: remove event loop from public APIs.

* Fix furi unit tests

---------

Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com>
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2024-06-10 20:53:08 +03:00
あく
0bc400a3ae
Code Cleanup: unused includes, useless checks, unused variables, etc... (#3696)
* Remove unnecessary checks
* Sublime: never insert missing headers
* Cleanup furi defines use
* Cleanup startup. Cleanup linker scripts. Explicitly define all interrupts hadlers, including uninmplemented one.
* Startup routine in C
* Drop assembler startup
* Move linker defines to stm32wb55_linker.h, cleanup naming, unify usage. Mpu: protect last 32b of main stack. Document various obscure things.
* Move furi_hal_switch documentation to appropriate place, use 0x0 for updater jump.
* UnitTests: move all temporary test files into tmp folder

---------

Co-authored-by: SG <who.just.the.doctor@gmail.com>
2024-06-11 03:04:29 +10:00
MX
7f05a224be
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-09 16:05:06 +03:00
Skorpionm
ef0300d239
[FL-3840] SubGhz: fix gui "No transition to the "Saved" menu when deleting a SubGHz RAW file" (#3695)
* SubGhz: fix gui "No transition to the "Saved" menu when deleting a SubGHz RAW file"
* SubGhz: remove dead code

Co-authored-by: あく <alleteam@gmail.com>
2024-06-08 15:45:31 +01:00
RebornedBrain
467e973da2
[FL-3810] Felica emulation (#3673)
* Moved some structs and defs from poller to generic felica
* Buffer size increased for transferring more data
* Felica HAL Tx function implemented
* Some structs and fields for listener
* Raw listener implementation
* Added new event for felica activation
* Proper config fot listener added
* Moved some structs from poller in order to use them in listener too
* New function for calculating MAC
* Listener data structures and function definitions
* Private listener functions implementation added
* Raw felica listener logic implementation added
* Fix total sector count both for poller and listener
* Defined type for write handlers
* New logic for write operations added
* Removed old commented code
* Splitted read logic into several separate functions
* New type added and some fields to instance
* New logic of read command implemented
* Defines added for response codes
* Functions moved to private namespace
* Function visibility changed and some cleanups
* Update felica_listener.c, felica_listener_i.c, and felica_listener_i.h
* Some type adjustments
* Moved frame_exchange function to private namespace
* Error handling added
* Function to get data_ptr for write request added
* Missing declaration added
* Add processing of nfc errors
* write_with_mac is a local variable now
* Adjustments to MAC calculation logic
* Values replaced with defines
* Update nfc_transport.c with felica logic
* Sync felica poller added for unit tests
* Felica unit_tests and data dump added
* Fixed proper reading of MAC_A block when it is 1st
* Macro definitions for MC added
* Function simplified
* More defines
* CRC check for incomming packets added
* Readonly logic adjusted
* Block write validation adjusted
* New logic for ID block writing
* Some cleanups
* New logic of moving across the block list with different element length
* Some cleanups
* Adjusted requires_mac logic to cover all blocks needed
* Cleanups and renaming
* New block list validation logic
* Block list logic iteration simplified
* Some asserts and checks added
* Replaced MC[2] checks with macros
* Marked def values as unsigned
* Removed old code
* Removed commented function declarations
* Changed protected block in felica test card dump and adjusted tests
* Fixes after merge
* Moved defines to header
* Now we allocate memory for max possible response pack in any case
* Some renaming and documentation
* Bump api symbols
* Set feature to emulate full for felica
* Removed 'More' button and added MoreInfo feature which adds this button back
* Types renamed
* Removed unnecessary code
* Reformat comments
* Fixing missing signatures
* Replaced crash with error log and return value
* Format doxygen comments

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-06-08 15:24:51 +01:00
RebornedBrain
ba3beeddeb
[FL-3811] Write to ultralight cards is now possible (#3684)
* Added new function which returns end block for write operation
* Enabled write menu item also for Ultralight 11 and 21
* Fix api_symbols.csv for f18
* Bump Api Symbols

Co-authored-by: あく <alleteam@gmail.com>
2024-06-08 14:38:02 +01:00
WillyJL
2f9ca172e3
RPC: Add TarExtract command, some small fixes (#3685)
* RPC: Add TarExtract command
* Tar: Fix unpack when not at FS root
* RPC: Add missing storage state resets
* Fix dupe state reset
* Bump pb submodule
* Switch to latest protobuf release
* RPC: cleanup excessive furi_record calls in rpc_storage

Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-06-08 14:15:12 +01:00
RebornedBrain
7ff785d71f
[FL-3786] Fixed infinite loop in dictionary attack scene (#3686)
Co-authored-by: あく <alleteam@gmail.com>
2024-06-08 12:51:54 +01:00
Georgii Surkov
418a98c299
[FL-3808] Fix renaming directories with dots in archive (#3692) 2024-06-08 12:32:30 +01:00
MMX
ef97bd3cbe
Merge pull request #761 from nicou/bad-usb-add-finnish-keyboard-layout
BadUSB: Add Finnish keyboard layout
2024-06-06 20:51:27 +03:00
Nico Hagelberg
c81d7666a9 BadUSB: Add Finnish keyboard layout 2024-06-06 20:02:02 +03:00
MX
62ab6b7026
cleanup 2024-06-06 02:10:23 +03:00
MX
8dad9468d5
fix deprecated 2024-06-06 01:34:35 +03:00
MX
8938cbfc6e
add subghz protocol - legrand
by user890104

https://github.com/Next-Flip/Momentum-Firmware/pull/120/files
2024-06-06 01:33:47 +03:00
MX
0ea0416733
Merge branch 'nfc_mfplus' into dev 2024-06-06 01:13:27 +03:00