Commit Graph

872 Commits

Author SHA1 Message Date
VerstreuteSeele
737314c762 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev 2023-02-14 10:16:15 +01:00
VerstreuteSeele
a718f1a43c V41 Release pending 2023-02-14 09:37:17 +01:00
Willy-JL
6c561d8c67 Fix subbrute symbols 2023-02-14 00:14:53 +00:00
Nikolay Minaylov
bc06d407f3 [FL-3113] BadUSB: disable CDC mode, USB mode switch fix (#2394) 2023-02-14 00:43:29 +09:00
Willy-JL
0ff5164d99 Format (and thanks nano for the big folder fix <3) 2023-02-12 21:11:00 +00:00
Willy-JL
d7e454a627 Fix api version tag 2023-02-12 01:19:33 +00:00
yocvito
9132fa2961 fix adv name length bug & finalize merge 2023-02-12 01:06:41 +01:00
yocvito
6de0470b4d Merge remote-tracking branch 'upstream/dev' into badusb-ble 2023-02-12 00:33:42 +01:00
yocvito
796930b12c remove useless func 2023-02-12 00:28:03 +01:00
VerstreuteSeele
409a79ddee Fix chat & subghz settings 2023-02-11 23:27:21 +01:00
yocvito
c9941d44a7 removes useless commented function 2023-02-11 22:14:11 +01:00
yocvito
999c609773 Handle write request on HID keyboard led state characteristic and respond to it (should fix numlock issue) 2023-02-11 22:01:02 +01:00
Willy-JL
e644b97cf0 Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-02-10 20:58:15 +00:00
VerstreuteSeele
176c01c0da More subghz (btw.. entire subghz update, credits to unleashed. will be in release note too) 2023-02-10 21:16:40 +01:00
yocvito
fa003f7816 merge 2023-02-10 20:05:47 +01:00
yocvito
f5219db3fc Adds LED state report characteristic into bt GATT hid service (for now writing by host isn't working) 2023-02-10 20:04:45 +01:00
VerstreuteSeele
e7d01998c1 Update subghz 2023-02-10 17:29:45 +01:00
Willy-JL
afd0f6bfd4 Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-02-09 20:05:59 +00:00
Willy-JL
0a6f830ad0 Fix api version tag 2023-02-09 20:05:48 +00:00
Willy-JL
e35b1d476a Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-02-09 20:04:46 +00:00
Willy-JL
8b11797949 Fix api symbols 2023-02-09 19:53:25 +00:00
Willy-JL
dfb6e9daa6 Fix spi header 2023-02-09 19:04:53 +00:00
VerstreuteSeele
af869ef8d2 Merging OFW | Suffering | Part 1 | Wont build as is
I honestly dont even know anymore...
2023-02-09 18:34:56 +01:00
Petr Portnov | PROgrm_JARvis
4265057ee8 feat: add missing const qualifiers (#2233)
* feat: make `ViewPort` getters const
* feat: make tx-buffers const
* feat: make `canvas_get_buffer_size` const
* feat: make `canvas` methods const
* feat: make `icon_animation` methods const
* feat: make `scene_manager` methods const
* feat: make `loader` method const
* feat: make `canvas_get_font_params` const

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-09 13:58:01 +09:00
Skorpionm
163be139eb SubGhz: add protocol BinRAW (binarization of data quantized by the minimum correlated duration) (#2322)
* SubGhz: add protocol DataRAW (binarization of data quantized by the minimum correlated duration)
* SubGhz: fix name history
* SubGhz: add encoder Data_RAW protocol
* SubGhz: decreasing the size of the LevelDuration structure
* SubGhz: history, added check that there is free RAM
* SubGhz: checking for free memory, support to pass without gap
* SubGhz: add running average to average the result, auto cut noise at the end of a burst
* SubGhz: support for repeating sequences
* SubGhz: fix secplus_v2 decoder
* SubGhz: bin_RAW fix add history
* SubGhz: add debug
* SubGhz: debug refactoring
* FURI_LOG: add FURI_LOG_RAW_x formatted string output like printf
* SubGhz: fix new FURI_LOG metod
* FURI_LOG: fix unit test
* SubGhz: add enable/disable BinRAW protocol decoding
* SubGhz: fix PVS
* SubGhz: forcibly turn off the speaker when exiting SubGhz
* SubGhz: adaptive adjustment to the noise level

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-09 13:48:06 +09:00
Skorpionm
31259d5304 [FL-3091] SubGhz: add protocol Alutech at-4n (#2352)
* GubGhz: add protocol Alutech at-4n
* SubGhz: fix syntax
* SubGhz: fix subghz_protocol_decoder_alutech_at_4n_get_hash_data
* SubGhz: add unit test alutech at-4n
* SubGhz: add name key

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-09 01:59:49 +09:00
Skorpionm
99253a0e28 [FL-3093, FL-3087] SubGhz: Fix Raw write, add short duration filter setting (#2300)
* SubGhz: Fix recording RAW files, sometimes could not start at a high level
* SubGhz:  subghz_worker, add short duration filter setting
* SubGhz: capture raw timings in cli. Furi: clear pending interrupts on ISR set/reset
* SubGhz: fix start  duration in furi_hal_subghz_start_async_rx
* [FL-3093] SubGhz: hopping issue in some regions
* [FL-3087] SubGhz: fix delete-ok issue
* SubGhz: remove copypasta from rx_raw cli command

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 22:20:42 +09:00
LTVA1
23ecc186c2 Custom font set function (#2261)
* custom font set function
* update API symbols
* add example of custom font usage
* delete u8g2 dependency in example custom font
* rename to canvas_set_custom_u8g2_font
* now change the name in ALL places

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-02-08 18:26:17 +09:00
Georgii Surkov
7a3a1aaf0d [FL-3057] Allow use of any suitable pin for 1-Wire devices (#2350)
* Add 1-wire thermometer example app stub
* Working 1-wire thermometer app
* Refactor app to use threads
* Clean up code, add comments
* Add CRC checking
* Increase update period
* Fix error in fbt
* Revert the old update period
* Use settable pin in onewire_host
* Use settable pin for onewire_slave
* Clear EXTI flag after callback, make private methods static in onewire_slave
* Do not hardcode GPIO pin number
* Remove iButton hal from furi_hal_rfid
* Remove most of furi_hal_ibutton
* Add some of furi_hal_ibutton back
* Slightly neater code
* Fix formatting
* Fix PVS-studio warnings
* Update CODEOWNERS
* Add furi_hal_gpio_get_ext_pin_number
* Create README.md
* FuriHal: move furi_hal_gpio_get_ext_pin_number to resources

---------

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 14:40:44 +09:00
Sergey Gavrilov
e3d473bf42 [FL-2435] SD over SPI improvements (#2204)
* get rid of BSP layer
* sector_cache: init in any case
* new sd-spi driver: init
* Delete stm32_adafruit_sd.c.old
* Delete spi_sd_hal.c.old
* Storage: faster api lock primitive
* Threads: priority control
* Flags: correct error code
* Spi: dma mode
* SD-card: use DMA for big blocks of SPI data
* Fix wrong SD_TOKEN_START_DATA_MULTIPLE_BLOCK_WRITE value
* do not memset cache if it is NULL
* remove top-level timeouts
* sd hal: disable debug
* Furi HAL: DMA
* Furi HAL RFID: use furi_hal_dma
* Furi HAL DMA: tests
* Furi HAL DMA: docs
* rollback "Furi HAL RFID: use furi_hal_dma"
* 4 channels taken from DMA manager for core HAL.
* Furi HAL DMA: live fast, die young
* RPC tests: increase message buffer
* SPI HAL: use second DMA instance
* sd hal: new CID getter
* SPI hal: use non-DMA version if kernel is not running
* IR hal: generalize DMA definition
* storage: add CID data to sd info
* RFID hal: generalize DMA definition
* SUBGHZ hal: generalize DMA definition. Core hal moved to DMA2.
* Storage: small optimizations, removal of extra mutex
* Storage: redundant macro
* SD hal: more timeouts
* SPI hal: DMA init
* Target: make furi_hal_spi_dma_init symbol private
* Update F18 api symbols

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 13:41:22 +09:00
Willy-JL
65081c878a Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-02-08 04:05:46 +00:00
VerstreuteSeele
15ec5b4e0d fixed api, fixed cartfiles & removed my stupidity 2023-02-08 03:58:08 +01:00
VerstreuteSeele
0bc1a00368 Update api_symbols.csv 2023-02-07 19:48:30 +01:00
VerstreuteSeele
894fe99abd Revert "fix bs"
This reverts commit 189055d8f3.
2023-02-07 19:47:52 +01:00
VerstreuteSeele
189055d8f3 fix bs 2023-02-07 19:44:13 +01:00
VerstreuteSeele
9b81f93fd2 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev 2023-02-07 19:12:13 +01:00
hedger
224d0aefe4 [FL-2733] multitarget support for fbt (#2209)
* First part of multitarget porting
* Delete firmware/targets/f7/Inc directory
* Delete firmware/targets/f7/Src directory
* gpio: cli fixes; about: using version from HAL
* sdk: path fixes
* gui: include fixes
* applications: more include fixes
* gpio: ported to new apis
* hal: introduced furi_hal_target_hw.h; libs: added one_wire
* hal: f18 target
* github: also build f18 by default
* typo fix
* fbt: removed extra checks on app list
* api: explicitly bundling select mlib headers with sdk
* hal: f18: changed INPUT_DEBOUNCE_TICKS to match f7
* cleaned up commented out code
* docs: added info on hw targets
* docs: targets: formatting fixes
* f18: fixed link error
* f18: fixed API version to match f7
* docs: hardware: minor wording fixes
* faploader: added fw target check
* docs: typo fixes
* github: not building komi target by default
* fbt: support for `targets` field for built-in apps
* github: reworked build flow to exclude app_set; fbt: removed komi-specific appset; added additional target buildset check
* github: fixed build; nfc: fixed pvs warnings
* attempt to fix target id
* f7, f18: removed certain HAL function from public API
* apps: debug: enabled bt_debug_app for f18
* Targets: backport input pins configuration routine from F7 to F18

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 01:33:05 +09:00
あく
1eda913367 [FL-3075] Pin Reset (#2367)
* Nfc: fix PVS warnings
* Factory reset combo, initial version
* Recovery screen and correct input pin initialization
* Better pin and factory reset message
* Down to cancel factory reset
2023-02-08 01:35:49 +10:00
Krzysztof Zdulski
d035872cf6 nfc: Add mifare classic value block commands (#2317)
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-02-07 12:21:25 +09:00
Willy-JL
1e6e7b8669 Update symbols 2023-02-06 13:56:53 +00:00
yocvito
08475ff579 Add bt is connected check 2023-02-03 22:40:09 +00:00
yocvito
d6a1dc2e1f Removes storing of bt peer key in internal flash for bad usb BLE
Co-authored-by: yocvito <nicolasmorel.dp@gmail.com>
2023-02-03 22:27:26 +00:00
VerstreuteSeele
09d080c00d Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev 2023-02-03 22:41:55 +01:00
あく
52680fd14e FreeRTOS: update to 10.5.1 (#2353) 2023-02-04 04:09:20 +10:00
Willy-JL
72935579e6 Format 2023-02-03 17:46:32 +00:00
Clara K
f99309b9bc Merge branch 'dev' into badusb-ble 2023-01-31 11:47:34 +01:00
yocvito
f384872449 BLE GAP: specifies Keyboard yes/no IO capability for GapPairingNone case during gap init, in case 'Just works' pairing method is not accepted by remote host 2023-01-30 22:01:38 +01:00
VerstreuteSeele
e640b4e7bf Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev 2023-01-30 18:16:02 +01:00
Willy-JL
9fa8843025 Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-01-30 13:06:04 +00:00
yocvito
fb1218c9a5 Removes pin verif when using BT for bad-USB 2023-01-30 13:31:24 +01:00