Commit Graph

591 Commits

Author SHA1 Message Date
Matthew Kennedy 4c70708532 remove unnecessary "questionable trick" for error LED 2025-03-05 14:31:55 -08:00
dynfer bad1429b42
CEL workaround (#526)
* initial test

* temporary fix to CEL

* cel for sensors

* brackets and blink on firmware error

* restore blinking CEL
2025-01-07 16:38:29 -08:00
Matthew Kennedy 05f248112b typo in main loop update rate (!) 2024-12-23 13:18:04 -08:00
Matthew Kennedy 28e9f8a015 enum class-ify TriggerEvent 2024-12-12 15:37:14 -08:00
Matthew Kennedy 65c22b677e format, dead code 2024-09-26 16:08:29 -07:00
Matthew Kennedy 39fb6f2bfc tolerate null engine->etbControllers 2024-09-25 21:56:55 -07:00
Matthew Kennedy 01a397094d
execute critical tasks on one big thread (#462)
* wire up main loop

* remove PeriodicTimerController

* patch up defines, comments

* happy simulator

* format

* simulator

* ETB runs via main loop

* happy tests

* protection against invalid LoopPeriod

* stack size

* ccm

* fix |= operator

* move perf trace

* ordering

* ordering
2024-09-17 15:27:38 -07:00
Matthew Kennedy 75a50695c6 extend engineModules.apply_all to onEnginePhase 2024-08-28 02:26:16 -07:00
Matthew Kennedy 4b4d2ac4d5
ethernet console as engine module (#453)
* infrastructure for engine modules in the build

* fully move fuel pump

* fan

* gear detector

* gear detect

* fan control cleanup

* trip odometer

* shuffle makefiles around a little

* move ethernet console to engine module

* oops

* s

* final

* dead line
2024-07-23 20:52:37 -07:00
Matthew Kennedy bb1d5f26d2 for loop formatting 2024-07-03 00:22:48 -07:00
Matthew Kennedy e7d2b1c17c compile-time enforcement of printf strings 2024-06-10 01:15:39 -07:00
Matthew Kennedy 6758e2dfc0 compile-time enforcement of printf strings 2024-06-10 00:53:24 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Matthew Kennedy 60967399cc set hasFirmwareErrorFlag as early as possible 2024-03-12 15:29:44 -07:00
Matthew Kennedy 5e1359c919 correct big buffer move assignment/constructor behavior 2024-02-29 00:09:57 +00:00
Matthew Kennedy afe8b23787 put all backup data in SRAM, not in RTC registers 2024-02-06 11:43:13 -08:00
Matthew Kennedy f19eaeb7c8 dead isWarningEnabled 2023-10-24 16:25:53 -07:00
Matthew Kennedy d734d2d116
remove warning message from configuration (#259)
* remove warning_message

* dead type

* don't zero a field that isn't there
2023-09-25 02:07:42 -07:00
Matthew Kennedy 600d39fd8c force bigBuffer alignment https://github.com/rusefi/rusefi/issues/5354 2023-07-25 23:46:28 -07:00
Matthew Kennedy 6207d38b98 goodbye TriggerValue #55 2023-05-31 10:08:03 -07:00
Matthew Kennedy d5f9479f28
ObdCode is enum class (#77)
* change ObdCode to enum class builds firmware

* test builds

* don't need this line at all

* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy d6534157a0 rename obd_code_e -> ObdCode 2023-04-11 16:32:47 -07:00
Matthew Kennedy 718ad4a391 extract expected.h 2023-03-07 00:33:31 -08:00
Matthew Kennedy b6e3f105df state sequence api doesn't use triggervalue #55 2023-02-28 02:25:38 -08:00
Matthew Kennedy 61c17791b8 joystick, lcd 2023-02-20 21:54:10 -08:00
rusefi 18d93bf30f Revert "making enum less public API"
This reverts commit 46807bc8a4.
2023-02-15 09:08:52 -05:00
rusefillc 46807bc8a4 making enum less public API 2023-02-15 08:43:15 -05:00
Matthew Kennedy 1f0953aec0 don't print "sim_warning %s" (#4959) 2023-01-10 14:08:59 -05:00
Matthew Kennedy c617b00180 Use a shared buffer for "high memory" operations (#4878)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format
2022-12-10 07:35:39 -05:00
rusefillc 7962dd93ef gcc11 is smart 2022-10-19 10:29:27 -04:00
Matthew Kennedy 58a5569006 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
rusefillc cb3c070928 refactoring: type safety 2022-09-11 02:57:35 -04:00
rusefillc f9b849dd8f refactoring - reducing API between FW and Java 2022-09-11 02:16:47 -04:00
Andrey 8f14c44097 extracting prime_injection 2022-09-07 16:25:50 -04:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
Andrey 6188703384 tear down Engine god object #4511
just trying different things
2022-09-05 04:09:59 -04:00
Andrey 331c54391a tear down Engine god object #4511
just trying different things
2022-09-05 03:07:03 -04:00
Andrey 6f09b0d9f9 tear down Engine god object #4511
just trying different things
2022-09-01 19:46:47 -04:00
Andrey bd0b93439f header 2022-09-01 11:21:00 -04:00
Matthew Kennedy 234909a91f remove some uses of EFI_ERROR_CODE (#4496)
* lua hooks

* findAngleMatch

* s

* s
2022-08-28 09:43:21 -04:00
Matthew Kennedy 6218edd040 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 eb442998dc misc fixes (#4411)
* fix warnings

* break to debugger in case of panic

* move the check

* s
2022-08-02 12:19:50 -04:00
rusefillc 133ab5618b FSIO is dead 2022-07-14 07:52:58 -04:00
Matthew Kennedy 16a39badff 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 cbdfb7ac5c 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
Matthew Kennedy 26e08632a1 more generous script table axis limits (#4309)
* script table axis limits

* curves too, why not

* s

* s

* table type
2022-07-01 06:51:47 -04:00
Matthew Kennedy c2f61dc95f Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
Andrey 03662e48c4 Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
rusefillc f9d222bce1 random progress & method rename 2022-04-16 17:35:59 -04:00
rusefillc 2d0546ee15 docs 2022-04-15 22:56:38 -04:00