Commit Graph

608 Commits

Author SHA1 Message Date
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
MX a7a4f9b885 SubGhz hal fixes 2023-02-08 23:31:27 +03:00
MX d6d7a5ece2 Fix merge issue 2023-02-08 17:48:07 +03:00
MX 0dccbe28bb Merge branch 'fz-dev' into dev 2023-02-08 17:15:17 +03: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
MX 81316255f9 Fix after merge issues pt1 2023-02-08 12:22:11 +03:00
MX 6c768f2019 Merge branch 'fz-dev' into dev 2023-02-08 12:09:57 +03: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 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
MX e4c9568867 Merge branch 'fz-dev' into dev 2023-02-07 18:37:30 +03: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
yocvito 08475ff579 Add bt is connected check 2023-02-03 22:40:09 +00:00
Victor 5458157924 Added external CC1101 support 2023-02-02 22:47:50 +03:00
yocvito fb1218c9a5 Removes pin verif when using BT for bad-USB 2023-01-30 13:31:24 +01:00
yocvito a6daa2a20d drop useless file and some useless line 2023-01-27 11:56:29 +01:00
yocvito a88053964e Bluetooth timeout is now dynamic thanks to rssi analyzing 2023-01-26 22:54:15 +01:00
yocvito df4d512f7d Adds BLE adv name & mac changing effective 2023-01-25 19:00:41 +01:00
VerstreuteSeele a721708897 Update furi_hal_bt.c 2023-01-16 05:45:51 +01:00
VerstreuteSeele cd2da151f4 Update furi_hal_bt.c 2023-01-16 05:37:32 +01:00
VerstreuteSeele 35befd07c4 Remove "Flipper" from BT name + formatting 2023-01-16 04:29:26 +01:00
VerstreuteSeele 49dabee42f Revert NFC u2f 2023-01-14 09:00:41 +01:00
VerstreuteSeele 905bb23fdf Formatting & New updated IR 2023-01-14 08:44:32 +01:00
VerstreuteSeele dda9ffdce2 Thanks, PVC 2023-01-14 07:19:26 +01:00
jbohack ea0b5488ad u2f over nfc
https://github.com/flipperdevices/flipperzero-firmware/pull/1755
from @devsnek

may need more testing
2023-01-11 19:15:06 -05:00
yocvito ce3305193f Adds hal modifications 2023-01-05 20:32:46 +01:00
MX 82f8ad4540 Add 350Mhz to default range
Actually this frequency is used by some part of home devices like ceiling fans
2023-01-03 18:40:03 +03:00
yocvito 202596ad38 add buggy extra config UI for bad usb (for implementing BLE and UART) 2023-01-01 02:17:40 +01:00
MX 4e3506ab2e Show OTP flipper region on debug and about screens
but keep region zero for ble and usb hardware info report
2022-12-29 01:43:24 +03:00
nullableVoidPtr 94558df627 Merge branch 'dev' into nfcf 2022-12-28 17:23:43 +08:00
VerstreuteSeele 89d67705a4 Merge branch '420' of https://github.com/RogueMaster/flipperzero-firmware-wPlugins into dev 2022-12-27 20:22:31 +01:00
RogueMaster ed74859225 Merge branch 'UNLEASHED' into 420 2022-12-27 09:31:33 -05:00
MX 473f9c0e44 Merge branch 'fz-dev' into dev 2022-12-27 16:06:27 +03:00
Sergey Gavrilov 727f043747 OpenOCD scripts (#2101)
* Scripts: option bytes check
* Scripts: option bytes set
* Scripts: openocd config
* Scripts: increased readability, process IPCCBR option byte
* Scripts: split dap_ob.py
* Updater: process IPCCBR option byte
* Scripts: move chip-related functions to chip definition
* Scripts: freeze CPU registers
* Scripts: flash programming routine
* ob.py
* otp.py
* otp: handle errors correctly
* downgrade to python 3.9
* correct type hinting
* Scripts: fix path to ob.data

Co-authored-by: あく <alleteam@gmail.com>
2022-12-27 21:59:36 +09:00
VerstreuteSeele 47706d20e7 Merge branch '420' of https://github.com/RogueMaster/flipperzero-firmware-wPlugins into dev 2022-12-27 11:11:02 +01:00
RogueMaster c361305a10 Merge branch 'UNLEASHED' into 420 2022-12-26 16:14:07 -05:00
MX 6d368c3e3a Merge branch 'fz-dev' into dev 2022-12-26 22:42:21 +03:00
Georgii Surkov 8582670a34 [FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
nullableVoidPtr 95f91b529e Merge branch 'dev' into nfcf 2022-12-25 18:03:54 +08:00
VerstreuteSeele c0e2774e94 Public 2022-12-22 04:43:41 +01:00
VerstreuteSeele 4d0a986dfd New Files for everyone 2022-12-21 22:03:12 +01:00
RogueMaster 8a426465c8 Merge branch 'UNLEASHED' into 420 2022-12-19 13:01:35 -05:00
VerstreuteSeele 383752072d Merge (Dev Commits)[https://github.com/flipperdevices/flipperzero-firmware/commits/dev] 2022-12-19 17:45:02 +01:00
MX 084cdc6ad0 Merge branch 'fz-dev' into dev 2022-12-19 16:57:00 +03:00
Nikolay Minaylov f10e82c64d [FL-3024] Locale settings (#2137)
* Locale settings
* Time/date format fix
* Locale: add docs, enums for HAL, cleanup.

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-12-19 18:38:20 +09:00
VerstreuteSeele febc6d4284 New Locale Settings API & Fix for long filenames 2022-12-19 01:01:05 +01:00
MX 96a97f1bfb Merge branch 'fz-dev' into dev 2022-12-17 07:25:49 +03:00
RogueMaster e78da241ca Merge branch 'ofwdev' into 420 2022-12-16 17:28:38 -05:00