Commit graph

5002 commits

Author SHA1 Message Date
MX
3531caaa0b
Clean up some comments, rename is done 2023-05-10 23:48:47 +03:00
MX
b38a593c4f
Remove this 2023-05-10 23:36:52 +03:00
MX
e7707b31f0
Do some TODOs 2023-05-10 23:28:09 +03:00
MX
a941ed8c2a
Rename funcs 2023-05-10 23:12:50 +03:00
MX
3e3538b9bc
Always free 2023-05-10 23:07:06 +03:00
MX
735fe31f3b
Fmt and cleanup some "if"s in protocols 2023-05-10 22:56:56 +03:00
MX
cca6606c78
fix typos from ofw 2023-05-10 21:48:55 +03:00
gid9798
6f10990386 SubGhz: fix syntax & minor fixes 2023-05-10 13:21:42 +03:00
gid9798
88bd5aef40
Merge branch 'DarkFlippers:dev' into subghz_refactoring_step_by_step 2023-05-09 22:42:28 +03:00
gid9798
a3cf592f29 Minor fixes 2023-05-09 22:16:52 +03:00
gid9798
0019baaa00 SubGhz: simplify includes 2023-05-09 21:58:36 +03:00
gid9798
85d44c5f6c SubGhz: fix naming part 2 and 3 2023-05-09 21:54:56 +03:00
gid9798
5b447d0a56 SubGhz: refactoring 2023-05-09 21:44:53 +03:00
gid9798
e817a4cdba SubGhz: add function description 2023-05-09 21:38:25 +03:00
gid9798
def4ae395e SubGhz: refactoring 2023-05-09 21:20:35 +03:00
MX
1d2d05cfdf
Fix merge issues 2023-05-09 20:24:43 +03:00
MX
02a22086a1
Update changelog and change mfkey category 2023-05-09 20:21:07 +03:00
gid9798
42a415e449 SubGhz: value get optimizations 2023-05-09 20:19:01 +03:00
gid9798
752a11ba26 SubGhz: refactoring RPC 2023-05-09 20:06:22 +03:00
gid9798
21cd94cc79 SubGhz: show error tx start 2023-05-09 19:50:01 +03:00
gid9798
c69b2086b0 SubGhz: refactoring 2023-05-09 19:33:45 +03:00
gid9798
d7f3b8a425 SubGhz: refactoring move txrx 2023-05-09 19:10:56 +03:00
MX
4693af74e7
Update API, remove direct calls of stream buffers 2023-05-09 18:44:17 +03:00
MX
face4bd3c7
Merge branch 'fz-dev' into dev 2023-05-09 18:28:46 +03:00
gid9798
9b3654c1f0 SubGhz: refactoring make subghz_radio.h look like in OFW 2023-05-09 18:24:38 +03:00
gid9798
8ae2cb1d32 SubGhz: refactoring 2023-05-09 18:24:25 +03:00
gid9798
a2fbe7fab8 SubGhz: refactoring 2023-05-09 17:30:01 +03:00
gid9798
4cbdbd9ef5 SubGhz: refactoring 2023-05-09 15:58:56 +03:00
gid9798
076f6785cb SubGhz: refactoring 2023-05-09 15:22:08 +03:00
gid9798
07203f0989 SubGhz: refactoring 2023-05-09 15:11:54 +03:00
gid9798
f71900694b SubGhz: refactoring 2023-05-09 13:34:54 +03:00
gid9798
b99d309feb SubGhz: moving "txrx" entity to a separate file 2023-05-09 12:07:36 +03:00
hedger
eebc6241b7
[FL-3302] ble: attempt to handle hardfaulted c2 (#2653)
* ble: attempt to handle hardfaulted c2
* MfKey32: nicer macros
* FuriHal: slightly different core2 hardfault message
* Update ReadMe

Co-authored-by: あく <alleteam@gmail.com>
2023-05-09 13:06:44 +09:00
Nathan Nye
d5403a089c
Add Mfkey32 application (#2517)
* Add Mfkey32 application
* Fine tune RAM requirements, use FZ notification service API
* Fix PVS security warnings, fix issue with cracking keys on the FZ
* Prefer on-device or Flipper mobile app (seamless)
* Mfkey32: change app category to NFC
* Mfkey32: set target to f7 only
* Silence PVS false positives
* Correct PVS codes

Co-authored-by: あく <alleteam@gmail.com>
2023-05-09 10:45:59 +09:00
g3gg0.de
e1c6e78b2e
added DigitalSequence and PulseReader (#2070)
* added DigitalSequence to chain multiple DigitalSignals
added PulseReader for hardware assisted digital signal sampling
* added send_time option to start a signal at a specific DWT->CYCCNT value
* fixed linter errors and undone function renaming
* fixed renaming
* flagged functions in api_symbols.csv
* allow gpio field to stay uninitialized in digital_signal_prepare_arr()
* fix test cases to match (expected) implementation
* pulse_reader: build as static library
Signed-off-by: g3gg0.de <git@g3gg0.de>
* fix starting level detection in pulse_reader
* added unit test for pulse_reader
* change pulse reader test timings to 1, 10 and 100 ms
* fine tuned timings for pulse_reader test
* pulse_reader_stop now deinits GPIO as recommended by @gornekich
* ran format_py
* pulse_reader: remove from API, allow to link with faps
Signed-off-by: g3gg0.de <git@g3gg0.de>
* remove unit test for pulse_reader again
* pulse_reader: add call to set GPIO pull direction
* make structures private, add C implementation of digital_signal_update_dma()
* digital_signal/pulse_reader: allow parameters for free to be NULL
* digital_signal: show unoptimized and optimized code for digital_signal_update_dma() next to each other
* pulse_reader: further optimize assembly code
* digital_signal: reduce code complexity of digital_signal_update_dma() by only reconfiguring DMA2
* digital_signal: remove assembly code, limiting the performance but increasing portability
* added recovery if the timer already expired
* digital_signal: fix memory leak
* digital_signal: keep lock until all DMA transfers have finished
* DigitalSequence: fix issues with concatenation of same levels and spurious bit flips
* DigitalSignal: use cyclic DMA buffer for sequences
* update api_symbols.csv
* Update api_symbols.csv for f18 target
* Patches from @gornekich to fix linter warnings.
* Remove some redundant if checks
* Remove some magic numbers and reformat.
* Remove forced terminating edge.

Signed-off-by: g3gg0.de <git@g3gg0.de>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: Tiernan Messmer <tiernan.messmer@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-05-09 09:55:17 +09:00
あく
f57f0efc48
Debug: revert cortex debug to lxml and drop DWT (#2651)
* Debug: revert cortex debug to lxml

* Debug: update PyCortexMDebug readme

* fbt: moved "debug" dir to "scripts" subfolder

* ufbt: added missing debug_other & debug_other_blackmagic targets; github: fixed script bundling

* lint: fixed formatting on debug scripts

* vscode: updated configuration for debug dir changes

---------

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2023-05-09 03:31:44 +04: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
MX
417343e3dd
Merge branch 'fz-dev' into dev 2023-05-09 01:14:42 +03: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
gid9798
ee85541d2a SubGhz: refactoring subghz_scene_set_type.csubghz_scene_set_type.c 2023-05-08 21:55:51 +03:00
hedger
538f96f0ac
[FL-3300] API version in UI (#2649)
* desktop, about: replaced commit# with API version
* scripts: storage: added approx speed for file uploads
* scripts: selfupdate: use folder name by default
* vscode: fixed broken get_blackmagic shell integration on *nix

Co-authored-by: あく <alleteam@gmail.com>
2023-05-08 20:11:23 +09:00
hedger
f7dd77795a
ufbt: deploying sample ufbt automation for new apps; added source "ufbt -s env" for toolchain access (#2648) 2023-05-08 20:01:52 +09:00
MX
2b2be1789f
Merge branch 'fz-dev' into dev 2023-05-07 22:25:56 +03:00
Perry Fraser
954780ed24
Fix storage.py exist_dir logic (#2639)
* Fix storage.py exist_dir logic. This method would return true if the given path existed as either a directory or
a file, which is what the plain exist method is for.
2023-05-07 22:40:38 +04:00
gid9798
e65a5e2b7c SubGhz: remove direct reading subghz->txrx->speaker_state 2023-05-06 17:56:10 +03:00
gid9798
1567225a64 SubGhz: remove direct reading subghz->txrx->rx_key_state 2023-05-06 17:47:49 +03:00
gid9798
1387d8d5d6 SubGhz: check load type file 2023-05-06 17:28:16 +03:00
gid9798
d8631d1489 SubGhz: remove direct reading subghz->lock 2023-05-06 17:19:02 +03:00
gid9798
c98e76f31e SubGhz: remove direct reading (hopper_state) 2023-05-06 17:02:32 +03:00
gid9798
cb8c77ee2c SubGhz: remove direct reading 2023-05-06 16:36:15 +03:00