Commit Graph

105 Commits

Author SHA1 Message Date
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
rusefillc 8c4a06bc10
getBackupSram neven null (#5663) 2023-10-29 15:46:15 -04:00
rusefillc add3326ef0
dead warningEnabled global variable (#5636) 2023-10-24 18:55:29 -04:00
rusefillc a54ace1e8e EMI kills USB and causes a FATAL on the ECU #4310
only:small-can-board_debug
2023-10-21 16:55:52 -04:00
rusefillc 09c3f3aa5e EMI kills USB and causes a FATAL on the ECU #4310
only:small-can-board_debug
2023-10-21 16:24:38 -04:00
rusefillc 29487e084a EMI kills USB and causes a FATAL on the ECU #4310
only:small-can-board_debug
2023-10-21 16:02:26 -04:00
rusefi 720ba01d04 proteus fails to start while powered by stim board #5545
only:proteus_f7
2023-08-29 00:46:21 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
rusefillc 9f4647a99f CLI encapsulation preparing for libfirmware move 2023-08-08 23:53:59 -04:00
rusefillc 364fc3915d encapsulation 2023-08-08 06:03:56 -04:00
rusefi 83d69b2c0a turnAllPinsOff improvements #5429 2023-07-21 21:37:41 -04:00
Andrey G 7ea020c30c
Last Boot Error: show register names (#5364) 2023-07-01 11:47:42 -04:00
rusefi b27a87b601 kia rio - hanging on cranking if ignition is enabled #5321 2023-06-15 22:01:50 -04:00
rusefi 9c9f6f3009 backup RAM error code integration with TS #5325 2023-06-14 18:40:03 -04:00
rusefillc e63b753b71 conditional compilation around getBackupSram 2023-05-24 08:57:01 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a03d19bb2e8aeece301642c053a081d0)
2023-04-29 00:44:00 -04:00
Matthew Kennedy bb49b22294 joystick, lcd
(cherry picked from commit 61c17791b89fc6b5ae17df96d9498c088afdb09f)
2023-04-28 22:32:37 -04:00
Matthew Kennedy a2aee25f4d
don't print "sim_warning %s" (#4959) 2023-01-10 14:08:59 -05:00
rusefillc c376d4de90 gcc11 is smart 2022-10-19 10:29:27 -04:00
Matthew Kennedy 940e0dc369
require ignition on for firing (#4628)
* require ignition on for firing

* too much havoc for a unit test

* patch up references

* last one

* fix changelog mangling

* fix the changelog template too

* bad merge

* fix the template again

* s

* fake battery voltage on hw ci

* ugh merge

* ugh merge
2022-10-04 20:36:03 -04:00