Commit Graph

19 Commits

Author SHA1 Message Date
g3gg0.de
ae1e93e519 DigitalSignal: use cyclic DMA buffer for sequences 2023-02-04 01:39:56 +01:00
g3gg0.de
9268ea121f DigitalSequence: fix issues with concatenation of same levels and spurious bit flips 2023-02-01 23:25:23 +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
g3gg0.de
e1c92269f7 added recovery if the timer already expired 2023-01-03 02:10:30 +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
g3gg0.de
a1f1618648 pulse_reader: further optimize assembly code 2022-12-30 12:48:01 +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
g3gg0.de
8b81fb921c digital_signal/pulse_reader: allow parameters for free to be NULL 2022-12-30 02:19:13 +01:00
g3gg0.de
3a42ab189f make structures private, add C implementation of digital_signal_update_dma() 2022-12-28 22:43:39 +01:00
g3gg0
ef15dca3ab allow gpio field to stay uninitialized in digital_signal_prepare_arr() 2022-12-05 12:19:05 +01:00
g3gg0
271a639486 fixed renaming 2022-12-05 10:32:44 +01:00
g3gg0
5aae1c3924 fixed linter errors and undone function renaming 2022-12-05 09:36:45 +01:00
g3gg0
8c34f28992 added send_time option to start a signal at a specific DWT->CYCCNT value 2022-12-01 18:43:22 +01:00
g3gg0
38eef0703b added DigitalSequence to chain multiple DigitalSignals
added PulseReader for hardware assisted digital signal sampling
2022-12-01 01:37:50 +01:00
SG
b9a766d909 [FL-2627] Flipper applications: SDK, build and debug system (#1387)
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00
gornekich
5769595e67 NFC emulation software tunning (#1341)
* digital_signal: optimize calculationxx
* firmware: add listen start and listen rx
* digital signal: rework with fixed point calculation
* nfc: tune timings
* nfc: fix array overflow
* mifare classic: fix key access
* nfc: rework spi bus access
* nfc: rework listen mode with st25r3916 calls
* digital signal: speed up digital_signal_append()
* digital signal: remove unused profiling
* nfc: clean up code
* nfc: correct sleep state
* nfc: add unit tests
* nfc: fix memory leak in unit test
* digital_signal: remove unused code
* nfc: fix incorrect sak load in pt memory

Co-authored-by: あく <alleteam@gmail.com>
2022-07-03 23:51:50 +09:00
gornekich
d31578508a [FL-2245] Introduce Mifare Classic Emulation (#1242)
* digital signal: introduce digital signal
* nfca: add nfca signal encoder
* nfc: add mifare classic emulation scene
* nfca: add classic emulation support to lib and hal
* mifare classic: support basic read commands
* nfc: add mifare classic menu scene
* mifare classic: start parsing commands in emulation
* mifare classic: add nested auth
* nfc: fix errors
* mifare classic: add encrypt function
* nfc: fix mifare classic save
* lib hex: add hex uint64_t ASCII parser
* flipper format: add uint64 hex format support
* nfc: add mifare classic key map
* nfc: hide mifare classic keys on emulation
* mifare classic: add NACK responce
* nfc: add partial bytes support in transparent mode
* nfc: mifare classic add shadow file support
* digital signal: move arr buffer from BSS to heap
* mifare classic: process access bits more careful
* nfca: fix memory leack
* nfc: format sources
* mifare classic: cleun up

Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:00:15 +03:00