Commit Graph

223 Commits

Author SHA1 Message Date
SG
fac4391af7
[FL-2499] Folders rename fix (#1190)
* Toolbox: dir_walk concept (like os.walk)
* Storage CLI: tree command
* Storage: fix folders copying, stage 1
* UnitTest: proper delays in subghz tests
* Toolbox: dir_walk, recursive and filter options
* dir_walk: unit tests
* Merge: Fix unused param
* SubGhz: cleaned up data parsing routine
* SubGhz unit test: cleaned up logs, yield data load
* SubGhz unit test: naming

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-10 17:05:36 +03:00
Eng1n33r
88446baf45
Merge branch 'flipperdevices:dev' into dev 2022-05-08 21:18:14 +03:00
Skorpionm
f04d0eea96
SubGhz: add protocol MegaCode (#1204)
* SubGhz: add protocol MegaCode
* SubGhz: check for guard time injection at the end of buffer
* SubGhz: rollback samples counting in trasmitter
* SubGhz: fix subghz_file_encoder_worker incorrect pulse sequence
* Input: tune debounce interval
* SubGhz: fix spelling in subghz_file_encoder_worker_add_level_duration

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-08 20:50:20 +03:00
r3df0xx
2920052f0b Merge remote-tracking branch 'upstream/dev' into dev 2022-05-06 17:07:45 +03:00
hedger
4d6b170769
[FL-2520] FW build with -Wextra (#1185)
* Fixing compiler warnings with -Wextra
* More warnings suppression, WIP
* Even more warning fixes
* Added new lines at end of text files.
* Padding fix
* Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline
* Fixes for Secplus v1
* -additional warnings
* +-Wredundant-decls fixes
* FuriHal: print stack overflow task name in console
* FuriHal: add missing include

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-06 16:37:10 +03:00
r3df0xx
fcfc4f81b6 Merge remote-tracking branch 'upstream/dev' into dev 2022-05-05 19:56:04 +03:00
Skorpionm
1ca98170d9
SubGhz: add protocol Security+ 1.0 (#1197)
* SubGhz: add protocol Security+ 1.0
* SubGhz: Fix unit_test

Co-authored-by: あく <alleteam@gmail.com>
2022-05-05 16:42:50 +03:00
Skorpionm
c5c0d2e8bc
SubGhz: Add protocol Security+ 2.0 (#1193)
Co-authored-by: あく <alleteam@gmail.com>
2022-05-05 01:44:15 +03:00
Skorpionm
f4a205142d
SubGhz: bug fixes (#1192)
* Subghz: fix simultaneous detection of Princeton and GateTx
* SubGhz: fix phantom frequencies in the Frequency Analyzer
2022-05-05 01:34:44 +03:00
Eng1n33r
9aab239e18
Merge branch 'flipperdevices:dev' into dev 2022-04-29 22:13:54 +03:00
Skorpionm
73477cceed
SubGhz add protocol Firefly (#1183)
* SubGhz: add protocol "Firefly"
* SubGhz: refactoring "Add Manually" scene
* SubGhz: refactoring Firefly protocol

Co-authored-by: あく <alleteam@gmail.com>
2022-04-29 15:17:42 +03:00
r3df0xx
4a1b928229 Update faac_slh.c 2022-04-28 17:30:50 +03:00
r3df0xx
7038a88655 Remove extra furi logs 2022-04-28 13:29:32 +03:00
r3df0xx
7ee400182c Update faac_slh.c
free seed global value on decoder alloc
2022-04-28 12:58:24 +03:00
r3df0xx
e3dd0dc03b Update faac_slh.c
Global seed value
2022-04-28 12:35:47 +03:00
r3df0xx
a7d679b623 rollback 2022-04-27 23:33:35 +03:00
r3df0xx
77a1a58d67 seed transfer to decoder 2022-04-27 17:01:07 +03:00
r3df0xx
8b984b363d correct seed values 2022-04-26 22:57:31 +03:00
r3df0xx
9e0499c461 fixes 2022-04-26 21:35:02 +03:00
r3df0xx
e17c8fc0a7 trythis 2022-04-26 19:56:49 +03:00
r3df0xx
0e9334d8b0 Update faac_slh.c 2022-04-26 19:09:24 +03:00
r3df0xx
a12770a026 Update faac_slh.c 2022-04-26 18:57:49 +03:00
r3df0xx
5e58b19b2c Update faac_slh.c 2022-04-26 18:13:09 +03:00
r3df0xx
d7e9ea5214 + 2022-04-26 17:43:20 +03:00
r3df0xx
941ff162e8 rollback 2022-04-26 14:45:34 +03:00
r3df0xx
6b3faefcca Seed to FAAC_SLH decoder 2022-04-26 14:21:52 +03:00
r3df0xx
814e338cfe Update faac_slh.c
simplify a little
2022-04-26 12:38:21 +03:00
r3df0xx
6bc0e05178 Update faac_slh.c 2022-04-26 09:33:40 +03:00
r3df0xx
5ae4b16a38 Update faac_slh.c
more info
2022-04-26 08:52:25 +03:00
r3df0xx
e4be95ea80 Update faac_slh.c 2022-04-26 08:48:57 +03:00
r3df0xx
137ea15f12 Update faac_slh.c
pointers
2022-04-26 01:28:44 +03:00
r3df0xx
5af52ae673 Update nice_flor_s.c
rollback
2022-04-25 23:26:25 +03:00
r3df0xx
6184d47873 Update nice_flor_s.c
try new encoder
2022-04-25 23:12:37 +03:00
r3df0xx
e49f6a1d76 seed transmition 2022-04-25 22:22:09 +03:00
Eng1n33r
bd1cb6168c
Merge branch 'flipperdevices:dev' into dev 2022-04-25 17:34:39 +03:00
Skorpionm
5effa7e7c3
SubGhz: fix Princeton duration (#1159) 2022-04-25 14:53:36 +03:00
r3df0xx
5ce7c0a7b8 Update faac_slh.c 2022-04-24 23:24:27 +03:00
r3df0xx
bb40522463 Update faac_slh.c 2022-04-24 23:08:41 +03:00
r3df0xx
186b12580e Update faac_slh.c 2022-04-24 22:50:48 +03:00
Eng1n33r
6b71113f9d
Merge branch 'flipperdevices:dev' into dev 2022-04-22 22:20:21 +03:00
Skorpionm
cc99ce1f07
[FL-2496] SubGhz: fix freezing of the interface when the transmission of the RAW signal is forcibly canceled (#1152)
Co-authored-by: あく <alleteam@gmail.com>
2022-04-22 22:05:27 +03:00
Eng1n33r
fc970ea214
Merge branch 'flipperdevices:dev' into dev 2022-04-22 16:32:55 +03:00
Skorpionm
f9140ac2cd
SubGhz: fix waiting for UPLOAD to be sent, for RAW file worker (#1146)
* SubGhz: fix waiting for UPLOAD to be sent
* SubGhz: remove debug output

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-04-22 14:33:43 +03:00
Eng1n33r
97c8299f72
Merge branch 'flipperdevices:dev' into dev 2022-04-21 19:50:27 +03:00
Skorpionm
0ff9f43eab
SubGhz: loading/saving files from any folder below the parent (#1142)
Co-authored-by: あく <alleteam@gmail.com>
2022-04-21 19:10:50 +03:00
r3df0xx
60501ee954 Update faac_slh.c 2022-04-20 21:29:45 +03:00
r3df0xx
799defbdfa Update faac_slh.c 2022-04-20 21:12:05 +03:00
r3df0xx
b42e645195 some fixes 2022-04-20 20:27:35 +03:00
Eng1n33r
b41041e951
Merge branch 'flipperdevices:dev' into dev 2022-04-20 17:17:18 +03:00
Skorpionm
d530d164b9
[FL-2459, FL-2469]SubGhz: displaying a long name in RAW, launching files from subfolders, bugfix (#1125)
* SubGhz: fix the RAW file is not restored when it is launched from under the folder
* SubGhz: fix does not fit long RAW file name
* SubGhz: fix Read not cleared after file rename
* SubGhz: fix restore default frequency and modulation on output
* SubGhz: fix long name output in RAW
2022-04-20 16:51:24 +03:00
r3df0xx
f2ec0a652a Faac SLH add manually 2022-04-19 00:32:25 +03:00
r3df0xx
4bda9d966e rollback2 2022-04-15 21:56:26 +03:00
r3df0xx
828b3dbcb2 Update faac_slh.c 2022-04-15 21:48:13 +03:00
Eng1n33r
e2d732f15e
Merge branch 'flipperdevices:dev' into dev 2022-04-14 17:52:45 +03:00
Skorpionm
8cc3fd579c
SubGhz: Unit_test and bugfixes (#1104)
* SubGhz: CLI add "subghz decode_raw"
* SubGhz: unit_test
* SubGhz: add Hormann_hsm_raw unit_test
* SubGhz: fix duration raw
* Unit_test: fix total test timer
* SubGHz: fix name display scher_khan
* SubGhz: fix deviation protocol kia
* SubGhz: return max name length to previous value
* FuriHal: correctly handle mute in speaker
* UnitTests: fix grammar in subghz

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-04-14 15:49:29 +03:00
Eng1n33r
9263f9c555
Merge branch 'flipperdevices:dev' into dev 2022-04-14 00:33:03 +03:00
hedger
e02040107b
[FL-2263] Flasher service & RAM exec (#1006)
* WIP on stripping fw
* Compact FW build - use RAM_EXEC=1 COMPACT=1 DEBUG=0
* Fixed uninitialized storage struct; small fixes to compact fw
* Flasher srv w/mocked flash ops
* Fixed typos & accomodated FFF changes
* Alternative fw startup branch
* Working load & jmp to RAM fw
* +manifest processing for stage loader; + crc verification for stage payload
* Fixed questionable code & potential leaks
* Lowered screen update rate; added radio stack update stubs; working dfu write
* Console EP with manifest & stage validation
* Added microtar lib; minor ui fixes for updater
* Removed microtar
* Removed mtar #2
* Added a better version of microtar
* TAR archive api; LFS backup & restore core
* Recursive backup/restore
* LFS worker thread
* Added system apps to loader - not visible in UI; full update process with restarts
* Typo fix
* Dropped BL & f6; tooling for updater WIP
* Minor py fixes
* Minor fixes to make it build after merge
* Ported flash workaround from BL + fixed visuals
* Minor cleanup
* Chmod + loader app search fix
* Python linter fix
* Removed usb stuff & float read support for staged loader == -10% of binary size
* Added backup/restore & update pb requests
* Added stub impl to RPC for backup/restore/update commands
* Reworked TAR to use borrowed Storage api; slightly reduced build size by removing `static string`; hidden update-related RPC behind defines
* Moved backup&restore to storage
* Fixed new message types
* Backup/restore/update RPC impl
* Moved furi_hal_crc to LL; minor fixes
* CRC HAL rework to LL
* Purging STM HAL
* Brought back minimal DFU boot mode (no gui); additional crc state checks
* Added splash screen, BROKEN usb function
* Clock init rework WIP
* Stripped graphics from DFU mode
* Temp fix for unused static fun
* WIP update picker - broken!
* Fixed UI
* Bumping version
* Fixed RTC setup
* Backup to update folder instead of ext root
* Removed unused scenes & more usb remnants from staged loader
* CI updates
* Fixed update bundle name
* Temporary restored USB handler
* Attempt to prevent .text corruption
* Comments on how I spent this Saturday
* Added update file icon
* Documentation updates
* Moved common code to lib folder
* Storage: more unit tests
* Storage: blocking dir open, differentiate file and dir when freed.
* Major refactoring; added input processing to updater to allow retrying on failures (not very useful prob). Added API for extraction of thread return value
* Removed re-init check for manifest
* Changed low-level path manipulation to toolbox/path.h; makefile cleanup; tiny fix in lint.py
* Increased update worker stack size
* Text fixes in backup CLI
* Displaying number of update stages to run; removed timeout in handling errors
* Bumping version
* Added thread cleanup for spawner thread
* Updated build targets to exclude firmware bundle from 'ALL'
* Fixed makefile for update_package; skipping VCP init for update mode (ugly)
* Switched github build from ALL to update_package
* Added +x for dist_update.sh
* Cli: add total heap size to "free" command
* Moved (RAM) suffix to build version instead of git commit no.
* DFU comment
* Some fixes suggested by clang-tidy
* Fixed recursive PREFIX macro
* Makefile: gather all new rules in updater namespace. FuriHal: rename bootloader to boot, isr safe delays
* Github: correct build target name in firmware build
* FuriHal: move target switch to boot
* Makefile: fix firmware flash
* Furi, FuriHal: move kernel start to furi, early init
* Drop bootloader related stuff
* Drop cube. Drop bootloader linker script.
* Renamed update_hl, moved constants to #defines
* Moved update-related boot mode to separate bitfield
* Reworked updater cli to single entry point; fixed crash on tar cleanup
* Added Python replacement for dist shell scripts
* Linter fixes for dist.py +x
* Fixes for environment suffix
* Dropped bash scripts
* Added dirty build flag to version structure & interfaces
* Version string escapes
* Fixed flag logic in dist.py; added support for App instances being imported and not terminating the whole program
* Fixed fw address in ReadMe.md
* Rpc: fix crash on double screen start
* Return back original boot behavior and fix jump to system bootloader
* Cleanup code, add error sequence for RTC
* Update firmware readme
* FuriHal: drop boot, restructure RTC registers usage and add header register check
* Furi goes first
* Toolchain: add ccache support
* Renamed update bundle dir

Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-04-13 23:50:25 +03:00
r3df0xx
2e61b38c6f Update faac_slh.c
Fix faac slh encoder, testing new seed value
2022-04-13 17:15:36 +03:00
r3df0xx
d86d7d4b53 Update nice_flor_s.c 2022-04-12 20:45:05 +03:00
r3df0xx
1c679b2c7c Update nice_flor_s.c 2022-04-12 17:33:41 +03:00
r3df0xx
4c82acffac Update faac_slh.c 2022-04-11 17:29:51 +03:00
r3df0xx
1652ab20ee ... 2022-04-11 02:35:11 +03:00
r3df0xx
a5bc243034 fixes 2022-04-11 02:26:43 +03:00
r3df0xx
4a3e3aba34 rollback 2022-04-11 02:10:32 +03:00
r3df0xx
39fbe8f26d Update keeloq.c
better view
2022-04-11 00:55:32 +03:00
r3df0xx
745d91c53a input seed from device 2022-04-10 22:47:37 +03:00
r3df0xx
5455bd5337 Seed param concept 2022-04-09 16:33:11 +03:00
r3df0xx
85079f79c9 fix mfkey size 2022-04-09 15:15:36 +03:00
r3df0xx
b3588e46c7 fix?
fix?
2022-04-09 05:09:31 +03:00
r3df0xx
dbe1d9114e Update keeloq_common.c 2022-04-09 04:33:32 +03:00
r3df0xx
1e4ebdb426 Update keeloq_common.c 2022-04-09 04:06:41 +03:00
r3df0xx
a42b4111c3 Update faac_slh.c
fix syntax FURI_LOG_I(TAG, ..., ...);
2022-04-09 03:52:00 +03:00
r3df0xx
e493e598bc Update faac_slh.c
fix syntax
2022-04-09 03:46:00 +03:00
r3df0xx
75e38d3e52 Update faac_slh.c
debugging strange cnt behavior
2022-04-09 03:39:03 +03:00
r3df0xx
43a9df04c9 correct cipher function 2022-04-09 03:05:16 +03:00
r3df0xx
004ce97548 Update faac_slh.c 2022-04-09 02:52:13 +03:00
r3df0xx
da62d8dfdd Update faac_slh.c 2022-04-09 02:37:08 +03:00
r3df0xx
e42a61670f FAAC SLH (SPA) save and emulate
Seed input in progress
2022-04-09 02:25:39 +03:00
r3df0xx
683680fd97 Stated making SLH algorithm 2022-04-09 00:29:15 +03:00
Eng1n33r
7d223c3305
Merge branch 'flipperdevices:dev' into dev 2022-04-07 17:38:31 +03:00
Skorpionm
02b9cf90d5
[FL-2431, FL-2419] SubGhz: bugfixes (#1098)
* [FL-2431] SubGhz: fix Restart with an error (HardFault), while maintaining the RAW signal.
* Stream: fix adding maximum string length to arguments
* [FL-2419] SubGhz: fix flipper hang/Fatal Error when running edited Sub-GHz file.
* SubGhz: remove replace strcpy with strncpy, smaller text buffer and canary
* SubGhz: log key loading before load happen, rollback only rx message handling

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-04-07 14:47:47 +03:00
r3df0xx
ea1d6e3bae Update nice_flor_s.c 2022-04-03 15:06:17 +03:00
r3df0xx
b601afb997 Update nice_flor_s.c 2022-04-03 14:49:22 +03:00
r3df0xx
0b496f70c2 Update nice_flor_s.c 2022-04-02 21:47:52 +03:00
r3df0xx
25ce89e39d mfname show 2022-04-02 18:56:32 +03:00
r3df0xx
3c8993420d final fix for kl and sl debug 2022-04-02 18:21:35 +03:00
r3df0xx
02d44c32e2 fix debug output 2022-04-02 16:40:04 +03:00
r3df0xx
ca920ba917 --- 2022-04-02 01:52:14 +03:00
r3df0xx
19e810a49d Update subghz_keystore.c 2022-04-02 00:19:47 +03:00
r3df0xx
a26dcd7bf7 never sleep 2022-04-02 00:14:16 +03:00
r3df0xx
3c1cec9d64 Update nice_flor_s.c 2022-04-01 23:51:03 +03:00
r3df0xx
70b51c31f3 fix 2022-04-01 23:46:41 +03:00
r3df0xx
c6d6c89a86 fix 2022-04-01 23:20:31 +03:00
r3df0xx
0e2542e1c4 New debug info and fix FloR-S bytes logic 2022-04-01 23:06:24 +03:00
r3df0xx
f89544dfa1 Update nice_flor_s.c 2022-04-01 10:54:30 +03:00
r3df0xx
26aa177d9c Update nice_flor_s.c 2022-04-01 10:13:36 +03:00
r3df0xx
082bd9de5e fix 2022-04-01 10:06:10 +03:00
r3df0xx
844466c438 Fix hex output
debugging
2022-04-01 09:54:29 +03:00
r3df0xx
c4ddb58fcb Fixing Nice FloR-S. Add new big IR databases. 2022-03-31 15:05:40 +03:00
Eng1n33r
cfdf814731
Merge branch 'flipperdevices:dev' into dev 2022-03-30 18:53:50 +03:00