Commit Graph

2312 Commits

Author SHA1 Message Date
hedger 7bd3bd7ea4 fbt: source collection improvements (#3181)
* fbt: reduced amount of redundant compilation units
* fbt: added GatherSources() method which can reject source paths starting with "!" in sources list; optimized apps' source lists
* docs: updated on path exclusion for `sources`
* apps: examples: fixed example_advanced_plugins source list
* docs: more details on `sources`; apps: narrower sources lists
2023-11-01 13:21:31 +09:00
あく 9af81ce8d0 Furi: cleanup crash use (#3175)
* Furi: optional message in furi_crash and furi_halt
* Consistent furi_crash use
* UnitTests: crash instead of assert
* furi: check: fixed macro for default arg
* unit_tests: fixed crashes everywhere
* lib: infrared: fixed PVS warnings
* furi: eliminated __FURI_ASSERT_MESSAGE_FLAG
* Furi: update check.h docs
* Furi: add check.h usage note
* Docs: grammar

---------

Co-authored-by: hedger <hedger@nanode.su>
2023-10-31 14:40:32 +04:00
Georgii Surkov c8180747db [FL-3456] Allow for larger Infrared remotes (#3164)
* Do not load all signals at once (Draft)
* Minor cleanup
* Refactor remote renaming
* Improve function signatures
* Rename infrared_remote functions
* Optimise signal loading
* Implement adding signals to remote
* Add read_name() method
* Deprecate a function
* Partially implement deleting signals (draft)
* Use m-array instead of m-list for signal name directory
* Use plain C strings instead of furi_string
* Implement deleting signals
* Implement deleting signals via generalised callback
* Implement renaming signals
* Rename some types
* Some more renaming
* Remove unused type
* Implement inserting signals (internal use)
* Improve InfraredMoveView
* Send an event to move a signal
* Remove unused type
* Implement moving signals
* Implement creating new remotes with one signal
* Un-deprecate and rename a function
* Add InfraredRemote API docs
* Add InfraredSignal API docs
* Better error messages
* Show progress pop-up when moving buttons in a remote
* Copy labels to the InfraredMoveView to avoid pointer invalidation
* Improve file selection scene
* Show progress pop-up when renaming buttons in a remote
* Refactor a scene
* Show progress when deleting a button from remote
* Use a random name for temp files
* Add docs to infrared_brute_force.h
* Rename Infrared type to InfraredApp
* Add docs to infrared_app_i.h

Co-authored-by: あく <alleteam@gmail.com>
2023-10-31 01:20:35 +09:00
hedger 917410a0a8 [FL-3629] fbt: reworked assets & resources handling (#3160)
* fbt: reworking targets & assets handling WIP
* fbt: dist fixes
* fbt: moved SD card resources to owning apps
* unit_tests: moved resources to app folder
* github: updated unit_tests paths
* github: packaging fixes
* unit_tests: fixes
* fbt: assets: internal cleanup
* fbt: reworked assets handling
* github: unit_tests: reintroducing fixes
* minor cleanup
* fbt: naming changes to reflect private nature of scons tools
* fbt: resources: fixed dist archive paths
* docs: updated paths
* docs: updated more paths
* docs: included "resources" parameter in app manifest docs; updated assets readme
* updated gitignore for assets
* github: updated action versions
* unit_tests: restored timeout; scripts: assets: logging changes
* gh: don't upload desktop animations for unit test run

Co-authored-by: あく <alleteam@gmail.com>
2023-10-31 00:17:30 +09:00
MX 593b5fc098 Merge branch 'ofw_dev' into nfcrefactoring 2023-10-29 02:23:02 +03:00
Augusto Zanellato 0fe93fcfa4 fix crash after st25tb save (#3170)
Co-authored-by: あく <alleteam@gmail.com>
2023-10-28 23:45:08 +09:00
Georgii Surkov cfaf745523 [FL-3643] Fix crash when reading files > 64B (#3166)
* Increase MF DESFire result buffer
* Ignore chunks that do not fit into the result buffer and show warning
* Display information about partial files

Co-authored-by: あく <alleteam@gmail.com>
2023-10-28 23:29:14 +09:00
Georgii Surkov 844e0f10e5 [FL-3639] Fix MF DESFire record file handling (#3167) 2023-10-28 22:56:49 +09:00
Willy-JL 28bcc09d9b This can just be made global at this point lol 2023-10-26 04:03:42 +01:00
Willy-JL ed364cbffd Fix reset menu dialog bug 2023-10-25 01:19:12 +01:00
MX 92969ecc1f remove mf classic uid add manually temp 2023-10-24 16:04:55 +03:00
MX 3bbb326c9c Merge branch 'ofw_dev' into nfcrefactoring 2023-10-24 14:42:49 +03:00
gornekich d92b0a82cc NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.

Starring:

- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer

Supporting roles:

- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance

Special thanks:

@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 12:08:09 +09:00
Willy-JL 6e53ed4e45 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild 2023-10-18 01:47:18 +01:00
Willy-JL 7679981dbe Fix subghz read config indexes 2023-10-18 01:45:04 +01:00
MX 2d9090b2de fix niceflors 2023-10-17 22:15:42 +03:00
Willy-JL 83c8aad87a Proper SubGhz ignore system (fix BusFault in apps)
Old ignore system used SubGhzProtocolFlag_*
This enum was saturated, and started taking more bytes than on OFW
This caused BusFault when using apps compiled for OFW, like from catalog
Crash is because of incompatible memory structure
New ignore system uses own enum at end of struct
This is binary compatible with OFW and correct solution for future
2023-10-17 04:10:36 +01:00
Willy-JL cb14157c80 Fix build 2023-10-17 03:33:10 +01:00
Willy-JL 39cfba3c65 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild 2023-10-17 03:27:16 +01:00
MX 1e5223c6ab nice one is disabled too 2023-10-17 00:46:59 +03:00
MX 29a1865ec3 Merge branch 'dev' into niceflors 2023-10-16 18:07:51 +03:00
MX b44bc718be SubGHz: Add 4 more systems to add manually (untested!!!)
if you have remotes from these systems please share captures, also try binding flipper as new remote in current condition
2023-10-16 05:28:47 +03:00
MX 8e3378b7b9 SubGHz: add manually fixes 2023-10-16 05:06:40 +03:00
WillyJL 3037e8b03d Updated Radar Scanner, BarcodeGen, New Terminal Menu (#415) 2023-10-15 06:43:09 +01:00
Willy-JL f8fc8cbdf8 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild 2023-10-15 06:25:14 +01:00
MX b87a8ca329 Merge branch 'ofw_dev' into dev 2023-10-15 01:30:55 +03:00
Willy-JL 04dc10dc7f Fix slow redundant reads for SubGhz files 2023-10-14 21:16:36 +01:00
Derek Jamison 9d6352e92f fix #3141: 12-bits is 0xFFF (or 0xFF0) CAME/NICE 12-bit (#3142)
* 12-bits is 0xFFF (or 0xFF0)
* Mask with 0x7FFFF3FC for 850LM pairing

Co-authored-by: あく <alleteam@gmail.com>
2023-10-13 05:39:14 +09:00
あく f45a5dff43 Fix various crashes if debug libraries used (#3144)
* FuriHal: enable HSI in stop mode only if we use STOP0, proper SMPS selected clock assert

* Furi: fix double crash caused by bkpt use outside of debug session

* Libs: update ERC and MGG contrast

* Fix various crashes with LIB_DEBUG=1

* BadUsb: size_t where it should be and proper printf types

* Various fixes and make PVS happy

* FuriHal: proper CCID status and make PVS happy

* boot: update mode: graceful handling of corrupted stage file

---------

Co-authored-by: hedger <hedger@nanode.su>
2023-10-12 20:34:30 +04:00
MatthewKuKanich 4eaf94b93c Added new Terminal menu 2023-10-11 17:17:23 -04:00
Sil333033 388ce9acee Fix Subdriving baudrate switch issue --nobuild
i forgor
2023-10-10 20:18:18 +02:00
Willy-JL 9ef4b15f68 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-10-09 21:12:33 +01:00
Sil333033 72869d614b Update subghz GPS changable baudrate --nobuild 2023-10-09 22:05:29 +02:00
MX 76e5a1c087 Merge branch 'ofw_dev' into dev 2023-10-09 22:21:49 +03:00
h00die 38792f2c93 Fix spelling across some project files (#3128)
* codespell across project

Co-authored-by: あく <alleteam@gmail.com>
2023-10-10 04:01:17 +09:00
Willy-JL fb2b0e2385 Speedup and consolidate color lib with pointers 2023-10-09 01:27:38 +01:00
Sil333033 88b98fb175 Update subghz GPS dir finder & thread logic
also a few other finishing touches
2023-10-08 21:20:42 +02:00
Sil333033 7bdc45922f Update GPS scene to right value 2023-10-06 16:17:30 +02:00
Sil333033 5b91931b76 Merge branch 'dev' of https://github.com/Flipper-XFW/Xtreme-Firmware into dev 2023-10-05 23:15:06 +02:00
Sil333033 ad22f6a0ef Add GPS support for SubGHz 2023-10-05 23:14:58 +02:00
Soren 8ebfda6b8c Added NiceFloR-S to ignore options, removed colons. 2023-10-03 17:56:39 +03:00
Willy-JL 7b6d0cd59a Merge branch 'dev' of https://github.com/Flipper-XFW/Xtreme-Firmware into dev 2023-10-02 23:12:22 +01:00
Willy-JL 56fd259d48 Move fw integrated apps to system dir --nobuild 2023-10-02 11:12:59 +01:00
Willy-JL 4ad6297285 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev --nobuild 2023-09-30 19:26:24 +01:00
MX 8666cdc5ef Merge branch 'ofw_dev' into dev 2023-09-21 22:43:48 +03:00
Astra 182c8defb1 [FL-3458] Add confirmation before exiting USB-UART (#3043)
* Add confirmation before exiting USB-UART
* Redo the confirm view to be a scene to ignore the back button

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-09-21 17:06:45 +09:00
HTotoo 31b01c8110 Removed test debug msg 2023-09-21 08:34:39 +02:00
HTotoo 7318a08c32 fix npdref 2023-09-20 17:07:50 +02:00
HTotoo b9382c912e WIP integrate weather, tpms and pocsag to SubGhz app 2023-09-20 13:47:33 +02:00
Willy-JL e6cd27895c Invert rgb leds, use numbers instead of left/right
--nobuild
2023-09-16 19:51:58 +02:00