Commit graph

1138 commits

Author SHA1 Message Date
Eng1n33r
e86746c5c9
Merge branch 'flipperdevices:dev' into dev 2022-03-30 20:12:35 +03:00
Nikolay Minaylov
8b833cb7eb
[FL-2378, FL-2382] Archive and infrared fixes #1073 2022-03-30 20:05:44 +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
15b36ce112 Merge remote-tracking branch 'upstream/dev' into dev 2022-03-30 15:12:48 +03:00
r3df0xx
040f09eeec Update nice_flor_s.c 2022-03-30 14:58:00 +03:00
SG
648d8aaa54
[FL-2381] iButton CLI: update Metakom description, add forgotten read message #1072 2022-03-30 14:54:29 +03:00
gornekich
f714f82520
Bump RPC version with fixed BLE (#1071)
* furi_hal_bt: change furi_assert -> furi_check
* battery_service: change log level
* protobuf: update submodule, bump RPC version
2022-03-30 14:31:06 +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
2cec90cec9 Allow instantly emulate dynamic protocols even without saving 2022-03-28 19:59:53 +03:00
r3df0xx
f12faff8b0 Fix FloR-S and add test Keeloq uknown replay 2022-03-28 19:42:00 +03:00
Eng1n33r
78accbb706
Merge branch 'flipperdevices:dev' into dev 2022-03-28 17:37:13 +03:00
gornekich
d15a9500c6
[FL-2388] Fix Mifare Classic exit #1065
Co-authored-by: あく <alleteam@gmail.com>
2022-03-28 16:57:36 +03:00
SG
425a74a001
[FL-2383, FL-2384] iButton, Desktop bug fixes (#1062)
* iButton HAL: correct init and emulation sequence
* FuriHal: cleanup init/deinit routines for emulation timer
* FuriHal: cleanup TIM initialization routines in RFID and SubGhz
* iButton: delay in emulate loop
* Desktop: fix crash caused by invalid animation manager state, described in FL-2384

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-03-28 16:42:31 +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
Eng1n33r
7ea6f55c25
Merge branch 'flipperdevices:dev' into dev 2022-03-26 17:37:34 +03:00
あく
413a03defb
[FL-2375] Migrate to LL part 3 (#1058)
* FuriHal: replace HAL with LL for ARR and CC
* Rfid, FuriHal: migrate emulation to LL
* RFID hal: disable arr preload during emulation
* Rfid, Furi, FuriHal: last piece of LL puzzle
* Rfid, Furi, FuriHal: filing the last piece of LL puzzle
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2022-03-26 01:56:18 +03:00
Eng1n33r
b0c884d641
Merge branch 'flipperdevices:dev' into dev 2022-03-25 22:13:40 +03:00
Nikolay Minaylov
7c4b0f534f
[FL-2379] BadUSB and furi_hal_usb fixes #1057 2022-03-25 19:07:37 +03:00
Nikolay Minaylov
969d1efb6c
[FL-2367] Fix ikey write command hanging #1056
Co-authored-by: あく <alleteam@gmail.com>
2022-03-25 17:54:23 +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
SG
76f524d4e9
[FL-2165] Do not allow "write" for keys that do not have write ability. #1055 2022-03-25 14:10:49 +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
あく
1fdc5f2950
[FL-2366] HAL to LL migration part 2 (#1053)
* iButton, FuriHal: add onewire HAL, migrate to LL, add missing critical section guards
* FuriHal: rename onewire to ibutton, cleanup RCC domain usage, fix ibutton and rfid
* FuriHal: cleanup RCC usage
2022-03-25 13:33:01 +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
Nikolay Minaylov
38e92cf789
[FL-2315] USB Mode switch lock (#1036)
* usb mode switch lock
* lock_mutex removed
* Wait for session termination in rpc_cli, lock badusb and u2f if rpc session is opened

Co-authored-by: あく <alleteam@gmail.com>
2022-03-24 18:45:03 +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
r3df0xx
33b59860d5 Merge branch 'dev' of https://github.com/Eng1n33r/flipperzero-firmware into dev 2022-03-23 23:34:13 +03:00
r3df0xx
3cc5c285b7 Update cli_commands.c
cli log enable
2022-03-23 23:33:58 +03:00
Eng1n33r
a572fe3a59
Update ReadMe.md 2022-03-23 23:32:58 +03:00
Eng1n33r
ab6b6282f8
Update ReadMe.md 2022-03-23 23:32:22 +03:00
Eng1n33r
982a29de67
Update ReadMe.md 2022-03-23 23:30:34 +03:00
Eng1n33r
50180a0dcc
Update ReadMe.md 2022-03-23 23:30:17 +03:00