Commit Graph

836 Commits

Author SHA1 Message Date
Matthew Kennedy 343ea16973 check some table axes only if you use the feature 2025-03-10 15:24:01 -07:00
Matthew Kennedy 442c75cc4c
Remove sensor chart (#568)
* delete sensor chart from firmware

* delete sensor sniffer UI
2025-03-07 03:28:29 -08:00
Matthew Kennedy 9dcf76d99c
Remove stack checks (#558)
* remove stack checks

* put one back
2025-02-18 17:33:24 -08:00
Matthew Kennedy d52b00c7c8 MIL cleanup 2025-01-07 15:31:01 -08:00
Matthew Kennedy 7946c29c8d move vr threshold out of engine_configuration_s 2025-01-01 14:42:02 -08:00
Matthew Kennedy af434e633e printf format for changed types 2024-12-28 13:32:49 -08:00
Matthew Kennedy 9bb98ab237 shuffle around ignition-related files 2024-12-24 02:21:13 -08:00
Matthew Kennedy 6b1beb6e96 verify fuel level bins are ascending 2024-10-02 15:23:39 -07:00
Matthew Kennedy 65c22b677e format, dead code 2024-09-26 16:08:29 -07:00
Matthew Kennedy e25962569c don't inject VE table, prep #459 2024-09-25 00:49:16 -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 c3e1435f39 move tachometer to modules dir 2024-09-03 16:28:54 -07:00
Matthew Kennedy 761efd862c
MAP avg uses engine module callbacks (#475)
* use engine module callbacks

* happy tests

* happy small-can-board

* interact with map avg via module

* simplify map avg init

* tweaks

* omit module to disable it instead!

* unnecessary guard

* minor cleanups

* unnecessary branch - lookups for these tables are fine at 0 rpm

* oop
2024-08-29 22:38:30 -07:00
Matthew Kennedy 12321d4325 map averaging includes 2024-08-29 13:29:53 -07:00
Matthew Kennedy fb4788dfed dead 2024-08-18 11:57:27 -07:00
Matthew Kennedy e4b8aa3747
oil pressure protection (while running) (#460)
* config

* implement

* defaults

* check array bins

* gauge

* test the new behavior
2024-08-06 13:10:10 -07:00
Matthew Kennedy f3045af367 AE is engine module 2024-08-01 21:45:54 -07:00
Matthew Kennedy f086b94c81 cisnan -> std::isnan 2024-07-22 16:00:59 -07:00
Matthew Kennedy 9aaa7d9507 dead pwm tester 2024-07-11 16:19:34 -07:00
Matthew Kennedy 7485362dec misleading table axis checker names 2024-07-08 15:33:40 -07:00
Matthew Kennedy 23f91d2fca wow, all of this was dead code 2024-07-03 00:37:27 -07:00
Matthew Kennedy 45a6b5d134 blink the comm LED slightly instead of static 2024-06-27 17:56:21 -07:00
Matthew Kennedy 71dfd5d354 refactor LEDs out of PeriodicTimerController 2024-06-27 17:42:48 -07:00
Matthew Kennedy cc74d09ba7 controller does warning LED 2024-06-27 12:53:58 -07:00
Matthew Kennedy 7a9bfc763c rename task to LED blinking 2024-06-27 12:39:47 -07:00
Matthew Kennedy a953294a81 happy tests 2024-06-26 13:14:30 -07:00
Matthew Kennedy cfdce8a59c periodic fast and slow share a controller 2024-06-26 13:10:13 -07:00
Matthew Kennedy 897a730de7 EngineStateBlinkingTask -> EngineModule 2024-06-26 13:00:46 -07:00
Matthew Kennedy e7d2b1c17c compile-time enforcement of printf strings 2024-06-10 01:15:39 -07:00
Matthew Kennedy a474543580 Wait. Why do we even use Map3D here? #246 #417 2024-05-03 22:18:09 -07:00
Matthew Kennedy d98867fc44 KnockController::onConfigurationChange(nullptr) 2024-05-03 22:11:42 -07:00
Nathan Schulte b8d7b2d75b
fix knock retard table init (#419)
* fix knock retard table init

column and row definition were swapped w/re: value lookup

fixes #246, #417

* initialize knock controller / max retard table on reset

* fix KnockController init

no need for previousConfig (or any config ref); use the current config
2024-05-03 21:57:26 -07:00
Matthew Kennedy 8680b22816 move a bunch of tables out of engine_configuration_s #371 2024-03-17 12:06:14 -07:00
rusefillc 8330b7230d
validate injectorStaging arrays (#339)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-08 08:58:45 -08:00
Matthew Kennedy f8c57f7ea4 seems dead 2023-10-26 12:36:50 -07:00
Matthew Kennedy 8974d9d680 more init logic more common 2023-10-26 12:35:42 -07:00
Matthew Kennedy ad6c5af975
speedo output (#269)
* speedo output

* s

* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy e09ed790eb extract injection refactoring from #215 2023-10-12 18:00:33 -07:00
rusefillc 7ad5b00f2e
refactoring: vvt is not aux (#263)
* refactoring: vvt is not aux

(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)

* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
Matthew Kennedy 790e026069 flash write on small can works 2023-09-06 14:48:59 -07:00
Matthew Kennedy 5813c20a32
OpenBLT-based USB serial bootloader (#228)
* flash layout

* bootloader builds

* output name

* hard fp

* strip out dfu

* bootloader gets hardfault

* loader gets USB but not MSD

* kinda usb?

* USB enumerates!

* cleanup

* shared params

* nonfunctional openblt

* stub flash

* flash.h

* openblt responds over USB!

* implement flash driver

* blt conf, linker

* boards no longer need specific openblt files

* no ccache

* common_make.sh

* cleanup

* delete bootloader crust

* simplifying linker logic

* script tweaks

* flash layout is handled entirely by FOME flash driver

* simplify memcpy

* format

* comment

* dead

* makefiles cleanup

* cleanup

* h7 linker script for bootloader

* h7 bootloader build

* build script
2023-08-27 10:30:02 -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 f090a97b0b remove specs_s struct, flatten config 2023-03-27 00:58:18 -07:00
Matthew Kennedy bc0444acdb switch to use gitversion.h 2023-02-22 15:39:27 -08:00
Matthew Kennedy 959f14fae6 more dead 2023-02-21 11:54:24 -08:00
Matthew Kennedy cc8f64a371 narrow ego avg 2023-02-20 22:48:37 -08:00
Matthew Kennedy fd09ad7b4f cj125 2023-02-20 22:21:52 -08:00
Matthew Kennedy 61c17791b8 joystick, lcd 2023-02-20 21:54:10 -08:00
rusefillc 380a071f6a Ignition IAT corr IAT error what #4953 2023-01-07 17:48:58 -05:00
Matthew Kennedy 56aa0fe367 improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00