Commit Graph

179 Commits

Author SHA1 Message Date
Alexey 'Cluster' Avdyukhin 53b5b7b9df New frequency analyzer 2022-08-05 13:53:27 +04:00
MX 04ceebc032 Revert "Revert "MPU Hal (#1492)""
This reverts commit 43345ba0bb.
2022-08-04 18:43:47 +03:00
MX 43345ba0bb Revert "MPU Hal (#1492)"
This reverts commit eed4296890.
2022-08-04 05:02:23 +03:00
MX 81be4dfe13 Merge branch 'fz-dev' into dev 2022-08-03 21:09:13 +03:00
SG bc34689ed6 Make printf great again (#1438)
* Printf lib: wrap *printf* functions
* Printf lib, FW: drop sprintf. Dolphin: dump timestamp as is, wo asctime.
* FW: remove sniprintf, wrap assert functions
* Printf lib: wrap putc, puts, putchar
* Printf: a working but not thread-safe concept.
* Poorly wrap fflush
* stdglue: buffers
* Core: thread local buffers
* Core: move stdglue to thread api, add ability to get FuriThread instance of current thread.
* RPC tests: replace sprintf with snprintf
* Applications: use new stdout api
* Printf lib: wrap more printf-like and stdout functions
* Documentation
* Apps: snprintf size fixes

Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:00:17 +09:00
SG eed4296890 MPU Hal (#1492)
* Furi HAL: memory protection unit
* Core: prohibit NULL dereferencing, even for reads.
* Applications: fix NULL dereference
* Core: stack protection by MPU
* MPU: stack region alignment
* Apps: fix null pointer dereferences
* Threads: fix non-null arg check
* Desktop settings: fix null pointer dereference
* Core: documented null-check hack
* Fix null dereference issues
* Apps: args check
* Core: naming fixes
* format code
* Core: remove NONNULL specifier
* FurHal: move MPU initialization to begining, fix enum naming

Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 00:47:10 +09:00
MX 53e60cc8e8 subghz frequency range updates 2022-08-03 00:32:55 +03:00
MX aa40f428a5 Merge branch 'fz-dev' into dev 2022-08-02 19:27:01 +03:00
あく f9745b4141 [FL-2705] App RPC Bug Fixes and redesign (#1491)
* Rpc: remove callback timer
* Rpc: simplify rpc event callback
* Rpc: migrate to new confirmation schema
* Rpc: migrate to new confirmation schema part2: finalize ibutton and rfid
* Rpc: migrate to new confirmation schema part3: finallize nfc and fix id in load
* Rpc: hardened sequencing check
* Rpc: migrate to new confirmation schema part4: finalize subghz
* iButton: properly handle exit
* Nfc: correct sequence for rpc exit send
* Rpc: fix review issues and nfc exit message
* Rpc: more logging and condition race fix in confirmation
* Rpc: migrate to new confirmation schema part5: finalize infrared
* Rpc: more logging
2022-08-02 22:54:12 +10:00
MX 712a48b5db Fix typo in subghz (#1467)
* fix typo across subghz

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-31 08:34:38 +09:00
Eng1n33r b6ab686a34 fix typo 2022-07-27 15:58:32 +03:00
Eng1n33r f359e0d9db formatted 2022-07-26 21:52:34 +03:00
Eng1n33r acd5430c21 Merge branch 'fz-dev' into dev 2022-07-26 21:09:31 +03:00
Skorpionm ec19c11dbe [FL-2669] SubGhz: add support for loading custom presets (#1398)
* SubGhz: load custom -preset
* SubGhz: fix error prt=0
* SubGhz: load custom preset
* SubGhz: code refactoring to support custom preset
* SubGhz: add custom presert refactoring
* SubGhz: fix alloc history alloc preset
* SubGhz: fix error load file
* SubGhz: fix start custom preset
* SubGhz: fix delete custom preset
* SubGhz: add description Custom_preset_data for CC1101
* SubGhz: debug logging and buffer size rounding

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-26 23:16:59 +09:00
Skorpionm ed7db336c1 [FL-2684, FL-2685] bugfix subghz (#1446)
* [FL-2684] SubGhz: fix incorrect CAME TWICE protocol definition
* [FL-2685] SubGhz: fix the recorded RAW signal is deleted when trying to transmit on a prohibited frequency

Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:58:07 +09:00
Eng1n33r 15d5a0c1f2 Merge branch 'fz-dev' into dev 2022-07-25 19:46:29 +03:00
Nikolay Minaylov d80edba891 RPC App: state message and GUI update (#1423)
* RPC App: state message and GUI update
* Protobuf submodule update

Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 23:16:45 +09:00
Nikolay Minaylov f5d6a8084b [FL-2668] GUI message screens update #1428
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 21:11:34 +09:00
Eng1n33r c6099dfcc9 Add FAAC SLH 433 MHz create support 2022-07-21 00:35:43 +03:00
Eng1n33r 420af35f89 FAAC SLH/Spa 20-bits counter 2022-07-17 08:05:09 +03:00
Eng1n33r 97ec06c1f3 update screen after sending signal
in received signals scene
2022-07-11 23:26:39 +03:00
Eng1n33r 41341658dd Merge branch 'fz-dev' into dev 2022-07-04 21:57:40 +03:00
Nikolay Minaylov 4a1695ba1c [FL-2589] RPC App control commands (#1350)
* RPC App control commands
* Button release timeout
* SubGhz tx fix

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-07-04 22:09:46 +09:00
Eng1n33r cba5cb745c Merge remote-tracking branch 'flipperdevices/dev' into dev 2022-07-03 21:04:15 +03:00
Skorpionm fea2bfa822 [FL-2610] SubGhz: add keypad lock SubGhz -> Read (#1343)
* [FL-2610] SubGhz: add keypad lock SubGhz -> Read
* SubGhz: fix multiple clicks on the back button
* SubGhz: turn on the backlight when receiving with the keypad locked. key processing delay when exiting Locked mode
* SubGhz: chanage lock variable and enums names
* SubGhz: replace direct return with consumed

Co-authored-by: あく <alleteam@gmail.com>
2022-07-04 01:03:36 +09:00
Eng1n33r bc6cc28c13 remove unused code 2022-06-28 01:54:37 +03:00
Eng1n33r aaeede7793 Merge branch 'fz-dev' into dev 2022-06-26 15:16:32 +03:00
hedger f3b1475ede [FL-2052] New build system based on scons (#1269) 2022-06-26 21:00:03 +09:00
Eng1n33r 767f7ff92e code formatted 2022-06-24 13:01:41 +03:00
r3df0xx 0a3aabc60d Fix KeeLoq Uknown behavior, patch StarLine same way 2022-06-16 19:58:34 +03:00
Eng1n33r 7ea042b0a4 Merge branch 'flipperdevices:dev' into dev 2022-06-14 06:44:57 +03:00
Skorpionm adffe20bcb SubGhz: bugfix 0.60.0 (#1317)
* SubGhz: fix adding one when renaming a file
* SubGhz: fix wrong folder after unsave
* SubGhz: fix syntax
* Github: update codeowners
* Github: fix path selector in codeowners for docker-compose
* Github: add lib owners

Co-authored-by: あく <alleteam@gmail.com>
2022-06-14 12:06:36 +09:00
r3df0xx 1413f8e34f Came Atomo emulation improvements
+ clean-up a little
2022-06-12 23:33:05 +03:00
r3df0xx 1f4020240b KeeLoq protocol rework. Atomo emulation beta-test.
Fix critical issue with keeloq manufacturer name random change. Now you can emulate any manufacturer system with proper key handling.
Came Atomo parcel counter increasing and emulation. Beta test (need rework signal header and make button counter cycle array for encoder).
2022-06-11 22:53:23 +03:00
Eng1n33r 6314272a71 Merge branch 'flipperdevices:dev' into dev 2022-06-09 15:03:18 +03:00
Skorpionm d5df4027d7 SubGhz: fix resetting the set frequency when retuning (#1300) 2022-06-09 16:39:12 +09:00
Eng1n33r e37eb0eb63 Merge latest changes from fz-dev 2022-06-03 13:44:33 +03:00
Skorpionm 8b54436950 [FL-2564]SubGhz: 0.59.0-rc bugfixes (#1292) 2022-06-03 16:46:25 +09:00
Eng1n33r 46d4aab013 update set seed scenes 2022-06-01 16:26:35 +03:00
Eng1n33r baaf689141 Merge last fz-dev into dev 2022-06-01 16:20:10 +03:00
Eng1n33r 22cbe276a8 big merge with fz main repo 2022-06-01 16:07:53 +03:00
Skorpionm b625e84424 SubGhz: Add Chamberlain 7-Code, Chamberlain 8-Code, Chamberlain 9-Code (#1288)
* SubGhz: fix protocol MegaCode start duration
* SubGhz:  add reception Chamberlain Code 7, 8, 9 protocols
* SubGhz: Generating an upload from HEX data and a duration of 1 bit
* SubGhz: add transmit Chamberlain Code 7, 8, 9 protocol
* SubGhz: Rename Firefly -> Linear

Co-authored-by: あく <alleteam@gmail.com>
2022-06-01 21:17:21 +09:00
UberGuidoZ 2c4b2b8775 Fixing typo across many files (#1287)
* Update furi_hal_subghz.c
* Update subghz_scene_read_raw.c
* Update subghz_i.c
* Update came_twee.c
* Update secplus_v2.c
2022-06-01 07:35:31 +09:00
Skorpionm 66dbb68947 SubGhz: support 310 MHz and fix (#1262)
* SubGhz: add frequency support 310 MHz
* SubGhz: deleting a TMP file using the "Erase" button in Read RAW
* SubGhz: fix frequency analyzer scan speed
* SubGhz: fix start duration came_atomo protocol
* SubGhz: refactoring subghz_setting
* SubGhz: refactoring load setting frequency analyzer
* SubGhz: fix load setting,  default frequency
* SubGhz: patch raw temp file remove code to work with string_t
* Storage: parallel safe cli
* SubGhz: new frequency settings loading system
* Assets: recompile to include latest subghz custom frequency control changes

Co-authored-by: あく <alleteam@gmail.com>
2022-06-01 00:50:50 +09:00
r3df0xx 5b3b37996a Revert "fixes"
This reverts commit 310e140024.
2022-05-27 22:18:41 +03:00
r3df0xx b23b3c9e8d Revert "fetch big commit from upstream"
This reverts commit 6634999113.
2022-05-27 22:18:35 +03:00
r3df0xx 310e140024 fixes 2022-05-27 22:13:35 +03:00
r3df0xx 6634999113 fetch big commit from upstream 2022-05-27 22:12:40 +03:00
r3df0xx 8cc32e28da Revert "Update subghz_scene_set_type.c"
This reverts commit 49635f7295.
2022-05-27 17:15:53 +03:00
r3df0xx cf714d3e66 Revert "Fetch upstream dev changes"
This reverts commit 6e88e33171, reversing
changes made to 580fe77fb7.
2022-05-27 17:14:43 +03:00