Willy-JL
02f7207d28
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-07-15 22:18:35 +01:00
hedger
ffa3996a5e
[FL-3867] Code formatting update ( #3765 )
...
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard: c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev
Co-authored-by: あく <alleteam@gmail.com >
2024-07-15 13:38:49 +09:00
あく
aeabf0447d
[FL-3704] Updater: reset various debug flags on production build flash ( #3762 )
2024-07-07 13:00:39 +01:00
Willy-JL
4830ef94c6
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-07-05 20:01:29 +02:00
hedger
7879876ba1
[FL-3863] toolchain: v37 ( #3746 )
...
* toolchain: v36
* toolchain: fixed cert path; lib: nanopb: updated to 0.4.8
* fbtenv: rolled back cert path for 3.11
* clang-format: updated config for v18
* linter fixes
* clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`)
* clang-format: AllowShortLoopsOnASingleLine: false
* toolchain: v37
* fbt: compilation_db.py: fixes for Windows
2024-07-05 18:27:21 +01:00
WillyJL
b18ac01485
Updater: Gzip resources dejavu, refactor for CompressStreamDecoder API ( #152 )
...
* Add back uzlib
* FBT: Support different resources compress methods
* Tar: Detect gzip compress type
* Tar: Generic compressed stream refactor
* Compress: Shared config params
* Fix comment
* Compress: Scaffolding for gzip implementation
* Compress: Handle errors from allocation
* Compress: Gzip support implementation
* Tar/Compress: Don't rewind if already at stream cursor
* Update changelog
2024-07-03 02:26:59 +02:00
Willy-JL
1cd18f61a2
Updater: Smooth percent for cleanup steps --nobuild
2024-07-03 02:05:13 +02:00
WillyJL
bf90843f25
Updater: Fix double dir cleanup ( #3743 )
2024-07-02 11:54:28 +04:00
Willy-JL
c858015836
Updater: Fix double dir cleanup --nobuild
2024-07-02 04:09:40 +02:00
Willy-JL
1014e45c22
Updater: Progressbar even with huge files --nobuild
2024-07-02 00:39:48 +02:00
Willy-JL
2d2b0f8201
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev --nobuild
2024-07-01 23:01:37 +02:00
Willy-JL
9b41168e85
Revert gzip resources (OFW made heatshrink equivalent)
...
- a83845aec4
- 9b748ea792
2024-07-01 22:33:32 +02:00
hedger
fcbcb6b5a8
Updater: resource compression ( #3716 )
...
* toolbox: compress: moved decompressor implementation to separate func
* toolbox: compress: callback-based api; cli: storage unpack command
* toolbox: compress: separate r/w contexts for stream api
* targets: f18: sync API
* compress: naming fixes & cleanup
* toolbox: compress: using hs buffer size for stream buffers
* toolbox: tar: heatshrink stream mode
* toolbox: compress: docs & small cleanup
* toolbox: tar: header support for .hs; updater: now uses .hs for resources; .hs.tar: now rewindable
* toolbox: compress: fixed hs stream tail handling
* updater: reworked progress for resources cleanup; rebalanced stage weights
* updater: single-pass decompression; scripts: print resources compression ratio
* updater: fixed warnings
* toolbox: tar: doxygen
* docs: update
* docs: info or tarhs format; scripts: added standalone compression/decompression tool for heatshrink-formatted streams
* scripts: tarhs: fixed parameter handling
* cli: storage extract command; toolbox: tar: guess type based on extension
* unit_tests: added test for streamed raw hs decompressor `compress_decode_streamed`
* unit_tests: compress: added extraction test for .tar.hs
* rpc: autodetect compressed archives
* scripts: minor cleanup of common parts
* scripts: update: now using in-memory intermediate tar stream
* scripts: added hs.py wrapper for heatshrink-related ops (single object and directory-as-tar compression)
* scripts: naming fixes
* Toolbox: export compress_config_heatshrink_default as const symbol
* Toolbox: fix various types naming
* Toolbox: more of types naming fixes
* Toolbox: use size_t in compress io callbacks and structures
* UnitTests: update to match new compress API
* Toolbox: proper path_extract_extension usage
Co-authored-by: あく <alleteam@gmail.com >
2024-06-30 11:38:48 +01:00
Willy-JL
94a8ccc912
Updater: Show stage progress percentage
2024-05-03 03:35:56 +01:00
Willy-JL
046584ed83
Updater: Rebalance progressbar weights
2024-05-03 03:32:01 +01:00
Willy-JL
93edb9c6e8
Updater: Cleanup progress based on manifest stream
2024-05-03 03:31:45 +01:00
Willy-JL
593f3a9e9a
Updater: Resources progress based on file size
...
Gzipped tar will take too long to count files, instead use position in tar archive
Need to find a workaround for estimating cleanup progress
2024-05-02 07:02:13 +01:00
Willy-JL
d8a4dde6ef
Fix poor firstboot.flag naming
2024-03-21 05:05:20 +00:00
Willy-JL
8b69bae52c
Fix slideshow when previous firmware left it
2024-03-21 03:10:34 +00:00
Willy-JL
06aea09169
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
2024-03-20 04:18:26 +00:00
あく
acc39a4bc0
Api Symbols: replace asserts with checks ( #3507 )
...
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2024-03-19 23:43:52 +09:00
Willy-JL
b7220237de
Small bump in the road
...
- Update assets and references for new project
- Revert DFU image and CLI motd
- Remove NSFW text and flag
- Remove credits animation (will be replaced with a setting menu soon)
- New EvilPortal example HTML and better error message
- Initial standalone naming for asset packs and mainmenu apps
- File migration fixes/improvements
- Remove hotfix workflow
2024-03-01 06:11:16 +00:00
Willy-JL
8c57eaf53c
Disable deep sleep in debug builds (fixes debugger attach?) --nobuild
2024-02-11 01:24:43 +00:00
Willy-JL
026eef7db9
We can haz debugger support!!!!! Begone -Og
2024-02-10 03:20:37 +00:00
Willy-JL
5e69b1f622
Reset log level on flash for more responsiveness
2024-02-09 01:36:13 +00:00
Willy-JL
fd372f1461
Revert "Reset expansion settings on install for now"
...
This reverts commit fc87dc5dd2 .
2024-01-30 19:23:05 +00:00
Willy-JL
68ae616f15
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2024-01-28 06:16:26 +00:00
MX
cbc0231461
disable expansion and reset some flags for release builds
...
there is no expansion modules yet, so we can disable uart listen for them being enabled 24/7
p.s. some parts of code was taken from Willy-JL's solution
todo: revert force reset part if there are real use cases for expansion protocol appears
2024-01-27 19:05:52 +03:00
Willy-JL
cb635ff2d2
Set correct values for deepsleep on install
2024-01-26 23:05:29 +00:00
Willy-JL
fc87dc5dd2
Reset expansion settings on install for now
2024-01-26 23:04:55 +00:00
Willy-JL
dea44f0daf
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev
2023-12-13 00:35:37 +00:00
あく
90cb1c4f2e
FuriHal: RTC register reset API. New factory reset routine that wipes all RTC backup registers content. ( #3288 )
2023-12-12 19:12:57 +04:00
Willy-JL
a4d01d5d88
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-11-16 02:19:28 +00:00
Sergey Gavrilov
4b3e8aba29
[FL-3664] 64k does not enough ( #3216 )
...
* Unit tests: add "exists" to furi_record tests
* Unit tests: mu_warn, storage 64k test
* Storage: read/write over 64k
* Unit tests: moar tests for storage r/w for >64k cases
* Apps, libs: replace uint16_t with size_t on storage r/w operations
* Unit tests: better data pattern, subghz: warning if transmission is prohibited
Co-authored-by: あく <alleteam@gmail.com >
2023-11-16 01:39:27 +09: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
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
cd301b4045
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild
2023-09-04 23:36:06 +02:00
Sergey Gavrilov
0b806c2360
Storage: force mount ( #3033 )
...
* Storage: count opened files
* Storage: sd mount
* Storage: prompt to mount SD card if not mounted
* F18: update API
* F18: update API version
* Fix logger naming scheme
* Storage: storage_files_count -> storage_open_files_count
Co-authored-by: あく <alleteam@gmail.com >
2023-09-04 14:10:07 +09:00
Willy-JL
184eb718e1
Cleanup some clutter --nobuild
2023-08-29 00:30:57 +02:00
Willy-JL
9f448a9c8f
Dont delete apps folder anymore
2023-07-26 22:05:46 +02:00
Willy-JL
c6564deef9
Why was this a thing?
2023-07-26 14:55:20 +02:00
Willy-JL
1c2436f68e
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-07-14 17:06:16 +02:00
hedger
f2324e4d1c
[FL-3377] Update error code descriptions ( #2875 )
...
* updater: added update error code descriptions
* updater: separate ram/flash messages
* updater: extra pre-update checks
* updater: fixed string comparison
* updater: Additional logging
Co-authored-by: あく <alleteam@gmail.com >
2023-07-14 17:45:16 +04:00
Willy-JL
8106739196
Remove apps folder on update
2023-06-02 23:33:15 +01:00
Willy-JL
8fa7d16c5f
Merge branch 'ul-dev' into xfw-dev
2023-05-06 01:43:09 +01:00
あく
914129a0d9
[FL-3289] Various Furi/FuriHal bug fixes and improvements ( #2637 )
...
* Furi: properly handle thread free before TCB scrapping, add furi_free - more invasive version of free to memmgr. FuriHal: add DWT comparator api to cortex. Updater, RPC: refactor various thread shanenigans. Code cleanup.
* Rollback free macros and related changes
2023-05-05 21:40:55 +09:00
Willy-JL
aa8d9b7bac
Format
2023-03-28 04:48:41 +01:00
Willy-JL
94f636ce21
Move slideshow temp file to external storage
2023-03-28 02:03:12 +01:00
Willy-JL
10096ec95a
Store main settings in dedicated ext folder
2023-03-28 00:13:28 +01:00
Willy-JL
921143fa7b
Add support for first xfw boot slideshow
2023-03-25 22:30:50 +00:00