Commit Graph

475 Commits

Author SHA1 Message Date
g3gg0.de
9268ea121f DigitalSequence: fix issues with concatenation of same levels and spurious bit flips 2023-02-01 23:25:23 +01:00
あく
8fe801660b Merge branch 'dev' into DigitalSequence_PulseReader 2023-01-17 19:55:28 +03:00
hedger
341610b8a1 [FL-3080] fbt: PVS support (#2286)
* fbt: added firmware_pvscheck & firmware_pvs targets for *nix
* fbt: pvs support on Windows
* fbt: additional fixes & docs for PVS support
* fbt: fixes for updater env configuration
* github: reworked pvs workflow
* vscode: added PVS shortcut
* pvs: added --ignore-ccache flag
* fbt: pvs: opening web browser if there are warnings
* fbt: pvs: added browser handler for mac
* github: fixed report path for PVS
* fbt: pvs: fixed report upload path
* removed intentional PVS warning
* fixed more PVS warnings
* fixed secplus_v1 PVS warning
* fbt: added PVSNOBROWSER flag
* github: setting PVSNOBROWSER for pvs runs
* fbt: less debug output

Co-authored-by: あく <alleteam@gmail.com>
2023-01-17 15:55:49 +03:00
g3gg0.de
ff6da8421c Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2023-01-16 18:12:48 +01:00
g3gg0.de
19bcf0e44a digital_signal: keep lock until all DMA transfers have finished 2023-01-16 18:09:35 +01:00
g3gg0.de
34d9fa4529 digital_signal: fix memory leak 2023-01-16 10:51:38 +01:00
Eric Betts
9e1a6a6d2e relocate R_ARM_CALL (#2305) 2023-01-16 12:36:59 +03:00
Georgii Surkov
75e9de12b0 [FL-3078] Per protocol signal repeat count (#2293)
* Better Infrared protocol file structure
* Rename InfraredProtocolSpec to InfraredProtocolVariant
* Slightly better names
* Add repeat count field to protocol variant description
* Repeat the signal the appropriate number of times when brute-forcing
* Repeat the signal the appropriate number of times when sending via worker
* Better signal count logic in infrared_transmit
* Better variable names
* Convert some raw signals to messages in tv.ir

Co-authored-by: あく <alleteam@gmail.com>
2023-01-13 16:50:19 +03:00
あく
8af14abf62 Merge branch 'dev' into DigitalSequence_PulseReader 2023-01-07 16:34:10 +09:00
yan0f
9740dd8c75 Fix typos in source code (#2258) 2023-01-07 01:06:50 +09:00
あく
41c43f4805 Various improvements: Toolbox, Updater and Unit Tests. (#2250)
* Toolbox: add seek to character stream method. UpdateUtils: reverse manifest iterator. UnitTests: more unit tests.
* Target: bump API version. Updater: delete empty folders from manifest before resource deployment.
* UnitTests: use manifest from unit_tests folder instead of global one
* Make PVS happy
* sector cache: allocate always
* Better PVS config for manifest.c
* PVS: Move exception outside of condition
* PVS: remove confusing condition

Co-authored-by: SG <who.just.the.doctor@gmail.com>
2023-01-06 16:31:17 +10:00
g3gg0.de
e1c92269f7 added recovery if the timer already expired 2023-01-03 02:10:30 +01:00
g3gg0.de
11e3d47301 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into DigitalSequence_PulseReader 2023-01-02 10:57:29 +01:00
g3gg0.de
197b6725f7 digital_signal: remove assembly code, limiting the performance but increasing portability 2022-12-30 16:34:52 +01:00
g3gg0.de
4107fb9b55 digital_signal: reduce code complexity of digital_signal_update_dma() by only reconfiguring DMA2 2022-12-30 16:18:55 +01:00
Georgii Surkov
95f8895b43 Add float_tools to SDK api (#2225) 2022-12-30 15:52:53 +03:00
g3gg0.de
a1f1618648 pulse_reader: further optimize assembly code 2022-12-30 12:48:01 +01:00
g3gg0.de
efa43048a1 Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-30 10:51:49 +01:00
g3gg0.de
5856612182 digital_signal: show unoptimized and optimized code for digital_signal_update_dma() next to each other 2022-12-30 10:50:55 +01:00
あく
ef478605e7 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-30 13:45:45 +09:00
g3gg0.de
e8bf252299 Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-30 02:20:24 +01:00
g3gg0.de
8b81fb921c digital_signal/pulse_reader: allow parameters for free to be NULL 2022-12-30 02:19:13 +01:00
Thomas Roth
26e5527a93 Mifare dictionary attack performance improvements. (#2173)
* NFC dictionary attack performance improvements.
* Remove unnecessary assignment
2022-12-29 14:20:01 +09:00
g3gg0.de
c4ef534af5 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-28 23:16:06 +01:00
g3gg0.de
823ff9503a Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-28 22:44:52 +01:00
g3gg0.de
3a42ab189f make structures private, add C implementation of digital_signal_update_dma() 2022-12-28 22:43:39 +01:00
Skorpionm
ea054423b0 [FL-3074] SubGhz: CAME 12 bit encoder fix guard time (#2210)
* SubGhz: CAME encoder fix guard ime
* SubGhz: fix 2 encoder CAME

Co-authored-by: あく <alleteam@gmail.com>
2022-12-29 05:29:23 +09:00
あく
6ea375c70d Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-29 02:28:14 +09:00
Konstantin Volkov
27ee0f73f7 Fixing various typos in readme files #2208
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
2022-12-28 23:30:20 +09:00
g3gg0.de
9f8a86adef Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-28 14:41:46 +01:00
g3gg0.de
60f56cc048 pulse_reader: add call to set GPIO pull direction 2022-12-28 14:40:29 +01:00
Astra
ded7e727d0 [FL-3060] New MFC Bruteforce animation (#2190)
* Change the wording in the headers
* Add support for text in the progress bar
* New MFC key bruteforce screen
* Typo fix
* nfc: rename Flipper Dict to System Dict
* elements: fix types
* Display the correct key attack sector

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-12-27 18:14:03 +09:00
Skorpionm
1390f10a6f [FL-3068] SubGhz: add Holtek_ht12x protocol (#2187)
* SubGhz: add Holtek_ht12x protocol
* SubGhz: add unit_test holtek_ht12x
* SubGhz: correct string formatting

Co-authored-by: あく <alleteam@gmail.com>
2022-12-27 17:29:21 +09:00
Georgii Surkov
8582670a34 [FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
gornekich
73056d34ff pulse_reader: remove from API, allow to link with faps
Signed-off-by: g3gg0.de <git@g3gg0.de>
2022-12-21 21:49:28 +01:00
g3gg0.de
b9d7e5b41e ran format_py 2022-12-21 17:36:51 +01:00
g3gg0.de
f92776c457 pulse_reader_stop now deinits GPIO as recommended by @gornekich 2022-12-21 15:38:03 +01:00
g3gg0.de
126c5847b5 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-21 01:06:38 +01:00
g3gg0.de
70faa47dee fix starting level detection in pulse_reader 2022-12-21 01:01:16 +01:00
gornekich
eddc1c41df pulse_reader: build as static library
Signed-off-by: g3gg0.de <git@g3gg0.de>
2022-12-20 19:25:24 +01:00
Skorpionm
797eab8924 SubGhz: fix Hormann HSM (#2158)
* SubGhz: fix Hormann HSM
* SubGhz: add check pattern hormann protocol

Co-authored-by: あく <alleteam@gmail.com>
2022-12-20 21:42:16 +09:00
gornekich
4cee550cc6 [FL-2809] Rework BLE key storage (#2154)
* bt: disconnect first on profile change
* bt keys: rework bt keys
* saved struct: add payload size getter to API
* bt: rework bt with new key storage API
* bt: add keys storage operation to bt API
* hid: save bt keys on sd card
* bt: add unit tests for key storage
* bt: working profile switch
* bt: cleanup
* bt hid: change keys storage path

Co-authored-by: あく <alleteam@gmail.com>
2022-12-20 21:32:24 +09:00
gornekich
24f016d079 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-20 02:42:13 +04:00
Astra
fa87216a1e [FL-2970] Untangle NFC_APP_FOLDER from nfc_device (#2124)
* Untangle NFC_APP_FOLDER from nfc_device
* Make the folder an internal part of the nfc device struct
* Move the NFC folder definition to the nfc allocator
* Move the NFC folder definition to the allocator in the nfc magic FAP
* Replace furi_string_printf with furi_string_set for folder allocation and handle the cases when folder has no slashes
* Build and allocation fixes

Co-authored-by: あく <alleteam@gmail.com>
2022-12-20 04:57:48 +09:00
g3gg0.de
0cddd78f27 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-19 14:50:28 +01:00
Skorpionm
b5e7bb3334 [FL-3043] SubGhz: add SMC5326, UNILARM protocol (#2138)
* SubGhz: add SMC5326 protocol
* SubGhz: add unit_test smc5326 protocol

Co-authored-by: あく <alleteam@gmail.com>
2022-12-16 05:25:43 +09:00
Adam Boeglin
1dc79fddf0 Added support for IDTECK cards (#2134) 2022-12-16 05:02:43 +09:00
Astra
7fb1af07b8 [FL- 3014] Untangle NFC from Unit Tests (#2106)
* Untangle NFC from Unit Tests
* nfc tests: add log error

Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-12-10 22:02:34 +09:00
Aleksandr Kutuzov
a590f7e46b Merge remote-tracking branch 'origin/dev' into DigitalSequence_PulseReader 2022-12-08 16:04:31 +09:00
Shane Synan
5c3a5cd8f7 FuriHal, Power, UnitTests: battery charging voltage limit API (#2063) 2022-12-08 15:57:49 +09:00