Willy-JL
7fdda0bb84
Crash message for malloc(0) --nobuild
2023-10-13 07:11:09 +01:00
Willy-JL
367389367a
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-08-10 02:18:22 +02:00
Sergey Gavrilov
00cdc3d1cb
[FL-3461] RPC: md5 in storage list ( #2929 )
...
* Protobuf: update
* Toolbox: md5 for file. Unit-Tests: test md5_calc.
* Storage RPC, CLI, unit tests: use new md5_calc
* Protobuf: update
* RPC, StorageList: append md5 info to file
* fbt: attempt to fix shallow submodule checkouts
* pvs: make happy
* Protobuf: update to latest release
Co-authored-by: hedger <hedger@nanode.su >
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-08-09 06:34:54 +09:00
Willy-JL
6e7048f84c
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-08-03 12:09:59 +02:00
Leopold
c72531edc6
change FuriThreadPriorityIsr to 31 (configMAX_PRIORITIES-1) ( #2920 )
...
* change FuriThreadPriorityIsr to 31 (configMAX_PRIORITIES-1)
* Furi: less hardcoded max priority, fix spelling
* Format sources
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-08-02 13:23:04 +09:00
Willy-JL
05f5031858
Show boot status on screen
2023-07-26 23:52:00 +02:00
Willy-JL
a397a3f9bd
Improve flipper init and add logging + led
2023-07-26 21:58:36 +02:00
Willy-JL
aaafdc1a82
Fix asset packs folder change stuff
2023-07-26 15:03:56 +02:00
ClaraCrazy
3264c37e5b
Migrate asset packs folder
2023-07-24 13:54:32 +02:00
Willy-JL
23a78b9f77
Add error message for out of memory
2023-07-20 16:37:18 +01:00
Willy-JL
68431aa851
<:N1:1130620612352679958><:N2:1130620354440745162>
2023-07-17 23:06:58 +01:00
Willy-JL
4286bacdb6
Timer appid's (for APP_DATA_PATH() in timers)
2023-07-17 22:36:59 +01:00
Willy-JL
4a56baf158
Fix desktop keybinds path
2023-07-14 21:23:50 +02:00
Willy-JL
9d1987e661
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-07-13 20:08:56 +02:00
Astra
8bccfd6fd8
[FL-3363] More descriptive error messages for the log command ( #2835 )
...
* More descriptive error messages for the log command
* Log level description improvements
* Log help changes
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-07-11 15:41:16 +04:00
Willy-JL
eab5813f62
Fix build
2023-07-06 02:47:41 +02:00
Willy-JL
1c7719f6b0
Expose thread interfaces
2023-07-06 02:40:11 +02:00
Willy-JL
2e7d074c0c
Remove xtreme/private.h and rewire some things
2023-07-06 01:28:28 +02:00
あく
f3ae09cc16
FuriHal: allow nulling null isr ( #2846 )
...
* FuriHal: allow nulling null isr
* FuriHal: include interrupt priority 15 as allowed
* Furi: prevent compiler from optimizing arg in r0 of RESTORE_REGISTERS_AND_HALT_MCU
2023-07-06 01:39:17 +09:00
Willy-JL
f918f746c4
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-06-30 20:56:57 +02:00
あく
6d9de25494
Furi,FuriHal: various improvements ( #2819 )
...
* Lib: adjust default contrast for ERC displays
* Furi: various improvements in check module
* Format Sources
* FurHal: ble early hardfault detection
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
2023-06-30 13:52:43 +04:00
PpHd
0a5508a8a1
Fix M*LIB usage ( #2762 )
...
* Fix M*LIB usage
* Fix oplist definition of SubGhzFrequencyAnalyzerLogItem
* Fix oplist definition of M_CSTR_DUP_OPLIST
* Remove dependency of furi_string_utf8_decode to the internal definition of string_unicode_t
* Replace obsolete macro M_IF_DEFAULT1 to M_DEFAULT_ARGS
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-06-27 19:50:09 +09:00
Willy-JL
ab8295848e
Fixes
2023-06-25 21:45:21 +01:00
Willy-JL
c8b71658ec
Merge branch 'mlib-fix' of https://github.com/P-p-H-d/flipperzero-firmware into xfw-dev
2023-06-14 17:43:00 +01:00
Patrick Pelissier
5a75ed903d
Fix format
2023-06-12 19:15:35 +02:00
Patrick Pelissier
f466409985
Fix M*LIB usage:
...
* Fix oplist definition of SubGhzFrequencyAnalyzerLogItem
* Fix oplist definition of M_CSTR_DUP_OPLIST
* Remove dependency of furi_string_utf8_decode
to the internal definition of string_unicode_t
* Replace obsolete macro M_IF_DEFAULT1 to M_DEFAULT_ARGS
2023-06-11 23:11:39 +02:00
Willy-JL
0506869b54
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-06-09 13:54:14 +01:00
Sergey Gavrilov
62939dd28b
Core2, SRAM2: provide safety gap ( #2754 )
...
* Core2, SRAM2: use ob, provide safety gap
* thread: comment about critical section and scheduler state
2023-06-09 19:49:26 +09:00
Willy-JL
4955567148
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-06-07 19:44:35 +01:00
Sergey Gavrilov
3e1f209d64
Furi: smaller critical enter and critical exit macro ( #2716 )
...
* Furi: smaller critical enter and critical exit macro
* api: bumped version
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2023-06-06 23:00:43 +04:00
Willy-JL
c35406689b
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-31 16:45:55 +01:00
Willy-JL
dd72f21108
Fix migrate comments
2023-05-31 15:43:26 +01:00
hedger
8d2ea14f06
[FL-3330] fbt: added hooks for build & dist environments; added FW_ORIGIN_* macro for apps & SDK ( #2705 )
...
* fbt: added hooks for build & dist environments
* Moved env hooks to an optional file
* Fixed var name
* Added fw origin to device info
* Bumped device info version
* fbt: added FIRMWARE_ORIGIN option. Different implementation for FW_ORIGIN_* C macro.
* api: bumped versions
* fbt: added fbt_options_local.py
* gitignore: cleanup
Co-authored-by: あく <alleteam@gmail.com >
2023-05-30 01:40:56 +09:00
Willy-JL
92f54c45ff
Use rename or move where appropriate
2023-05-26 22:21:32 +01:00
Willy-JL
ff76fe32c1
Move desktop config back to int (for pin purposes)
2023-05-17 01:52:18 +01:00
Willy-JL
09ff6da5ea
Remove subghz region
2023-05-11 00:26:11 +01:00
Willy-JL
d91f70b837
Move config file migration to flipper init
2023-05-10 23:36:03 +01:00
Willy-JL
ee0212d05d
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-05-10 15:59:20 +01:00
Willy-JL
640637ce60
New namespoof implementation
2023-05-10 12:19:01 +01:00
Willy-JL
33ff8e4506
Start storage service first to load xtreme early
2023-05-10 12:13:38 +01: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
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
hedger
c5b460b416
[FL-3260] Added API version to device info ( #2611 )
...
* hal: device_info: added API version to "firmware.api.major" & "firmware.api.minor"
* FuriHal: bump device info version
Co-authored-by: あく <alleteam@gmail.com >
2023-05-03 12:58:59 +09:00
あく
0ec8fc4c55
FuriHal: use proper divider for core2 when transition to sleep, remove extra stop mode transition checks, cleanup code. Furi: proper assert and check messages. ( #2615 )
2023-04-26 00:11:42 +04:00
hedger
d70ba2b740
[FL-3286] Don't reboot on crash in debug builds ( #2613 )
...
* furi: never reboot on furi_crash in debug builds
* furi: crash info: added registers
* furi: check and assert optimization, split registers and stack info dump
* furi: macro uppercase
Co-authored-by: SG <who.just.the.doctor@gmail.com >
2023-04-26 01:33:13 +09:00
Georgii Surkov
37fb330b36
[FL-3226] Deep Sleep Idle ( #2569 )
...
* Improve RNG error handling
* Sync RTC shadow registers on Stop mode exit
* Implement working STOP2 mode
* Fix formatting
* FuriHal: disable SWD pins if debug is disabled
* Power: cleanup battery info view, handle zero current report from gauge
* Fbt: add command line argument for extra global defines
* FuriHal: cleanup debug defines in power and os, drop deep_insomnia counter.
* Add a setting to disable deep sleep
* Clean up furi_hal_power
* FuriHal,FapLoader,Debug: implement debug in stop mode, workaround resume in stop
* FuriHal: document OS and power subsystems debugging
* Furi: enable debug interface on crash
---------
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-04-14 00:47:38 +10:00
Sergey Gavrilov
8b2dfea925
Improved thread lifecycle ( #2534 )
...
* Core, Thread: mark thread to join from prvDeleteTCB
* USB HAL: move vars to MEM2
* Core, Thread: cleanup sources
* Cli: add magic delays on rx pipe error, prevent cli from consuming processor time
* Furi: update thread documentation
Co-authored-by: あく <alleteam@gmail.com >
2023-03-28 16:34:49 +09:00
hedger
53435579b3
[FL-3097] fbt, faploader: minimal app module implementation ( #2420 )
...
* fbt, faploader: minimal app module implementation
* faploader, libs: moved API hashtable core to flipper_application
* example: compound api
* lib: flipper_application: naming fixes, doxygen comments
* fbt: changed `requires` manifest field behavior for app extensions
* examples: refactored plugin apps; faploader: changed new API naming; fbt: changed PLUGIN app type meaning
* loader: dropped support for debug apps & plugin menus
* moved applications/plugins -> applications/external
* Restored x bit on chiplist_convert.py
* git: fixed free-dap submodule path
* pvs: updated submodule paths
* examples: example_advanced_plugins.c: removed potential memory leak on errors
* examples: example_plugins: refined requires
* fbt: not deploying app modules for debug/sample apps; extra validation for .PLUGIN-type apps
* apps: removed cdefines for external apps
* fbt: moved ext app path definition
* fbt: reworked fap_dist handling; f18: synced api_symbols.csv
* fbt: removed resources_paths for extapps
* scripts: reworked storage
* scripts: reworked runfap.py & selfupdate.py to use new api
* wip: fal runner
* fbt: moved file packaging into separate module
* scripts: storage: fixes
* scripts: storage: minor fixes for new api
* fbt: changed internal artifact storage details for external apps
* scripts: storage: additional fixes and better error reporting; examples: using APP_DATA_PATH()
* fbt, scripts: reworked launch_app to deploy plugins; moved old runfap.py to distfap.py
* fbt: extra check for plugins descriptors
* fbt: additional checks in emitter
* fbt: better info message on SDK rebuild
* scripts: removed requirements.txt
* loader: removed remnants of plugins & debug menus
* post-review fixes
2023-03-14 23:29:28 +09:00
Astra
9819306731
[Fl-3147] Remove ValueMutex ( #2467 )
...
* Move keypad_test to furi_mutex
* Move text_box_test to furi_mutex
* Move snake_game to furi_mutex
* Remove ValueMutex completely
* Snake Game: simplify code and fix PVS warning
* F18: sync API symbols
Co-authored-by: あく <alleteam@gmail.com >
2023-03-07 22:09:45 +09:00