MX
ad33162d81
Merge branch 'ofw-dev' into dev
2023-07-05 19:39:49 +03:00
あく
f3ae09cc16
FuriHal: allow nulling null isr ( #2846 )
...
* FuriHal: allow nulling null isr
* FuriHal: include interrupt priority 15 as allowed
* Furi: prevent compiler from optimizing arg in r0 of RESTORE_REGISTERS_AND_HALT_MCU
2023-07-06 01:39:17 +09:00
MX
c00d758c1b
Merge branch 'ofw-dev' into dev
2023-07-05 17:31:47 +03:00
あく
97fbd84e08
FuriHal, Infrared, Protobuf: various fixes and improvements ( #2845 )
...
* Infrared: fix crash caused by null-ptr dereference in interrupt call. FuriHal: callback checks in interrupt handlers. Protobuf: bump to latest.
* DesktopSettings: allow application browser as favourite
* Format sources
* FuriHal: fix pvs warnings
2023-07-05 17:56:52 +04:00
Nikita Vostokov
0980424bb9
Revert "Fix name reset after bt apps exit"
...
This reverts commit ae545cdb09
.
2023-07-05 16:31:33 +03:00
Nikita Vostokov
ae545cdb09
Fix name reset after bt apps exit
2023-07-05 15:09:47 +03:00
MX
9e67fe6794
BLE stuff
...
+ BadBT fixes by Willy-JL
2023-07-05 14:41:28 +03:00
Skorpionm
8c93695d01
[FL-3375] SubGhz: add CC1101 module external ( #2747 )
...
* SubGhz: add CC1101 Ext driver
* SubGhz: move TIM2 -> TIM17 use cc1101_ext
* FuriHal: SPI move channel DMA 3,4 -> 6.7
* Documentation: fix font
* SubGhz: add work with SubGhz devices by link to device
* SubGhz: add support switching external/internal cc1101 "subghz chat"
* SubGhz: add support switching external/internal cc1101 "subghz tx" and "subghz rx"
* SubGhz: add "Radio Settings" scene
* SubGhz: add icon
* SubGhz: add supported CC1101 external module in SubGhz app
* SubGhz: fix check frequency supported radio device
* SubGhz: fix clang-formatted
* Sughz: move dirver CC1101_Ext to lib , compile cmd ./fbt launch_app APPSRC=radio_device_cc1101_ext
* SubGhz: fix CLI
* SubGhz: fix PVS
* SubGhz: delete comments
* SubGhz: fix unit_test
* Format sources
* Update api symbols and drivers targets
* Drivers: find proper place for target option
* SubGhz: external device connected method naming
* Format sources
* SubGhz: fix module selection menu, when external is not connected
* SubGhz: fix furi_assert(device);
* SubGhz: fix split h and c
* SubGhz: furi_hal_subghz remove preset load function by name
* SubGhz: deleted comments
* Format Sources
* SubGhz: add some consts and fix unit tests
* Sync API Symbols
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-30 23:03:36 +09:00
MX
79d585323e
Merge branch 'ofw-dev' into dev
2023-06-30 13:34:17 +03:00
あく
6d9de25494
Furi,FuriHal: various improvements ( #2819 )
...
* Lib: adjust default contrast for ERC displays
* Furi: various improvements in check module
* Format Sources
* FurHal: ble early hardfault detection
---------
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-30 13:52:43 +04:00
MX
b0988e4d86
Merge branch 'ofw-dev' into dev
2023-06-29 04:22:51 +03:00
MMX
ee96e34767
Fix furi_hal_bus related crashes in plugins ( #2799 )
...
* Fix furi_hal_bus issues in plugins
* Rework pwm is running check
* ApiSymbols: update and sync targets
Co-authored-by: あく <alleteam@gmail.com>
2023-06-28 18:25:07 +09:00
Skorpionm
e52fdcf109
[FL-3388] NFC/RFID detector ( #2795 )
...
* Field_Validation: add driver fild_validation_rfid
* Field_Validation: add fild_validation_nfc
* Field_Presence: added field validation functions to furi_hal_nfc
* Field_Presence: added field validation functions to furi_hal_rfid
* Field_Presence: add "NFC/RFID detector" app
* Field_Presence: fix GUI "NFC/RFID detector"
* NFC/RFID detector: add auto turn on backlight when field is detected
* NFC/RFID detector: fix syntax errors
* ApiSymbols: fix incorrect name
* FuriHal: filed detect naming
* FieldDetector: fix grammar
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-28 18:05:48 +09:00
MX
ae47b9888f
Rework pwm is running check
2023-06-24 20:23:46 +03:00
MX
2ba1f80f7b
Merge branch 'ofw-dev' into dev
2023-06-14 18:00:43 +03: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
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
あく
392bd3cde0
FuriHal: remove clock startup time tracking from clean builds ( #2764 )
2023-06-13 16:02:12 +04: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
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
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
6d433edc38
Add furi_hal_version_uid_default (Fix TOTP)
2023-06-04 10:48:46 +02: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
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
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
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
Georgii Surkov
ed1ebf9b93
[FL-3322] Infrared: respect carrier frequency and duty cycle settings ( #2677 )
...
* Make infrared_worker respect carrier frequency and duty cycle
* Update comments
Co-authored-by: あく <alleteam@gmail.com>
2023-05-25 23:38:56 +09:00
nminaylov
8ee959e1af
USB HID report timeout
2023-05-20 10:22:11 +03:00
gid9798
64817ac216
Move dangerous_settings check
2023-05-18 10:59:08 +03:00
MX
c2713eff87
New way of changing device name
...
Settings scene, char Validator, Idea -> by Willy-JL
Implemented by me
Kod plohoi, ochen plohoi, kto mozhet - sdelaite kak nado, esli smozhete :)
Ya luche varianta ne pridumal poka 4to
2023-05-14 05:38:00 +03:00
MX
849f14e480
Bad BT plugin, Submenu locked elements, API updates, etc.
...
Thanks to WillyJL, ClaraCrazy, and XFW contributors
2023-05-13 00:14:22 +03:00
MX
054245c980
Remove unneeded include
2023-05-11 02:32:53 +03:00
MX
face4bd3c7
Merge branch 'fz-dev' into dev
2023-05-09 18:28:46 +03:00
hedger
241b4ef6e4
[FL-3299] furi_crash: added C2 status; added fw-version gdb command ( #2638 )
...
* furi_crash: added C2 status
* debug: Added "fw-version" gdb command; vscode: updated configuration to use new command
* debug: added fw-info command to debug_other session
* Toolbox: versioned structure for Version
* debug: fw-version: no longer needs an ELF file loaded
* debug: flipperversion: removed unused variable
* debug_other: print running fw version
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-05-09 07:31:39 +09:00
hedger
268b88be0d
[FL-3285] Removed STM32CubeWB module ( #2608 )
...
* libs: removed STM32CubeWB module; split cube into 3 submodules
* fixed f18 version
* fbt: options: fixed expected stack version
* pvs: updated for new paths
* fbt: ep: multithreaded submodule update
* libs: stm32cubewb: fixed duplicate include path; renamed to stm32wb; codeowners: updated paths; docs: updated paths
* pvs: updated paths
* libs: added cmsis_core from ARM sources, v.5.4.0, from https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/Core/Include
* Updated stm32wb_copro structure
* PVS: exclude cmsis core from analysis
---------
Co-authored-by: あく <alleteam@gmail.com>
2023-05-09 06:30:33 +09:00
MX
6b186622cb
Merge branch 'fz-dev' into dev
2023-05-05 16:10:00 +03:00