Commit Graph

125 Commits

Author SHA1 Message Date
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
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 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 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 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
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
Andrey 1131899755 https://github.com/rusefi/rusefi/pull/5394
only:nastyornot
2024-06-17 21:00:55 -04:00
Andrey 7b40c58d79 compile-time enforcement of printf strings
only:uaefi
2024-06-10 21:22:56 -04:00
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
Andrey Gusakov 93e4f06019 firmwareError: set hasFirmwareErrorFlag as soon as possible
To avoid reentrance and infinity error loop
2024-03-11 18:41:29 -04:00
Andrey 5a258a69c4 refactoring: explicit struct for error-related info 2024-02-08 22:03:35 -05:00
rusefi fc80d0b285 large buffer on stack is risky we better use normal memory 2024-01-29 20:39:17 -05:00
Andrey Gusakov 17e69a4021 error_handling: add OBD error code to warning message 2024-01-08 16:42:11 -05:00
Andrey Gusakov 1d15bc0997 console: do not print same warning to console every 10 seconds 2024-01-08 16:42:11 -05:00
Andrey 9237c4b16a better EFI_ENGINE_CONTROL 2023-11-05 12:09:25 -05:00
rusefi 14488c3c8f only:stringop-truncation bug! 2023-11-05 00:55:38 -04:00
rusefillc defd6d4577
variable shadowing should be avoided #5676 (#5679)
helping kinetis
2023-11-01 22:54:24 -04:00
rusefillc 6b48460f5e only:variable shadowing should be avoided #5676 2023-11-01 19:47:19 -04:00