Andrey Gusakov
16a3fd976e
simulator: fix
2025-02-05 14:45:34 -05:00
Andrey Gusakov
9a90ccc6d3
error_handling: do not pass va_list to variable argument list function
...
There is not way to pass '...' argument to another function. We need
to switch to va_list first
Signed-off-by: Andrey Gusakov <dron0gus@gmail.com>
2025-02-05 14:45:34 -05:00
rusefi
4faa0fb125
only:FW info into report
2025-01-25 13:18:23 -05:00
rusefi
4019cc1a2a
only:needErrorReportFile invokes yellow LED
2025-01-25 11:49:32 -05:00
rusefi
811b249d0c
only:sdlow
2025-01-24 22:27:49 -05:00
Andrey Gusakov
4705c95a59
error_handling: a bit of dead code, a bit of style
2025-01-24 18:30:01 -05:00
Andrey Gusakov
47691db1de
error_handling: no need
2025-01-24 18:30:01 -05:00
Andrey Gusakov
cee8cca002
error_handling: construct line before copying to backup ram
...
Ops.
2025-01-24 18:30:01 -05:00
Andrey Gusakov
e49b70c3e1
error_handling: do not mix c and cpp headers
2025-01-24 12:12:33 -05:00
Andrey Gusakov
36ee662a34
halconf: rework LIMITED_WHILE_LOOP
2025-01-24 12:12:33 -05:00
Andrey Gusakov
dbb46ded34
error_handling: reset unknown fail cookies to None
2025-01-24 10:38:15 -05:00
Andrey Gusakov
985d49a42b
mmc_card: report files delete command
2025-01-24 08:45:10 -05:00
Andrey Gusakov
e7047ba553
Error report file on SD card indicator
2025-01-23 12:17:04 -05:00
rusefillc
3f92a9d32e
only:ERROR_STACK_DEPTH 96
2025-01-23 08:15:34 -05:00
Andrey Gusakov
a51f02ff09
error_handling: evidence first!
2025-01-22 15:51:43 -05:00
rusefi
0ea54f2863
extern bool isInHardFaultHandler
...
only:uaefi
2025-01-22 14:56:11 -05:00
Andrey Gusakov
8e55d6b37f
error_handling: more guards
2025-01-22 12:42:14 -05:00
Andrey Gusakov
9bcb1ccbcf
error_handling: try to fool smart GCC
2025-01-22 12:42:14 -05:00
Andrey Gusakov
f294819902
fix simulator
2025-01-22 12:42:14 -05:00
Andrey Gusakov
01d755306f
error_handling: save stack bytes for firmwareError() too
2025-01-22 12:42:14 -05:00
Andrey Gusakov
e80d753390
error_handling: save few stack values for HardFault too
2025-01-22 12:42:14 -05:00
Andrey Gusakov
71e2bc9f74
error_handling: save SP and some values from stack
2025-01-22 12:42:14 -05:00
rusefillc
e830ac8015
only:EFI_PROD_CODE
2025-01-22 11:30:48 -05:00
Andrey Gusakov
647db3be46
stm32_reset_cause: handle POR/PDR reset cause
2025-01-22 08:29:49 -05:00
Andrey Gusakov
058dfeefd5
error_handling: unify
2025-01-19 16:31:06 -05:00
Andrey Gusakov
5189b29fb0
error_handling: no stuck in chDbgPanic3() with no debuger
2025-01-19 16:31:06 -05:00
rusefi
1a52274a85
Watchdog Reset detected! Check SD card for report file.
2025-01-18 11:03:51 -05:00
Andrey Gusakov
45a7a79d1b
error_handling: filename depends on problem type
2025-01-17 09:01:20 -05:00
Andrey Gusakov
a70bee5d38
error_handling: implement strlncpy() to avoid GCC warnings
2025-01-15 17:08:56 -05:00
Andrey Gusakov
d0e9a627bb
error_handling: fixes for ECU with no backup RAM
2025-01-15 10:31:14 -05:00
Andrey Gusakov
0e6dc0c7b2
workaround include mess when building simulator
2025-01-15 10:31:14 -05:00
Andrey Gusakov
97aa83ad16
error_handling: do not show cookie
...
this is confusing
2025-01-15 10:31:14 -05:00
Andrey Gusakov
9c8970c2c9
error_handling: do not overwrite errors
2025-01-15 10:31:14 -05:00
Andrey Gusakov
41f874dd10
error_handling: share same format for fail report on console and to file
2025-01-15 10:31:14 -05:00
Andrey Gusakov
5c1c896c01
error_handling: another way of suppressing
2025-01-15 10:31:14 -05:00
Andrey Gusakov
54a38c9ad4
error_hanling: supress '-Wstringop-truncation'
2025-01-15 10:31:14 -05:00
Andrey Gusakov
e0c05c4777
error reporting: extract all related code to error_handling
...
Also:
-report ChibiOS panic message
-use bootCount for boot report file naming
-save few bytes in backup ram by reusing same field for different errors types
2025-01-15 10:31:14 -05:00
rusefillc
f1a28467fd
log hard fault red LED reason on SD card #7290
...
state machine fix
only:uaefi
2025-01-13 18:19:25 -05:00
rusefillc
70513a1dae
log red LED reason on SD card #7290
...
only:uaefi
2025-01-12 12:19:17 -05:00
rusefillc
470f6b3326
copy-paste bad
...
only:uaefi
2025-01-02 18:53:58 -05:00
rusefillc
4009d94459
configErrorMessageBuffer; // recoverable configuration error, non-critical
...
only:uaefi
2025-01-02 17:38:50 -05:00
rusefillc
2d5defe66a
dead warning_message
...
only:uaefi
2025-01-02 17:38:49 -05:00
rusefillc
67d0fc8f70
only:reducing custom unit test code
2024-12-29 22:04:56 -05:00
rusefillc
7a3c980e53
forgotten magic constant
2024-11-25 01:04:08 -05:00
rusefi
075ae0e38b
only:I have a feeling about that SEGFAULT...
2024-10-09 22:33:09 -04:00
Andrey
59d271dbcb
splitting enum header
...
only:uaefi
2024-10-07 16:12:24 -04:00
rusefillc
de718d2184
only:code style
2024-09-26 20:10:08 -04:00
Andrey
3df13c8db8
revive MC33816 driver #6781
...
let's fail gracefully instead of hanging within ChibiOS
only:alphax-4k-gdi_debug
2024-08-08 11:33:39 -04:00
Andrey
1530b3dbd9
PUBLIC_API_WEAK or BOARD_WEAK #6748
2024-07-27 12:47:56 -04:00
rusefi
fb29212b69
small-can-board does not start #6738
...
USE_OPT += WE_HAVE_CRITICAL_ERROR_METHOD
only:small-can-board_debug
critical_error.h
2024-07-23 14:13:12 -04:00