Commit graph

270 commits

Author SHA1 Message Date
r3df0xx
70b51c31f3 fix 2022-04-01 23:46:41 +03:00
r3df0xx
c6d6c89a86 fix 2022-04-01 23:20:31 +03:00
r3df0xx
0e2542e1c4 New debug info and fix FloR-S bytes logic 2022-04-01 23:06:24 +03:00
Eng1n33r
62a36d0dcc
Merge branch 'flipperdevices:dev' into dev 2022-04-01 17:51:48 +03:00
SG
855f2584ab
[FL-2415] Storage: blocking file open (#1078)
* Storage: correct replacement for "/any" path in path holder
* Unit tests: storage, blocking file open test
* File stream: error getter
* Storage: common copy and common remove now executes in external thread
* Filesystems: got rid of unused functions
* Storage: untangle dependencies, ram-frendly filesystem api
* iButton: context assertions
* Storage: pubsub messages
* Storage: wait for the file to close if it was open
* Storage: fix folder copying
* Storage: unit test
* Storage: pubsub documentation
* Fix merge error
* Fix memleak in storage test
* Storage: remove unused define

Co-authored-by: あく <alleteam@gmail.com>
2022-04-01 15:21:31 +03:00
r3df0xx
f89544dfa1 Update nice_flor_s.c 2022-04-01 10:54:30 +03:00
r3df0xx
26aa177d9c Update nice_flor_s.c 2022-04-01 10:13:36 +03:00
r3df0xx
082bd9de5e fix 2022-04-01 10:06:10 +03:00
r3df0xx
844466c438 Fix hex output
debugging
2022-04-01 09:54:29 +03:00
Eng1n33r
3cc89a7d48
Merge branch 'flipperdevices:dev' into dev 2022-03-31 19:01:39 +03:00
gornekich
0bf2702210
Fix GUI freeze after NFC classic read (#1074)
* nfc worker: add delay for task switching
* device info service: fix rpc version characteristic
* firmware: move FreeRTOSConfig.h to target include
* dev_info service: fix typo
* ble glue: use osThreadFlags instead of osEventFlags
* Infrared: fix issue with timer lockup
* FuriHal: yeld in flash lock routine
* ble: change connection parameters, display actual params
* ble: verify connection parameters
* ble: fix typo

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-03-31 17:57:23 +03:00
r3df0xx
c4ddb58fcb Fixing Nice FloR-S. Add new big IR databases. 2022-03-31 15:05:40 +03:00
Eng1n33r
cfdf814731
Merge branch 'flipperdevices:dev' into dev 2022-03-30 18:53:50 +03:00
Nikolay Minaylov
2f3ea9494e
HAL to LL migration: GPIO, HSEM, AES (#1069)
* gpio, hsem, crypto: switch from HAL to LL/registers
* Moved GPIO initialization to furi_hal
* More HAL removed
* All HAL modules disabled
* HAL is finally removed
* hal_gpio -> furi_hal_gpio, main.h removed
* Bootloader build fix
* RTOS config moved to freertos-glue
* delay -> furi_hal_delay

Co-authored-by: あく <alleteam@gmail.com>
2022-03-30 18:23:40 +03:00
r3df0xx
040f09eeec Update nice_flor_s.c 2022-03-30 14:58:00 +03:00
r3df0xx
72dab0ca0c Update nice_flor_s.c 2022-03-30 13:54:51 +03:00
Eng1n33r
34fdc16ce1
Merge branch 'flipperdevices:dev' into dev 2022-03-30 12:51:55 +03:00
あく
489caa8e77
[FL-2392] FuriHal: refactor interrupts subsystem (#1066)
* FuriHal: refactor interrupts subsystem

* Furi,FuriHal: gather all ISRs under interrupt API, improve crtitical section and cleanup garbage

* FuriHal: mirgate ipcc and hsem to LL

* Format Sources

* FuriHal,BleGlue: move to new critical section

* Format Sources

* FuriHal: correct flash locking

* FuriHal: replace critical section with interrupt disable in OS routine, minor fixex
2022-03-30 03:37:23 +10:00
Eng1n33r
774a9e1a34
Merge branch 'flipperdevices:dev' into dev 2022-03-29 17:44:46 +03:00
SG
bdba15b366
[FL-2393][FL-2381] iButton, OneWire: move to plain C (#1068)
* iButton: getting started on the worker concept
* Hal delay: added global instructions_per_us variable
* iButton: one wire slave
* iButton: ibutton key setter
* iButton: one wire host, use ibutton_hal
* iButton\RFID: common pulse decoder concept
* iButton: cyfral decoder
* iButton: worker thread concept
* iButton: metakom decoder
* iButton: write key through worker
* iButton: worker mode holder
* iButton: worker improvements
* iButton: Cyfral encoder
* iButton: Metakom encoder
* lib: pulse protocol helpers
* iButton: Metakom decoder
* iButton: Cyfral decoder
* iButton worker: separate modes
* iButton: libs documentation
* HAL: iButton gpio modes
* iButton worker: rename modes file
* iButton worker, hal: move to LL
* iButton CLI: worker for reading and emulation commands
* iButton HAL: correct init and emulation sequence
* iButton cli: moved to plain C
* iButton: move to worker, small step to plain C
* Libs, one wire: move to plain C
* Libs: added forgotten files to compilation
* iButton writer: get rid of manual disable/enable irq
2022-03-29 16:01:56 +03:00
r3df0xx
5ebea97ba2 Update subghz_keystore.c
keystore debug
2022-03-29 15:44:02 +03:00
r3df0xx
f12faff8b0 Fix FloR-S and add test Keeloq uknown replay 2022-03-28 19:42:00 +03:00
r3df0xx
d0c14da00c Update nice_flor_s.c 2022-03-27 20:30:32 +03:00
r3df0xx
098964f737 Debug FloR-S
logging encrypt & encoder stuff
2022-03-27 18:58:04 +03:00
r3df0xx
ee00e03957 Update nice_flor_s.c 2022-03-25 17:14:49 +03:00
r3df0xx
fc79f033b1 Update nice_flor_s.c 2022-03-25 16:54:26 +03:00
r3df0xx
4d00facdd8 Update nice_flor_s.c
fix bit offset
2022-03-25 16:27:03 +03:00
r3df0xx
430fac254a Update nice_flor_s.c 2022-03-25 16:07:27 +03:00
r3df0xx
225e5f04ee Update nice_flor_s.c 2022-03-25 15:51:32 +03:00
r3df0xx
0c8f589cf7 Update nice_flor_s.c 2022-03-25 15:06:04 +03:00
r3df0xx
f1ec1a738b Merge branch 'dev' of https://github.com/Eng1n33r/flipperzero-firmware into dev 2022-03-25 15:02:48 +03:00
r3df0xx
f8cc9e56d8 Nice FloR-S new protocol 2022-03-25 15:02:45 +03:00
Eng1n33r
632febaaee
Merge branch 'flipperdevices:dev' into dev 2022-03-25 14:57:48 +03:00
gornekich
2ba3a9f09a
Fix stream read line (#1054)
* stream: fix stream_read_line return
* nfc: fix keys load

Co-authored-by: あく <alleteam@gmail.com>
2022-03-25 13:43:10 +03:00
r3df0xx
8df7a3ae4e Update libusb_stm32 2022-03-24 21:45:07 +03:00
Eng1n33r
5fde779066
Merge branch 'flipperdevices:dev' into dev 2022-03-24 21:43:38 +03:00
Nikolay Minaylov
3615ffecbe
[FL-2374] USB mode lock, USB stack update (#1051)
* Switch to CMSIS semaphores
* USB stack: HID consumer usage table

Co-authored-by: あく <alleteam@gmail.com>
2022-03-24 20:23:40 +03:00
Eng1n33r
694956b6e7
Merge branch 'flipperdevices:dev' into dev 2022-03-24 15:49:17 +03:00
gornekich
eafeefb843
[FL-1396] Mifare Classic read (#1034)
* rfal: add new data exchange function
* core: add FURI_BIT to common defines
* furi_hal_nfc: add data exchange with custom patiry bits
* lib: extend nfc common API
* assets: add mf classic dictionary
* lib: introduce mifare classic library
* nfc: add dictionary reader helper
* nfc worker: add worker events, add mifare classic read
* nfc: rework scenes with worker events
* nfc: add read mifare classic GUI
* nfc device: add mifare classic save
* nfc: add dictionary open fail scene
* nfc: mention resources
* stream: fix stream read line
* subghz: rework file read with fixed stream_read_line
* furi_hal_nfc: decrease communication timeout
* nfc: rework keys load from dictionary with file_stream
* nfc: add read mifare classic suggestion
* nfc: fix mifare classic read view
* nfc: fix index size
* nfc: add switch to no dictionary found scene
* nfc: add mifare classic load
* nfc: improve read mifare classic design
* mifare_classic: add proxmark3 mention
* nfc: format sources
* nfc: fix typos, add documentation
2022-03-24 01:14:34 +03:00
Eng1n33r
66fa1d7c0b
Merge branch 'flipperdevices:dev' into dev 2022-03-23 22:53:22 +03:00
あく
c4a0847c99
FuriHal: replace HAL with LL in RFID Part 1. Drop F6. (#1049)
* FuriHal: new speaker HAL
* FuriHal: drop PWM
* FuriHal: move COMP1 to LL
* FuriHal: move COMP1 to LL backport to F6
* FuriHal: remove missing gpio_rfid_carrier from F6
* FurHal: use LL for system controls in flash HAL
* Drop F6 source tree
* Drop F6 from GitHub workflow
* Tie USE_FULL_ASSERT with APP_UNIT_TESTS
* Speaker: return to old volume calculation
* FreeRTOS: move TCB header to glue

Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2022-03-23 20:59:20 +03:00
Kevin Wallace
3857cd7d5f
Nfc: add basic Mifare DESFire support (#1024)
* Fix TextBox word wrap behavior
* Wrap width is 120 pixels, not 140. (140 is larger than the screen!)
* Glyph width already includes spacing; don't add 1 additional px
* When starting a new line, include wrapped glyph width in new line_width.
* Call canvas_set_font before text_box_insert_endline so that glyph
  width is calculated using correct font.
  Previous approach worked somewhat well using default TextBoxFontText but
  this version is more robust, particularly when using TextBoxFontHex.
* Add basic Mifare DESFire reading, file/app browser
* Fix build with APP_ARCHIVE=0
* Add bool type to flipper_format
* Add ability to save and load DESFire card data
* Skip over NfcSceneDeviceInfo when viewing saved DESFire info
* mf_df_clear: don't leak master key settings key versions
* When opening a DESFire card from Archive, retain UID emulation behavior
* rm unnecessary \r\n
* show Popup instead of leaving view in bad state
* Move NfcReaderRequestData out of union
  This makes it safe to emulate DESFire/EMV without clobbering card data.
* Display saved DESFire cards via NfcSceneDeviceInfo
* Display and save file metadata even when contents are missing
  This can happen when a file doesn't allow unauthenticated reads (see the
  call to mf_df_parse_read_data_response in nfc_worker.c).

Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-03-23 16:45:37 +03:00
r3df0xx
e557716672 keeloq uknown improvement, flor-s refactoring 2022-03-21 14:45:33 +03:00
r3df0xx
2c70f3d8dd Update nice_flor_s.c
trying to make generate new rolling codes properly
2022-03-21 04:02:08 +03:00
r3df0xx
8f05d6f6a8 Update star_line.c
fix syntax
2022-03-21 02:48:55 +03:00
r3df0xx
2d0bd089ce StarLine SAVE & SEND
seems to be OK, need to test...
2022-03-21 02:45:32 +03:00
r3df0xx
a014b496e9 Some fixes for FloR-S 2022-03-20 20:57:38 +03:00
r3df0xx
f4b6acb3cb Update nice_flor_s.c 2022-03-20 19:44:03 +03:00
r3df0xx
d74c5fb149 Update nice_flor_s.c
Check if counter++ works
2022-03-20 18:55:06 +03:00
r3df0xx
8a0c498b1c Update nice_flor_s.c 2022-03-19 15:46:23 +03:00