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
Andrey
ab4b451195
os_access.h dead?
2022-09-07 15:56:45 -04:00
Matthew Kennedy
423f69a842
allow logging multiple warnings at once ( #4414 )
...
* allow logging multiple warnings at once
* comment
* .Code
* Revert ".Code"
This reverts commit 2b986bd50035aeec051d11aafd83fdbc1694351c.
* add a better comparison operator instead of conversion
* dot code
* Revert "dot code"
This reverts commit 35f6ae1007c41e3b30ea129a324f33ab4205036d.
* force gcc-10 maybe?
* Revert "force gcc-10 maybe?"
This reverts commit 4ddf8bcefddd354ccdc1da682c5fff1e68d44273.
* vq
* dot code
* dead
* dot code
* return may be null
* static_vector; maybe cyclic_buffer is broken or wrong tool for the job?
* move static vector
* put cyclic buffer back how it was since we don't use it now
2022-08-17 01:12:25 -04:00
Matthew Kennedy
165e5bb869
misc fixes ( #4411 )
...
* fix warnings
* break to debugger in case of panic
* move the check
* s
2022-08-02 12:19:50 -04:00
Matthew Kennedy
5d844b1ebe
Error handling cleanup ( #4332 )
...
* dead code in stm32
* rusefi.cpp can have some noreturn
* handle lua panic
* unused error codes
* simplifications of error_handling.cpp
* comment
* put that back
* guard
2022-07-07 23:49:02 -04:00
Matthew Kennedy
0cc1f729c4
Write hard faults to backup ram, print on next boot ( #4324 )
...
* use backup ram, hard fault handler improvement
* wire it up
* upload elf
* s
* I guess I'll just use strncpy
* s
* what is it even complaining about?
* neat, we don't need a cast
* cypress and kinetis
* cleanup
* ci
* guard for tests
2022-07-07 15:14:31 -04:00
rusefillc
07f210a82b
random progress & method rename
2022-04-16 17:35:59 -04:00
Matthew Kennedy
a37c9bca9e
Remove the EFI_NO_CONFIG_WORKING_COPY option ( #3630 )
...
* no working copy
* oops
2021-11-29 16:44:45 -05:00
Scott Smith
823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy
b52d50bbf2
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy
43e6cef77d
more graceful chibios assertion failure ( #2859 )
...
* no custom assert hook
* dead
* setjmp/longjmp
* always call tid hook
* tests get threadid
* simulator threadid
* kick
* stubs for kinetis
* make it happier
* noreturn
* oops
* comments
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-05 18:18:58 -04:00
Matthew Kennedy
fd49590a4e
don't stack overflow on early ch dbg assert ( #2853 )
2021-06-24 16:36:20 -04:00
Andrey G
710a512fe7
Hw layer rearrangement ( #2703 )
...
* max31855: move to sensors
* uart GPS driver: move to sensors and rename
* i2c_bb: move to drivers
* LCD HD44780: move to drivers
* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy
bbb6b6dd14
remove simple cases of LoggingWithStorage ( #2569 )
...
* remove simple cases
* more simple
* serial
* s
* more
* try memory
* easy
* mmc acc
* that's how much memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
Matthew Kennedy
4e3e95db2d
replace print/printMsg with scheduleMsg ( #2497 )
...
* start cleaning
* disabled feature means don't print that it's disabled
* cli
* usages
* printMsg -> scheduleMsg
* this is alllll dead now
* no crlf please
* all hope is lost if you manage to hit this line
* tests
* tests
* ok we did actually need that part
* sim
* d
* kinetis
* it did ifdef, not if
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-26 17:23:26 -04:00
Matthew Kennedy
b56a31143e
fix error/warning buffer overflow ( #2456 )
...
* fix error printing overflow
* make the worst offender shorter
* error as warning
* these don't need that flag set
2021-03-14 09:31:11 -04:00