Commit Graph

529 Commits

Author SHA1 Message Date
g3gg0.de
1d4ce4e78a scale NfcV frequency a bit, add echo mode, fix signal level at the end 2023-05-01 12:54:08 +10:00
g3gg0.de
af7d21a020 increase sniff log size 2023-05-01 12:54:08 +10:00
g3gg0.de
64badf124a also added DSFID/AFI handling and locking 2023-05-01 12:54:08 +10:00
g3gg0.de
4f4eca1dd7 added "Listen NfcV Reader" to sniff traffic from reader to card 2023-05-01 12:54:05 +10:00
g3gg0.de
f03d31b647 increased maximum memory size to match standard
added security status handling/load/save
added SELECT/QUIET handling
more fine grained allocation routines and checks
fix memset sizes
2023-05-01 12:53:14 +10:00
g3gg0.de
aa7ead724a respond with block security status when option flag is set 2023-05-01 12:53:14 +10:00
g3gg0.de
fecc686a3e further code cleanups 2023-05-01 12:52:51 +10:00
g3gg0.de
a34a186bba ISO15693: reduce latency on state machine reset 2023-05-01 12:52:50 +10:00
g3gg0.de
9f5a10a2e3 ISO15693: further cleanup 2023-05-01 12:52:37 +10:00
g3gg0.de
75d7246657 ISO15693: further optimizations of allocation and free code 2023-05-01 12:52:36 +10:00
g3gg0.de
d52432970b optimize allocation size for signals 2023-05-01 12:52:36 +10:00
g3gg0.de
423c551cf1 SLIX: fixed crash situation when an invalid password was requested 2023-05-01 12:52:35 +10:00
g3gg0.de
6a95f8010f added support for ISO15693 (NfcV) emulation, added support for reading SLIX tags 2023-05-01 12:52:32 +10:00
g3gg0.de
3cb1b1f6c1 DigitalSignal: use cyclic DMA buffer for sequences 2023-04-30 23:05:56 +10:00
g3gg0.de
826e4d1eda DigitalSequence: fix issues with concatenation of same levels and spurious bit flips 2023-04-30 23:05:56 +10:00
g3gg0.de
e2b77fcfb2 digital_signal: keep lock until all DMA transfers have finished 2023-04-30 23:05:56 +10:00
g3gg0.de
4f076485a3 digital_signal: fix memory leak 2023-04-30 23:05:55 +10:00
g3gg0.de
7e42c9c3f0 added recovery if the timer already expired 2023-04-30 23:05:55 +10:00
g3gg0.de
4c3a5e9c12 digital_signal: remove assembly code, limiting the performance but increasing portability 2023-04-30 23:05:55 +10:00
g3gg0.de
17f7f0e637 digital_signal: reduce code complexity of digital_signal_update_dma() by only reconfiguring DMA2 2023-04-30 23:05:55 +10:00
g3gg0.de
064a34e681 pulse_reader: further optimize assembly code 2023-04-30 23:05:55 +10:00
g3gg0.de
cd082c9d90 digital_signal: show unoptimized and optimized code for digital_signal_update_dma() next to each other 2023-04-30 23:05:55 +10:00
g3gg0.de
bc80ddd0a7 digital_signal/pulse_reader: allow parameters for free to be NULL 2023-04-30 23:05:54 +10:00
g3gg0.de
c18cf71646 make structures private, add C implementation of digital_signal_update_dma() 2023-04-30 23:05:54 +10:00
g3gg0.de
f08c8d6a1d pulse_reader: add call to set GPIO pull direction 2023-04-30 23:05:48 +10:00
gornekich
4d09a50fbb pulse_reader: remove from API, allow to link with faps
Signed-off-by: g3gg0.de <git@g3gg0.de>
2023-04-30 23:05:18 +10:00
g3gg0.de
f56835cb65 ran format_py 2023-04-30 23:04:40 +10:00
g3gg0.de
a34f2d2903 pulse_reader_stop now deinits GPIO as recommended by @gornekich 2023-04-30 23:04:40 +10:00
g3gg0.de
396ebe1ad8 fix starting level detection in pulse_reader 2023-04-30 23:04:39 +10:00
gornekich
b5b5abac27 pulse_reader: build as static library
Signed-off-by: g3gg0.de <git@g3gg0.de>
2023-04-30 23:04:35 +10:00
g3gg0
302739d543 allow gpio field to stay uninitialized in digital_signal_prepare_arr() 2023-04-30 23:02:31 +10:00
g3gg0
9a6a796804 fixed renaming 2023-04-30 23:01:17 +10:00
g3gg0
0a714fc164 fixed linter errors and undone function renaming 2023-04-30 23:01:16 +10:00
g3gg0
26c4e88677 added send_time option to start a signal at a specific DWT->CYCCNT value 2023-04-30 23:01:16 +10:00
g3gg0
3846e81157 added DigitalSequence to chain multiple DigitalSignals
added PulseReader for hardware assisted digital signal sampling
2023-04-30 23:01:15 +10:00
hedger
1ef70c0bb4 [FL-3280] cubewb: downgraded to v1.15.0 (#2605)
* cubewb: downgraded to v1.15.0
* hal: updated f18 symbols to match LL
* hal: flash: use furi_hal_cortex_timer for timeouts
* scripts: fixed cube version validation from config file
* hal: flash: added 3 seconds timeout when waiting for C2 to unlock flash controller. On timeout, triggers furi_check
* nfc: fixed missing interrupt setup on multiple platformSetIrqCallback() invocations
* hal: gpio: don't trigger furi_check on furi_hal_gpio_add_int_callback() with same parameters
* Reverted NFC fixes - will be in a separate PR
* scripts: storage: fixed exception handler for paths
2023-04-24 16:19:36 +09:00
hedger
4d015a1106 [FL-3271] cubewb: updated to v1.16.0 (#2595)
* cubewb: updated project to v1.16.0
* hal: updated api_symbols for f18
* FuriHal: add missing enterprise sleep and insomnia
* FuriHal: slightly more paranoic sleep mode

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-20 21:57:51 +09:00
gornekich
7ac7b70884 [FL-3241] NFC disable EMV support (#2571)
* nfc: remove read emv from extra actions
* nfc: remove read emv

Co-authored-by: あく <alleteam@gmail.com>
2023-04-10 23:51:55 +08:00
あく
0d8518d31d [FL-3232] FuriHal: fix gpio naming and add explicit pulls for vibro, speaker and ir_tx (#2565)
* FuriHal: fix gpio naming and add explicit pulls for vibro, speaker and ir_tx
* Github: workflow event debug print
* Github: proper PR head commit SHA extraction in get_env.py
2023-04-06 19:06:19 +10:00
Skorpionm
d1ad924216 [AVR_ISP]: add AVR ISP Programmer FAP (#2475)
* [AVR_ISP]: add AVR ISP Programmer FAP
* [AVR_ISP]: add auto detect AVR chip
* [AVR_ISP]: fix auto detect chip
* [AVR_ISP]: fix fast write flash
* AVR_ISP: auto set SPI speed
* AVR_ISP: add clock 4Mhz on &gpio_ext_pa4
* AVR_ISP: fix "[CRASH][ISR 4] NULL pointer dereference" with no AVR chip connected
* AVR_ISP: add AVR ISP Reader
* AVR_ISP: add read and check I32HEX file
* AVR_ISP: add write eerom, flash, fuse, lock byte
* AVR_ISP: add gui Reader, Writer
* Github: unshallow on decontamination
* AVR_ISP: move to external
* API: fix api_symbols
* AVR_ISP: add wiring scene
* GUI: model mutex FuriMutexTypeNormal -> FuriMutexTypeRecursive
* AVR_ISP: add chip_detect view
* AVR_ISP: refactoring gui ISP Programmer
* AVR_ISP: add gui "Dump AVR"
* AVR_ISP: add gui "Flash AVR"
* AVR_ISP: fix navigation gui
* GUI: model mutex FuriMutexTypeRecursive -> FuriMutexTypeNormal
* AVR_ISP: fix conflicts
* AVR_ISP: fix build
* AVR_ISP: delete images
* AVR_ISP: add images
* AVR_ISP: fix gui
* AVR_ISP: fix stuck in navigation
* AVR_ISP:  changing the Fuse bit recording logic
* AVR_ISP: fix read/write chips with memory greater than 64Kb
* AVR_ISP: fix auto set speed SPI
* AVR_ISP: fix gui
* ISP: switching on +5 volts to an external GPIO

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-06 12:13:30 +08:00
あく
2a26680acb Furi: more gpio checks in HAL (#2549)
* Furi: more gpio checks in HAL
* Nfc: do not spawn service thread if it is already spawned

Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
2023-04-06 10:19:39 +08:00
Anton Chistyakov
4c488bd970 Fixing parsing troika number (#2536)
Co-authored-by: あく <alleteam@gmail.com>
2023-04-05 12:16:20 +08:00
hedger
f192ccce2c FatFS: use rtc for timestamping (#2555)
* fatfs: use rtc
* fatfs: removed duplicate get_fattime declaration
* pvs: fixed warnings for fatfs timestamp
* fatfs: fixed seconds packing
* FuriHal: critical section around RTC datetime access
* FatFS: remove unused configration defines, update documentation
* FuriHal: checks instead of assets in RTC

---------

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-01 23:50:30 +10:00
Astra
ae9659d32d [FL-3193] Additional checks before invalidating the key (#2533) 2023-03-27 16:28:13 +09:00
Georgii Surkov
fad24efdf0 [FL-3188] Fix crash when emulating a DSGeneric key (#2530) 2023-03-24 09:26:43 +09:00
あく
7bf0a4786c [FL-3152] Screen streaming improvements (#2498)
* Rpc: reserve some bandwidth when screen streaming
* Move furi_hal_compress to toolbox/comporess
* Lib: heatshrink as external submodule, compile warnings fixes, better buffer management
* Lib: cleanup compressor definitions
* Rpc: add canvas orientation support
* Format Sources
2023-03-23 03:00:48 +10:00
Georgii Surkov
8b224ecb15 [FL-3179] 1-Wire Overdrive Mode (#2522)
* Separate ibutton to its own module, add one_wire to f18
* Move onewire cli to a separate app
* Add definitions for normal and overdrive timings
* Update api definitions
* Add rough overdrive timings definition for onewire emulation
* Remove one_wire_host_timing.h
* Add rough overdrive timings for onewire host
* Improve overdrive mode
* Working overdrive mode from flipper to flipper
* Update thermometer example app
* Turn on otg power when running thermometer example app
* Implement reset overdrive switching
* Always exit out of overdrive mode
* Improve overdrive timings
* Fix typos
* Fix reset behaviour
* Use overdrive mode everywhere in DS1996
* Improve comments
* Bump API version

Co-authored-by: あく <alleteam@gmail.com>
2023-03-22 23:54:06 +09:00
Nikolay Minaylov
ce50b09b28 Remove hmac_sha256 from public API (#2519)
Co-authored-by: あく <alleteam@gmail.com>
2023-03-21 21:29:54 +09:00
Skorpionm
445a1aa7b0 SubGhz: fix Incorrect comparison in subghz_setting_get_hopper_frequency (#2518)
Co-authored-by: あく <alleteam@gmail.com>
2023-03-21 01:30:57 +09: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