Commit Graph

97 Commits

Author SHA1 Message Date
Willy-JL
133397cb02 FURI_TRACE (useful furi_check() crashes) --nobuild 2023-10-17 03:16:33 +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
7fdda0bb84 Crash message for malloc(0) --nobuild 2023-10-13 07:11:09 +01: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
MX
8a3d8bdee7 out of memory message 2023-08-20 04:21:09 +03: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