MX
f4529dc8c1
Merge remote-tracking branch 'OFW/dev' into dev
2025-09-29 23:11:36 +03:00
Ivan Barsukov
1e0f3a606f
cli: Buzzer command ( #4006 )
...
* Add args_read_float_and_trim function
* Add args_read_duration function
* Add notes_frequency_from_name function
* Add cli_sleep function and sleep CLI command
* Update CLI top command to use cli_sleep
* Add buzzer CLI command
* toolbox: make args_read_duration less convoluted
* notification: make notification_messages_notes_frequency_from_name less convoluted
* unit_tests: better float checking
* fix formatting and f18
---------
Co-authored-by: Anna Antonenko <portasynthinca3@gmail.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-09-29 21:53:10 +04:00
Leptopt1los
f78a8328d1
tm01x dallas write support ( #4230 )
...
Co-authored-by: hedger <hedger@nanode.su >
2025-09-29 21:13:33 +04:00
MX
93b4ad4595
Merge remote-tracking branch 'OFW/dev' into dev
2025-09-24 22:32:16 +03:00
Anna Antonenko
d0360625d6
[FL-3925] JS views finished ( #4155 )
...
* js: value destructuring and tests
* js: temporary fix to see size impact
* js_val: reduce code size 1
* i may be stupid.
* test: js_value args
* Revert "js: temporary fix to see size impact"
This reverts commit f51d726dbafc4300d3552020de1c3b8f9ecd3ac1.
* pvs: silence warnings
* style: formatting
* pvs: silence warnings?
* pvs: silence warnings??
* js_value: redesign declaration types for less code
* js: temporary fix to see size impact
* style: formatting
* pvs: fix helpful warnings
* js_value: reduce .rodata size
* pvs: fix helpful warning
* js_value: reduce code size 1
* fix build error
* style: format
* Revert "js: temporary fix to see size impact"
This reverts commit d6a46f01794132e882e03fd273dec24386a4f8ba.
* style: format
* js: move to new arg parser
* style: format
* feat: all js views done
* js, toolbox: generalize string owning
* toolbox: silence pvs warning
---------
Co-authored-by: hedger <hedger@nanode.su >
Co-authored-by: hedger <hedger@users.noreply.github.com >
2025-09-24 23:24:28 +04:00
hedger
0d5beedb01
BLE: improved pairing security ( #4240 )
...
* ble: use unique root security keys for new pairings after pairing reset; added migrations for existing pairing data; unit_tests: added migration tests
* bt: lower logging level
* hal: bt: updated doxygen strings
* hal: ble: Added checks for root_keys ptr
* service: ble: bt_keys_storage minor cleanup
2025-09-24 22:36:45 +04:00
dogtopus
dfd753703a
FeliCa Emulation: Handle certain Polling commands in firmware ( #4204 )
...
* FeliCa: Handle non-hardware Polling commands
NFC TagInfo and possibly other readers rely on Polling commands with Request Code of 1 (default System Code request) or non-FFFF System Code to detect card type. Since the NFC controller doesn't seem to handle them in hardware and simply bubbles them up, and then the Flipper firmware will just ignore them and refuse to respond afterwards, this causes the reading operation to fail.
This commit adds a simple handler for such Polling commands so that readers behaving like NFC TagInfo could read the emulated card without failing.
* Only handle cases when System Code is not FFFF
The NFC controller should handle Polling commands with the System Code set to FFFF, so it's not necessary for the firmware to handle it.
* Remove system code logging
* More cleanups
* Remove the claim that we need a poller change
We already have enough information to determine whether or not the card supports NDEF since SYS_OP register value is included in all current Lite-S card dumps.
* Respond to 12FC polling command when needed
* Handle Polling with NDEF and Lite-S Service Code
This allows the reader to specifically select the service by naming the Service Code.
* Introduce API for manual handling of Polling commands
Introduce nfc_felica_listener_timer_anticol_start() and nfc_felica_listener_timer_anticol_stop(). These are for now just wrappers around the block_tx timer that can be used to delay the response until the desired Time Slot. Thanks to the loose timing constraints of FeliCa collision resolution protocol, no compensation seems to be necessary. Also enabled the block_tx timer for FeliCa listener, but with both compensation and fdt set to 0 to keep the original behavior of not using the timer during normal data exchange.
This API is now being used for handling Polling commands that are not handled by the NFC controller on the hardware side.
* Document target_time_slot
* Implement changes suggested by @RebornedBrain
* api: f18 version sync
* nfc: added stubs for `nfc_felica_listener_timer_anticol` for unit tests
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-09-24 14:08:40 +04:00
MMX
0f713bc6e4
Merge pull request #899 from Leptopt1los/tm01x-dallas-write-support
...
TM01x Dallas write support
2025-05-14 18:36:02 +03:00
Methodius
e538bd7c8e
tm01x dallas write support
2025-05-14 16:32:17 +03:00
MX
9a57b19bfb
Merge remote-tracking branch 'OFW/dev' into dev [ci skip]
2025-04-12 19:08:58 +03:00
hedger
ddf77f58e3
sdk: bump API to force re-upload for the catalog ( #4186 )
2025-04-12 15:27:58 +04:00
WillyJL
868eb10381
SDK: Fix missing RECORD_CLI define ( #4185 )
...
* SDK: Fix missing RECORD_CLI define
* sdk: added compatibility `cli.h` header
* cli: updated porting comments
---------
Co-authored-by: hedger <hedger@nanode.su >
2025-04-12 07:21:39 +04:00
MX
edb327e50a
Merge remote-tracking branch 'OFW/dev' into dev
2025-04-07 18:01:37 +03:00
Anna Antonenko
eb0f5ef8c0
[FL-3947] Pinning of settings options ( #4077 )
...
* feat: pinning settings in favorites
* include archive in unit tests fw
* change settings icon
* update text with suggestions from the ui team
* Small touch of constness
---------
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-04-07 03:17:58 +04:00
MX
c8fc2fa7b3
Merge remote-tracking branch 'OFW/dev' into dev
2025-04-06 01:54:22 +03:00
MX
4f5cba4cd1
Revert "Merge remote-tracking branch 'OFW/gsurkov/vcp_break_support' into dev [ci skip]"
...
This reverts commit fc25c9fba0 , reversing
changes made to 41ae5d8981 .
2025-04-05 23:41:23 +03:00
Anna Antonenko
6b5d006690
[FL-3953] Application chaining ( #4105 )
...
* feat: app chaining
* add `launch_current_app_after_deferred`, remove `get_referring_application`
* fix naming
* new api
* fix f18
* fix deferred launches after errors
* fix: memory leak
* Updater: MIN_GAP_PAGES = 0
* loader: loader_get_application_launch_path doc
* loader: fix freeze
* loader: reject mlib, reduce code size
* loader: generic synchronous call, reduce size
* loader: reject furi_string, reduce size
* apps: debug: removed order field from manifests since it is no longer meaningful
---------
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-04-05 20:22:05 +04:00
Anna Antonenko
7192c9e68b
[FL-3965] Separate cli_shell into toolbox ( #4175 )
...
* cli_shell: separate into toolbox
* fix: cmd flags
* fix formatting
* cli: increase default stack depth
* cli_shell: fix loader lock logic
* cli: fix command flags
* fix f18
* speaker_debug: fix
* cli_registry: fix docs
* ufbt: rename cli target back
* cli: rename app and record
* cli: fix and simplify help command
* cli_master_shell: fix ext commands
* fix formatting
* cli: rename master to main
* fix formatting
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
2025-04-05 02:58:58 +04:00
Anna Antonenko
5dcf6b55ef
[FL-3928, FL-3929] CLI commands in fals and threads ( #4116 )
...
* feat: FuriThread stdin
* ci: fix f18
* feat: stdio callback context
* feat: FuriPipe
* POTENTIALLY EXPLOSIVE pipe welding
* fix: non-explosive welding
* Revert welding
* docs: furi_pipe
* feat: pipe event loop integration
* update f18 sdk
* f18
* docs: make doxygen happy
* fix: event loop not triggering when pipe attached to stdio
* fix: partial stdout in pipe
* allow simultaneous in and out subscription in event loop
* feat: vcp i/o
* feat: cli ansi stuffs and history
* feat: more line editing
* working but slow cli rewrite
* restore previous speed after 4 days of debugging 🥲
* fix: cli_app_should_stop
* fix: cli and event_loop memory leaks
* style: remove commented out code
* ci: fix pvs warnings
* fix: unit tests, event_loop crash
* ci: fix build
* ci: silence pvs warning
* feat: cli gpio
* ci: fix formatting
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* feat: cli completions
* Merge remote-tracking branch 'origin/dev' into portasynthinca3/3928-cli-threads
* merge fixups
* temporarily exclude speaker_debug app
* pvs and unit tests fixups
* feat: commands in fals
* move commands out of flash, code cleanup
* ci: fix errors
* fix: run commands in buffer when stopping session
* speedup cli file transfer
* fix f18
* separate cli_shell into modules
* fix pvs warning
* fix qflipper refusing to connect
* remove temp debug logs
* remove erroneous conclusion
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* unit test for the fix
* improve thread stdio callback signatures
* pipe stdout timeout
* update api symbols
* fix f18, formatting
* fix pvs warnings
* increase stack size, hope to fix unit tests
* cli completions
* more key combos
* commands in fals
* move commands out of flash
* ci: fix errors
* speedup cli file transfer
* merge fixups
* fix f18
* cli: revert flag changes
* cli: fix formatting
* cli, fbt: loopback perf benchmark
* thread, event_loop: subscribing to thread flags
* cli: signal internal events using thread flags, improve performance
* fix f18, formatting
* event_loop: fix crash
* storage_cli: increase write_chunk buffer size again
* cli: explanation for order=0
* thread, event_loop: thread flags callback refactor
* cli: increase stack size
* cli: rename cli_app_should_stop -> cli_is_pipe_broken_or_is_etx_next_char
* cli: use plain array instead of mlib for history
* cli: prepend file name to static fns
* cli: fix formatting
* cli_shell: increase stack size
* cli_shell: give up pipe to command thread
* fix formatting
* fix: format
* fix merge
* fix. merge.
* cli_shell: fix detach ordering
* desktop: record_cli -> record_cli_vcp
* cli: fix spelling, reload/remove ext cmds on card mount/unmount
* cli: fix race conditions and formatting
* scripts: wait for CTS to go high before starting flipper
* scripts: better race condition fix
* REVERT THIS: test script race condition fix
* Revert "REVERT THIS: test script race condition fix"
This reverts commit 3b028d29b07212755872c5706c8c6a58be551636.
* REVERT THIS: test script fix
* scripts: sleep?
* cli: updated oplist for CliCommandTree
* Revert "REVERT THIS: test script fix"
This reverts commit e9846318549ce092ef422ff97522ba51916163be.
* cli: mention memory leak in FL ticket
---------
Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com >
Co-authored-by: あく <alleteam@gmail.com >
Co-authored-by: hedger <hedger@nanode.su >
2025-04-03 21:39:53 +04:00
Anna Antonenko
13333edd30
[FL-3954, FL-3955] New CLI architecture ( #4111 )
...
* feat: FuriThread stdin
* ci: fix f18
* feat: stdio callback context
* feat: FuriPipe
* POTENTIALLY EXPLOSIVE pipe welding
* fix: non-explosive welding
* Revert welding
* docs: furi_pipe
* feat: pipe event loop integration
* update f18 sdk
* f18
* docs: make doxygen happy
* fix: event loop not triggering when pipe attached to stdio
* fix: partial stdout in pipe
* allow simultaneous in and out subscription in event loop
* feat: vcp i/o
* feat: cli ansi stuffs and history
* feat: more line editing
* working but slow cli rewrite
* restore previous speed after 4 days of debugging 🥲
* fix: cli_app_should_stop
* fix: cli and event_loop memory leaks
* style: remove commented out code
* ci: fix pvs warnings
* fix: unit tests, event_loop crash
* ci: fix build
* ci: silence pvs warning
* feat: cli gpio
* ci: fix formatting
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* feat: cli completions
* Merge remote-tracking branch 'origin/dev' into portasynthinca3/3928-cli-threads
* merge fixups
* temporarily exclude speaker_debug app
* pvs and unit tests fixups
* feat: commands in fals
* move commands out of flash, code cleanup
* ci: fix errors
* fix: run commands in buffer when stopping session
* speedup cli file transfer
* fix f18
* separate cli_shell into modules
* fix pvs warning
* fix qflipper refusing to connect
* remove temp debug logs
* remove erroneous conclusion
* Fix memory leak during event loop unsubscription
* Event better memory leak fix
* unit test for the fix
* improve thread stdio callback signatures
* pipe stdout timeout
* update api symbols
* fix f18, formatting
* fix pvs warnings
* increase stack size, hope to fix unit tests
* cli: revert flag changes
* cli: fix formatting
* cli, fbt: loopback perf benchmark
* thread, event_loop: subscribing to thread flags
* cli: signal internal events using thread flags, improve performance
* fix f18, formatting
* event_loop: fix crash
* storage_cli: increase write_chunk buffer size again
* cli: explanation for order=0
* thread, event_loop: thread flags callback refactor
* cli: increase stack size
* cli: rename cli_app_should_stop -> cli_is_pipe_broken_or_is_etx_next_char
* cli: use plain array instead of mlib for history
* cli: prepend file name to static fns
* cli: fix formatting
* cli_shell: increase stack size
* cli: fix rpc lockup
* cli: better lockup fix
* cli: fix f18
* fix merge
---------
Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com >
Co-authored-by: あく <alleteam@gmail.com >
2025-04-02 22:10:10 +04:00
MX
48ef579ee6
Merge remote-tracking branch 'OFW/dev' into dev
2025-03-31 22:04:08 +03:00
hedger
5fcaef25b0
Stricter constness for const data ( #4126 )
...
* libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params
* hal: additional fixes for constness in USB subsystem
* debug apps: additional usb-related fixes
* mjs: more consts for token parser
* fatfs: const driver struct
* hal: more consts for ble & nfc vars
* hal: made FuriHalSpiBusHandle static
* hal: made FuriHalI2cBusHandle static
* usb: restored previous api
* linter fixes
* API fixes
2025-03-31 19:23:32 +04:00
MX
9384dedb88
Merge remote-tracking branch 'OFW/dev' into dev
2025-03-31 15:03:59 +03:00
Anna Antonenko
79bb24406e
Reduced ieee754 parser size ( #4154 )
...
Co-authored-by: hedger <hedger@users.noreply.github.com >
2025-03-31 08:24:27 +04:00
MX
ec593e660c
Merge remote-tracking branch 'OFW/astra/3934-alarm-improvements' into dev
2025-02-25 02:06:05 +03:00
Aleksandr Kutuzov
00e64e8679
Merge remote-tracking branch 'origin/dev' into astra/3934-alarm-improvements
2025-02-25 06:18:42 +09:00
Zinong Li
145184f0f2
NFC: FeliCa Protocol Expose Read Block API and Allow Specifying Service ( #4074 )
...
* add one parameter to the rdbl and expose
* Bump api version and format sources
Co-authored-by: あく <alleteam@gmail.com >
2025-02-25 06:07:45 +09:00
MX
b38d239eb8
Merge remote-tracking branch 'OFW/hedger/more-constness' into dev [ci skip]
2025-02-24 21:18:11 +03:00
MX
9f4b1aead7
Merge remote-tracking branch 'OFW/dev' into dev [ci skip]
2025-02-23 18:35:22 +03:00
hedger
15a5e652e0
usb: restored previous api
2025-02-22 20:40:52 +00:00
hedger
6c17b785ec
hal: made FuriHalI2cBusHandle static
2025-02-22 19:23:30 +00:00
hedger
251565e9d3
hal: made FuriHalSpiBusHandle static
2025-02-22 19:12:12 +00:00
hedger
d7221f1b0d
hal: more consts for ble & nfc vars
2025-02-22 18:39:52 +00:00
hedger
b99f65dd9a
hal: additional fixes for constness in USB subsystem
2025-02-22 16:32:24 +00:00
hedger
b0835220ac
libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params
2025-02-22 16:05:56 +00:00
Anna Antonenko
ef024e8086
[FL-3958] Stdio API improvements ( #4110 )
...
* improve thread stdio callback signatures
* pipe stdout timeout
* update api symbols
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-22 08:11:27 +09:00
MX
b887d6af21
Merge remote-tracking branch 'OFW/dev' into dev [ci skip]
2025-02-21 05:18:29 +03:00
WillyJL
404764b660
GUI: Widget view extra options for JS ( #4120 )
...
* Fill option for widget frame
* Add widget circle element
* Add widget line element
* Fix missing include for InputType
* Fix missing comment
* Update api symbols
* Load .fxbm from file
* Fix copy pasta
* Add fill param to example
* Fix some comments
* Bump JS SDK 0.3
* Fix free
* Rename widget frame to rect
* Gui: add widget_add_frame_element backward compatibility macros
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-21 10:47:56 +09:00
MX
f242eef26f
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-21 03:08:00 +03:00
Anna Antonenko
7c5c5d4749
[FL-3734] UART framing mode selection ( #4121 )
...
* HAL: feat: uart framing
* JS: feat: uart framing
* fix formatting
* fix pvs warning
* HAL: flash impact reduction attempt 1
* HAL: flash impact reduction attempt 2
* fix compile error
* HAL: finalize flash impact reduction
* HAL: remove user-facing magic numbers
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-21 04:54:38 +09:00
MX
aef8a97ab4
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-20 18:40:54 +03:00
Astra
2817666eb9
[FL-3774] Fix 5V on GPIO ( #4103 )
...
* Move OTG controls to the power service
* Accessor: add missing power service import
* Power: add is_otg_enabled to info and properly handle OTG enable with VBUS voltage present
* Power: method naming
* Power: add backward compatibility with old-style use of furi_hal_power
* Scripts: lower MIN_GAP_PAGES to 1
* SubGhz: fix incorrect logging tag
* SubGhz: delegate OTG management to power service
* Power: fix condition race, various improvements
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-20 12:37:52 +09:00
MX
486dc48a7a
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-20 03:08:53 +03:00
Anna Antonenko
0f240c4dbc
[FL-3949] Universal IR signal selection ( #4085 )
...
* feat: universal ir signal selection
* fix: f18, format specifiers
* update labels with suggestions from the ui team
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2025-02-20 08:58:55 +09:00
MX
85cba9fd8d
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-13 19:58:15 +03:00
Yukai Li
59fe896ce8
nfc: Enable MFUL sync poller to be provided with passwords ( #4050 )
...
* nfc: Enable MFUL sync poller to be provided with passwords
* Sync targret api versions
Co-authored-by: あく <alleteam@gmail.com >
2025-02-13 19:31:56 +09:00
MX
2919105bdb
Merge remote-tracking branch 'OFW/dev' into dev [ci skip]
2025-02-13 01:01:02 +03:00
Astra
00f287e297
[FL-2754, FL-3945] EM4305 support ( #4069 )
...
* Initial EM4305 write support
* Support for writing EM4100 data to EM4305 blank tags
* F18 API version bump
* Satisfy pvs
* Lib: cleanup em4305 code
* Mask size fix
* Electra
* Fix leftovers from a previous implementation
* Viking
* Gallagher
* LFRFID: cleanup em4305
Co-authored-by: あく <alleteam@gmail.com >
2025-02-13 03:04:24 +09:00
MX
a3ffdac763
Merge remote-tracking branch 'OFW/dev' into dev
2025-02-10 21:55:03 +03:00
Anna Antonenko
7a92fd359c
[FL-3950] Update mbedtls & expose AES ( #4092 )
...
* update mbedtls
* expose mbedtls/aes.h
* update f18
Co-authored-by: あく <alleteam@gmail.com >
2025-02-10 20:57:16 +09:00