Commit Graph

608 Commits

Author SHA1 Message Date
MX ae47b9888f Rework pwm is running check 2023-06-24 20:23:46 +03:00
gid9798 f9472effe3 Now really block transmission at dangerous freq 2023-06-20 11:02:14 +03:00
Willy-JL a8a6aef712 BadKB fix MAC address byte order 2023-06-18 22:36:05 +01:00
gid9798 5eb677aa55 prt2 2023-06-18 20:25:40 +03:00
gid9798 3000b8fd0d prt1 2023-06-18 20:25:16 +03:00
Willy-JL 3b3e07cc0f Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-06-14 17:58:08 +01:00
MX 2ba1f80f7b Merge branch 'ofw-dev' into dev 2023-06-14 18:00:43 +03:00
Willy-JL 4d2937c0ea Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-14 15:43:04 +01:00
Leopold b6dbf25f85 furi_hal_nfc: fix rfalTransceiveBitsBlockingTx's 4th argument to bits count rather than bytes count (#2773) 2023-06-14 19:49:26 +09:00
MX 8bb3092002 Revert BLE gatt characteristics refactoring temporarily 2023-06-14 03:19:18 +03:00
Willy-JL 93bb30810b Fix yanderedev code 2023-06-13 23:30:37 +01:00
MX f22624399c remove unneeded global var 2023-06-14 01:07:07 +03:00
MX cd9874970a Merge branch 'ofw-dev' into dev 2023-06-13 23:28:59 +03:00
Willy-JL 3a60c7143c Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-06-13 18:37:12 +01:00
Willy-JL c4850ba89a Revert gatt refactor for now (breaks iOS BT HID) 2023-06-13 18:36:55 +01:00
あく 392bd3cde0 FuriHal: remove clock startup time tracking from clean builds (#2764) 2023-06-13 16:02:12 +04:00
Willy-JL 70e040300f Cleaner furi_hal_bt default hid name logic 2023-06-12 01:44:44 +01:00
Willy-JL 004ca02773 BadKB fix VID/PID handling + adjust cfg at start 2023-06-11 23:48:14 +01:00
Willy-JL 6090ef705e Simplify furi_hal_bt MAC address logic 2023-06-11 20:30:52 +01:00
Willy-JL 196748f977 Add furi_hal_usb_get_config_context() 2023-06-11 20:30:06 +01:00
Willy-JL 36b328da27 BT fix empty MACs 2023-06-10 17:38:58 +01:00
Willy-JL 0506869b54 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-06-09 13:54:14 +01:00
MX e9fc5f62a5 Merge branch 'ofw-dev' into dev 2023-06-09 14:13:11 +03:00
Sergey Gavrilov 62939dd28b Core2, SRAM2: provide safety gap (#2754)
* Core2, SRAM2: use ob, provide safety gap
* thread: comment about critical section and scheduler state
2023-06-09 19:49:26 +09:00
Willy-JL db0dc7064a Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-09 01:27:24 +01:00
MX af4a48a4bc Merge branch 'ofw-dev' into dev 2023-06-09 02:41:29 +03:00
あく bff5921266 FuriHal: always clock SMPS from HSI (#2643)
* FuriHal: always clock SMPS from HSI

* FuriHal: add clock startup time check, ensure that we conform to core2 config value

* FuriHal: set sleep mode to legacy if clock startup time is too high

---------

Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-08 17:05:35 +04:00
MX 18220515b5 Merge branch 'ofw-dev' into dev 2023-06-08 14:58:46 +03:00
hedger e3e64e5e83 [FL-3267] ble: refactored bt gatt characteristics setup (#2587)
* ble: refactored bt gatt characteristics setup
* ble: naming fixes, small optimizations
* ble: expanded bitfields; fixed pvs warnings
* ble: fixed pvs warnings for real
* ble: using FlipperGattCharacteristicDataPropsFixed for char[] props
* ble: removed flipper_gatt_characteristic_props_const_char
* ble: gatt: naming changes
* ble: gatt: fixed device_info service constant attrs sizes
* ble: gatt: copy descriptors to char instances; reworked hid chars to be callback-based; moved max size getter to callback with NULL data; added comments
* ble: gatt: removed hid_svc_report_data_callback
* ble: hid svc: better double loop idx naming
* ble: hid svc: simplified hid_svc_update_info
* ble: gatt: removed magic values; fixed type for HidSvcGattCharacteristicInfo
* ble: gatt: moved long uuids to separate files

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-06-08 18:42:02 +09:00
Willy-JL 4955567148 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-07 19:44:35 +01:00
MX 0d394a6f87 Merge branch 'ofw-dev' into dev 2023-06-07 00:29:06 +03:00
あく b0555d96e9 [FL-3213] f7: add PB9 to debug pins (#2738)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-06 21:52:49 +04:00
あく 1e512b6add [FL-3293] FuriHal: add system setting to device info, bump device info version (#2736) 2023-06-06 21:15:50 +04:00
ClaraCrazy b7f91fe5a5 Add furi_hal_version_uid_default (Fix TOTP) 2023-06-04 10:48:51 +02:00
ClaraCrazy 6d433edc38 Add furi_hal_version_uid_default (Fix TOTP) 2023-06-04 10:48:46 +02:00
Willy-JL 0f74f64568 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-02 23:34:21 +01:00
MX 67e661ec95 Merge branch 'ofw-dev' into dev 2023-06-03 00:11:39 +03:00
あく d9a9fa0c10 FuriHal: disable bus re-initialization on early init and extra asserts for AHB1,AHB2,AHB3 which must be left intact on entering to FUS (#2725) 2023-06-03 00:59:19 +04:00
Willy-JL df8b7cbe48 Random cleanup and housekeeping 2023-06-01 01:46:19 +01:00
Willy-JL c35406689b Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-05-31 16:45:55 +01:00
MX e474b851bf fix for new bus changes 2023-05-29 21:29:13 +03:00
MX 467f3265e0 bus changes 2023-05-29 21:01:00 +03:00
MX 0ab530e750 Merge branch 'ofw-dev' into dev 2023-05-29 20:33:12 +03:00
hedger 8d2ea14f06 [FL-3330] fbt: added hooks for build & dist environments; added FW_ORIGIN_* macro for apps & SDK (#2705)
* fbt: added hooks for build & dist environments
* Moved env hooks to an optional file
* Fixed var name
* Added fw origin to device info
* Bumped device info version
* fbt: added FIRMWARE_ORIGIN option. Different implementation for FW_ORIGIN_* C macro.
* api: bumped versions
* fbt: added fbt_options_local.py
* gitignore: cleanup

Co-authored-by: あく <alleteam@gmail.com>
2023-05-30 01:40:56 +09:00
あく 3de856f8d5 [FL-3295] FuriHal: add bus abstraction (#2614)
* FuriHal: add bus abstraction and port some subsystem to it
* Make PVS happy, cleanup code
* Update API symbols for f18
* F18: backport bus changes from f7
* Revert to STOP2 sleep mode
* Fix downgrading the firmware via updater
* Port iButton TIM1 to furi_hal_bus
* Port Infrared TIM1 and TIM2 to furi_hal_bus
* Just enable the timer bus
* Port furi_hal_pwm to bus API
* Fix include statement
* Port furi_hal_rfid to bus API
* Port furi_hal_subghz and others to bus API
* Remove unneeded include
* Improve furi_hal_infrared defines
* Reset LPTIM1 via furi_hal_bus API
* Crash when trying to enable an already enabled peripheral
* Better defines
* Improved checks
* Lots of macro wrappers
* Copy spi changes for f18
* Fix crashes in LFRFID system
* Fix crashes in NFC system
* Improve comments
* Create FuriHalBus.md
* Update FuriHalBus.md
* Fix crash when launching updater
* Documentation: couple small fixes in FuriHalBus
* FuriHal: fix copypaste in furi_hal_rfid_tim_reset
* FuriHal: reset radio core related peripherals on restart
* FuriHalBus: is enabled routine and bug fix for uart
* RFID HAL: accomodate furi hal bus

Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com>
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2023-05-30 01:05:57 +09:00
ClaraCrazy b17f5be06c Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev 2023-05-29 16:25:18 +02:00
micolous 363f555ed7 Implement support for reading Opal card (Sydney, Australia) (#2683)
* Implement support for reading Opal card (Sydney, Australia)
* stub_parser_verify_read: used UNUSED macro
* furi_hal_rtc: expose calendaring as functions
* opal: use bit-packed struct to parse, rather than manually shifting about
* Update f18 api symbols

Co-authored-by: あく <alleteam@gmail.com>
2023-05-29 20:55:55 +09:00
Willy-JL decce5aa8d Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-05-26 19:33:56 +01:00
MX 36102b8ee0 Merge branch 'ofw-dev' into dev 2023-05-26 12:03:49 +03:00
Nikolay Minaylov 12dc5b186f USB HID report timeout (#2682)
Co-authored-by: あく <alleteam@gmail.com>
2023-05-25 23:50:13 +09:00