MX
76e5a1c087
Merge branch 'ofw_dev' into dev
2023-10-09 22:21:49 +03:00
hedger
4ae9a02efa
FuriHal ble: length fix for fw version prop ( #3136 )
...
* hal ble: length fix for fw version prop
* hal ble: dev_info char: setting data after setup is done
* api: storage: enabled storage_file_sync
2023-10-09 21:53:20 +09:00
MX
8666cdc5ef
Merge branch 'ofw_dev' into dev
2023-09-21 22:43:48 +03:00
Filipe Paz Rodrigues
a089aeb2bd
Add Initial CCID support ( #3048 )
...
* Add Initial CCID support
* Sync api symbols
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
2023-09-21 18:09:00 +09:00
agarof
f46018b204
Add extended I2C HAL functions ( #3037 )
...
* Add extended I2C HAL functions
* Rename I2CEndClockStretch to I2CEndAwaitRestart
* Address review comments
* Update f18 api_symbols.csv
* FuriHal: check input values in cortex timer
* FuriHal: cleanup I2C documentation
* Properly bump api symbols
* FuriHal: fix incorrect cast in I2C write_reg methods, fix spelling and naming
* FuriHal: cleanup const usage in I2C, sync declaration and implementation
* Format Sources
* FuriHal: more i2c docs
* Add I2C Restart and Pause / Resume test
* Add I2C auto-reload test
* UnitTests: skip furi_hal_i2c_ext_eeprom if eeprom is not connected
* UnitTest: cleanup subghz test output
* FuriHal: classic timeouts in i2c
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-09-21 16:54:25 +09:00
MX
8f5ea2be83
Merge branch 'ofw_dev' into dev
2023-09-19 17:27:48 +03:00
あく
338fc3afea
New clock switch schema, fixes random core2 crashes ( #3008 )
...
* Updated stack to 1.17.0
* hal: ble: Fixed stack config
* Bumped stack version in config
* scripts: added validation of copro stack version in update bundles
* Copro: update to 1.17.2
* FuriHal: adjust tick frequency for HSE as sys clk
* FuriHal: adjust systick reload on sys clock change
* Sync api and format sources
* scripts: updated ob.data for newer stack
* FuriHal: return core2 hse pll transition on deep sleep
* FuriHal: cleanup ble glue
* FuriHal: rework ble glue, allow shci_send in critical section
* FuriHal: sync api symbols
* FuriHal: cleanup BLE glue, remove unused garbage and duplicate declarations
* FuriHal: BLE glue cleanup, 2nd iteration
* FuriHal: hide tick drift reports under FURI_HAL_OS_DEBUG
* Lib: sync stm32wb_copro with latest dev
* FuriHal: ble-glue, slightly less editable device name and duplicate definition cleanup
* FuriHal: update ble config options, enable some optimizations and ext adv
* FuriHal: update clock switch method documentation
* FuriHal: better SNBRSA bug workaround fix
* FuriHal: complete comment about tick skew
* FuriHal: proper condition in clock hsi2hse transition
* FuriHal: move PLL start to hse2pll routine, fix lockup caused by core2 switching to HSE before us
* FuriHal: explicit HSE start before switch
* FuriHal: fix documentation and move flash latency change to later stage, remove duplicate LL_RCC_SetRFWKPClockSource call
---------
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-09-19 18:22:21 +04:00
MX
eb2607f308
Merge branch 'ofw_dev' into dev
2023-09-11 15:26:26 +03:00
Sergey Gavrilov
4705812d24
SD-Card: proper HAL ( #3058 )
...
* Storage: remove unused error from SDInfo
* FatFS: remove sd_spi_io
* HAL: sd card api
* Update: use sd hal
* FatFS: use sd hal
* Storage: use sd hal
* API: sd hal
* Fix TODO workflow
* SD Hal: Fix source buffer overflow
* fix for fix!
* HAL: cleanup sd detection api
* HAL: FURI_HAL_SD_SPI_DEBUG flag
* HAL: FuriHalSdStatus -> FuriStatus
* API: downgrade
* Change define logic
* HAL: presence
2023-09-11 18:30:56 +09:00
あく
1c0276a0be
Various Fixes and Improvements ( #3059 )
...
* FuriHal: lower MGG display contrast by 4 points
* FuriHal: unify external gpio resources initialization
* Infrared: parse raw in universal TV file, cleanup it with new ifrared script. Other minor changes.
* Gui: fix elements_multiline_text_aligned eating symbols
* Lib: human readable errors in flipper application package
* Special request from marketing team
2023-09-11 16:23:00 +10:00
MX
9c6e20356f
Merge branch 'ofw-dev' into dev
2023-09-04 16:47:08 +03:00
Sergey Gavrilov
0b806c2360
Storage: force mount ( #3033 )
...
* Storage: count opened files
* Storage: sd mount
* Storage: prompt to mount SD card if not mounted
* F18: update API
* F18: update API version
* Fix logger naming scheme
* Storage: storage_files_count -> storage_open_files_count
Co-authored-by: あく <alleteam@gmail.com>
2023-09-04 14:10:07 +09:00
MX
15c480b68a
Merge branch 'ofw-dev' into dev
2023-09-02 13:33:32 +03:00
Max
52b5966262
Add File Naming setting for more detailed naming ( #3002 )
...
* added filename mode setting
* added furi_flag checks for when filename_mode is set
* changed naming for ibutton, lfrfid and subghz
* requested changes from PR
* Lib: gather all naming bits and pieces under name generator module. Properly bump api version. FuriHal: fix RTC flag enum.
* PR requested changes
* bug fix for arg type
* added functionality for other application scenes
* Lib: cleanup name generator API, simplify usage. Sync API symbols.
* Lib: proper size type in name_generator. Cleanup.
* FuriHal: cleanup rtc api usage across firmware
Co-authored-by: あく <alleteam@gmail.com>
2023-09-01 14:57:49 +09:00
MX
0660329ae5
Merge branch 'ofw-dev' into dev
2023-08-23 23:47:03 +03:00
Astra
60182aa2cd
[FL-3564] New IR universal remote graphics ( #3006 )
...
* New IR universal remote layout
* Remove redundant checks
Co-authored-by: あく <alleteam@gmail.com>
2023-08-24 03:24:47 +09:00
MX
20593d56c0
Merge branch 'ofw-dev' into dev
2023-08-22 21:53:50 +03:00
hedger
ace0901125
[FL-3486,FL-3392] fbt: various improvements and bug fixes ( #2982 )
...
* fbt: extapps: compact debug format for .faps
* fbt: sdk: fixed symbol cache regen logic for removed-only symbols
* lib: elf_file: early .fap file handle release
* fbt: extapps: added FAP_VERSION define for application environments
* github: added appsymbols artifact
* api: updates for f18
* github: fixed early fap_dist
* fbt: added flash_dap
* ufbt: added flash_dap
* fbt: reworked flash target; scripts: program.py->fwflash.py and changes
* vscode: updated configuration
* scripts: fwflash.py: ugly fixes for ufbt
* scripts: fwflash.py: cleanup
* fbt: flash: always use .elf file
* scripts: fwflash: fixed elf file path
Co-authored-by: あく <alleteam@gmail.com>
2023-08-23 03:33:10 +09:00
MX
4164932044
remove
2023-08-11 23:23:06 +03:00
MX
4b81046b6f
Merge branch 'ofw-dev' into dev
2023-08-11 18:08:12 +03:00
MX
09d5b3b1ed
Expose additional functions of the crypto engine to user ( #2923 )
...
* Allow loading user supplied keys and add CTR mode
* Add GCM mode to furi_hal_crypto
* Split up CTR and GCM code, add flag for adv crypto
* Add convenience functions for GCM crypto
* Run fbt format
* Update GCM to support additional auth data
* Update APIs
* FuriHal: update crypto documentation, method names and usage
* Clean up code for key (un)loading, GCM and CTR
- get rid of goto
- do not use furi_hal_bt_is_alive() when not using secure enclave
- give defines a type and wrap in ()
* Add unit test for CTR and GCM crypto
* FuriHal: const in crypto unit tests, cortex timer for crypto operations timeouts
* FuriHal: update crypto docs
Co-authored-by: twisted_pear <twstd@posteo.net>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-08-11 17:55:40 +03:00
MMX
f75fcd4e34
UI: Clock on Desktop ( #2891 )
...
* Clock on desktop
* Gui: gui_active_view_port_count
* Gui: move gui_active_view_port_count to private header, update docs
* Desktop: simplify desktop clock code
* Desktop: refactor clock
* Desktop: optimize clock code
* Desktop: 3rd cleanup round
* Desktop: 4th cleanup round, missing bits and pieces
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-08-11 01:10:15 +09:00
twisted-pear
c976ff11bf
Expose additional functions of the crypto engine to user ( #2923 )
...
* Allow loading user supplied keys and add CTR mode
* Add GCM mode to furi_hal_crypto
* Split up CTR and GCM code, add flag for adv crypto
* Add convenience functions for GCM crypto
* Run fbt format
* Update GCM to support additional auth data
* Update APIs
* FuriHal: update crypto documentation, method names and usage
* Clean up code for key (un)loading, GCM and CTR
- get rid of goto
- do not use furi_hal_bt_is_alive() when not using secure enclave
- give defines a type and wrap in ()
* Add unit test for CTR and GCM crypto
* FuriHal: const in crypto unit tests, cortex timer for crypto operations timeouts
* FuriHal: update crypto docs
Co-authored-by: twisted_pear <twstd@posteo.net>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-08-10 17:44:46 +09:00
MX
7027f6a4c4
Merge branch 'ofw-dev' into dev
2023-08-09 15:05:12 +03:00
Astra
a39ef50fdb
[FL-3433] Add compressor.h to the SDK ( #2962 )
2023-08-09 16:52:41 +09:00
MX
2f532a547e
Merge branch 'ofw-dev' into dev
2023-07-18 22:53:16 +03:00
あく
76e97b8d35
[FL-3051] Gauge initialization routine refactoring, new DataMemory layout, configuration update ( #2887 )
...
* FuriHal: refactor power gauge config
* Format sources and move gauge DM load to separate method
* FuriHal: bq27220 refactoring part 1
* Power: use SYSDWN battery status flag for system shutdown
* Libs: bq27220 read DM before write, fix incorrect shift
* FuriHal: cleanup gauge config, add flags, add ptr DM type, update symbols
* FuriHal: 2 stage gauge DM verification and update, better detection routine
* FuriHal: update gauge configuration, lower sleep current and deadband
* FuriHal: gauge and charger health reporting
* Lib: cleanup bq27220 sources
* FuriHal: correct documentation for furi_hal_power_is_shutdown_requested
* FuriHal: proper gauge config for f7
2023-07-18 14:46:38 +04:00
MX
2c8350818c
Merge branch 'ofw-dev' into dev
2023-07-17 20:33:26 +03:00
hedger
20f6394ad8
[FL-3431] Radio headers in SDK ( #2881 )
2023-07-17 11:51:15 +04:00
MX
4a2cae23ca
Merge branch 'ofw-dev' into dev
2023-07-11 15:49:01 +03:00
Astra
8bccfd6fd8
[FL-3363] More descriptive error messages for the log command ( #2835 )
...
* More descriptive error messages for the log command
* Log level description improvements
* Log help changes
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-07-11 15:41:16 +04:00
MX
bb7ffd6ff5
Merge branch 'ofw-dev' into dev
2023-07-10 16:55:28 +03:00
Sergey Gavrilov
9b2d80d6b7
[FL-3400] External menu apps ( #2849 )
...
* FBT, applications: add MENUEXTERNAL app type
* FBT, uFBT: build MENUEXTERNAL as EXTERNAL app
* Loader menu: show external menu apps
* LFRFID: move to sd card
* FBT: always build External Applications list
* Archive: look for external apps path
* Infrared: move to sd card
* Apps: add "start" apps
* iButton: move to sd card
* BadUSB: move to sd card
* External apps: update icons
* GPIO: move to sd card
* Loader: look for external apps path
* U2F: move to sd
* SubGHz: move to sd
* Apps: "on_start" metapackage
* NFC: move to sd
* Sync f7 and f18
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-07-10 12:03:41 +04:00
Astra
0195f8bf00
[FL-3350] Device Info update ( #2840 )
...
* Update F18 version info
* Certification info for F18
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-07-10 10:48:00 +04:00
MX
2c9ddd5a90
Merge branch 'ofw-dev' into dev
2023-07-06 16:54:10 +03:00
Sergey Gavrilov
d8500510be
API: explicitly add math.h ( #2852 )
...
* API: explicitly add math.h
* sync target api versions
2023-07-06 15:49:53 +04:00
MX
3d1d5f5b77
Merge branch 'ofw-dev' into dev
2023-07-05 20:03:20 +03:00
Skorpionm
906cca8f24
Furi_Power: fix furi_hal_power_enable_otg ( #2842 )
...
* Furi_Power: fix furi_hal_power_enable_otg
* SubGhz: fix error output connected USB
* Furi_Hal: fix target F18
* Fix api_symbols.csv version for F7
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-07-06 01:48:02 +09: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
Sergey Gavrilov
95c1585df6
[FL-3211][FL-3212] Debug apps: speaker, uart_echo with baudrate ( #2812 )
...
* Music player: move music_worker to library
* Music player: drop cli
* Debug: speaker debug app
* Debug: baudrate arg in uart_echo app
* Libs: add music_worker to api
* Libs: add music_worker to targets linker_dependencies
Co-authored-by: あく <alleteam@gmail.com>
2023-06-29 20:23:04 +09: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
Sergey Gavrilov
645a7c5989
[FL-3386] Fast FAP Loader ( #2790 )
...
* FBT: build and add FastFAP(tm) sections
* Elf file: fast loading fap files. Really fast, like x15 times faster.
* fastfap.py: cleanup unused imports
* Toolchain: 23 version
* Elf File: remove log messages
* Scripts: fix file permissions
* FBT: explicit interpreter for fastfap invocation
Co-authored-by: あく <alleteam@gmail.com>
2023-06-28 17:19:10 +09:00
Sergey Gavrilov
761a14e6e2
[FL-2837][FL-3270] Loader refaptoring: second encounter ( #2779 )
...
* Core: rename internal FlipperApplication to FlipperInternalApplication
* FAP Loader: move load_name_and_icon to flipper_application library
* Loader menu: rework api
* View holder: move to gui service
* Loader: simple "loading" worker
* Loader: applications dialog
* Loader: fapping
* Update f18 api
* Apps: remove fap_loader
* Libs, flipper application: store args, rename thread allocation
* Loader: error handling
* Apps: use loader error handling
* Loader: documentation
* FBT: accomodate loader
* Loader: do not raise gui error if loader is locked
* Archive: accomodate loader
* Loader: fix loading message
* Flipper: drop some old dolphin legacy
* Loader: generalize error construction
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-23 21:01:40 +09:00
Astra
4900e8b7a2
[FL-3284] Fix reading Mifare Classic cards with unusual access conditions and fix emulation of unknown keys ( #2620 )
...
* I was outplayed by the C programming language
* Fix emulating empty keys as 0s
* Add exceptions for Detect Reader
* Sync api_symbols.csv for F18
* Outplayed by the C language [X2]
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-09 21:41:40 +09:00
Sergey Gavrilov
0e4344a83c
Services: simplify api ( #2540 )
...
Co-authored-by: あく <alleteam@gmail.com>
2023-06-09 20:02:47 +09:00
Skorpionm
dbd48a04d4
[FL-3331] SubGhz: add subghz_protocol_registry external API ( #2712 )
...
* [FL-3331] SubGhz: add subghz_protocol_registry external API
* F18: fix API version
---------
Co-authored-by: hedger <hedger@nanode.su>
2023-06-06 23:13:41 +04:00
Sergey Gavrilov
3e1f209d64
Furi: smaller critical enter and critical exit macro ( #2716 )
...
* Furi: smaller critical enter and critical exit macro
* api: bumped version
---------
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2023-06-06 23:00:43 +04:00
あく
76c70bdf2c
[FL-3316] Settings: add contrast adjustment ( #2737 )
...
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-06 21:46:01 +04:00
gornekich
1d7966f74e
NFC: fix MFC timings ( #2719 )
...
* digital signal: add optimization
* nfc test: more restrict tests
* digital signal: build as separate library
* digital signal: remove unused flags, format sources
* digital signal: fix cflag name
* target: fix build for f18 target
Co-authored-by: あく <alleteam@gmail.com>
2023-06-01 21:37:47 +09:00