Commit Graph

3651 Commits

Author SHA1 Message Date
Matthew Kennedy c99a5890a1 debug channels cleanup 2023-09-13 15:34:25 -07:00
Matthew Kennedy 3b0d033dcd debug channels cleanup 2023-09-13 15:34:17 -07:00
GitHub gen-configs Action 828715d47a Auto-generated configs and docs 2023-09-13 19:25:28 +00:00
Matthew Kennedy 3df1ee9c5f debug channel cleanups 2023-09-13 12:23:27 -07:00
GitHub gen-configs Action 0d1b489eae Auto-generated configs and docs 2023-09-13 19:21:23 +00:00
Matthew Kennedy 0de6cd44cf debug modes cleanup 2023-09-13 12:19:18 -07:00
Matthew Kennedy 727f3a7a76 boost is engine module 2023-09-07 12:41:56 -07:00
Matthew Kennedy cb498f726a boost control runs in fast callback 2023-09-07 12:32:21 -07:00
GitHub gen-configs Action b2e00cb86b Auto-generated configs and docs 2023-08-27 17:31:44 +00: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 cc271b5419 default prime pulse 2023-08-25 11:18:19 -07:00
Matthew Kennedy 9ab71c1b58
separate ign bench parameters (#226) 2023-08-19 07:17:11 -07:00
GitHub gen-configs Action abcde332e2 Auto-generated configs and docs 2023-08-06 09:20:55 +00:00
Matthew Kennedy f7bf589a8d bench test buttons for fuel pump on/off #219 2023-08-06 02:19:00 -07:00
Matthew Kennedy eebef2788c Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-08-03 17:35:13 -07:00
Matthew Kennedy f21eee0cca bench test delay parameter is not useful 2023-08-03 17:34:55 -07:00
GitHub gen-configs Action e4a7e95dbd Auto-generated configs and docs 2023-08-04 00:22:07 +00:00
Matthew Kennedy 2f7f4d88a0 bench test cancellation #219 2023-08-03 17:18:20 -07:00
GitHub gen-configs Action e427037015 Auto-generated configs and docs 2023-08-03 07:54:14 +00:00
Matthew Kennedy 94c29d4cfb
simplify cam input single tooth modes (#178) 2023-08-03 00:52:19 -07:00
GitHub gen-configs Action 1a0d35f567 Auto-generated configs and docs 2023-07-27 23:14:25 +00:00
Matthew Kennedy 75aa569de9 unused 2023-07-27 16:12:03 -07:00
Matthew Kennedy 8c293d5cb7 stale config 2023-07-27 15:10:24 -07:00
Matthew Kennedy 1d309460e7 CONFIG_RESET_SWITCH 2023-07-25 23:25:50 -07:00
Matthew Kennedy 6f4a4fc373
implement ignition timing clamping (#212)
* implement ignition timing clamping

* ui, improved comment

* wrap atdc timing correctly

* tests
2023-07-21 15:55:04 -07:00
Matthew Kennedy fb8cb4987e
fan control is engine module (#203)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr
2023-07-21 01:28:25 -07:00
Matthew Kennedy e2550105b8
vvt is engine module (#202)
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-07-19 22:16:29 -07:00
GitHub gen-configs Action 62ad0beb1d Auto-generated configs and docs 2023-07-19 07:23:44 +00:00
Matthew Kennedy bed48892aa
new parser touches all input files (#201)
* begin the resurrection

* use hw ci build script

* Revert "use hw ci build script"

This reverts commit e97e693eea.

* list serial ports

* bad merge

* Revert "list serial ports"

This reverts commit a29270405c.

* Revert "bad merge"

This reverts commit ea2541110e.

* unnecessary autoscales

* improve bad autoscale message

* bit group formatting

* formatting matching

* c struct writer mostly works

* tests and formatting alignment

* tests

* cherry pick potential hw ci fix

* format matching

* newparse reads live data files

* vvt scaling

* cleanup

* format matching

* format matching

* format matching

* format matching

* handle arrays of structs

* cleanup for merge

* jars
2023-07-19 00:21:41 -07:00
Matthew Kennedy c36840d0c3 nix gauge generation 2023-07-18 11:39:39 -07:00
mi-hol 0975c783bd
fix apparent CopyPaste error assigning OBD fault (#194) 2023-07-17 02:35:35 -07:00
mi-hol 5b349c9bac
comment unused obd_error_codes (#186)
* comment unused  obd_error_codes

* remove duplicated values
2023-07-09 13:22:06 -07:00
Matthew Kennedy c59b7b3e99 move injector_model_s 2023-07-01 21:28:00 -07:00
GitHub gen-configs Action 406aeae039 Auto-generated configs and docs 2023-07-02 03:51:27 +00:00
Matthew Kennedy 565a5996c8 live data injector model 2023-07-01 20:51:01 -07:00
Matthew Kennedy cef8b61c7c sprinkle in some constexpr 2023-07-01 20:41:44 -07:00
Matthew Kennedy 98a4d9eda8
bench test uses a semaphore instead of flags+sleep (#110)
* bench test uses a semaphore instead of sleeping

* s

* dead error code

* guards

* set priority

* comment
2023-06-29 14:14:07 -07:00
Matthew Kennedy 242d9e1e7d lambda protect defaults #75 2023-06-29 13:16:26 -07:00
Matthew Kennedy a63930a5c4 lambda monitor wiring 2023-06-28 23:49:50 -07:00
Matthew Kennedy ade14a956f make spark and fuel more similar 2023-06-25 01:37:45 -07:00
Matthew Kennedy d98e9d1d54 warn about fuel pressure sensor instead of error #111 #117 2023-06-23 01:27:24 -07:00
Matthew Kennedy 3337510d11 #35 2023-06-05 14:28:50 -07:00
Matthew Kennedy dd6439eb41 f407 disco 2023-06-04 23:53:58 -07:00
Matthew Kennedy b196b6ca04 switch boards to mostly not use LED config 2023-06-04 23:51:58 -07:00
Matthew Kennedy 4495b8dd17 add to header 2023-06-04 23:35:58 -07:00
GitHub gen-configs Action 63d74179bb Auto-generated configs and docs 2023-06-01 20:49:31 +00:00
Matthew Kennedy 06b39dbb07
trigger and engine types -> enum class (#113)
* trigger type is enum class

* java tooling

* enum class engine_type_e

* enum class engine_type_e
2023-06-01 13:47:49 -07:00
Matthew Kennedy 8b5825adc4 indent formatting 2023-06-01 11:10:58 -07:00
Matthew Kennedy 41339c5418 change to log base timing 2023-05-31 11:22:41 -07:00
Matthew Kennedy b1b1ec7fdf add postState flag to airmass model calls #107 2023-05-15 17:18:35 -07:00
Matthew Kennedy 57263be2fe mockable throttle model 2023-05-11 14:37:48 -07:00
Matthew Kennedy bd45ebe88a some strange pid limits 2023-05-05 17:39:16 -07:00
Matthew Kennedy d2f697c8a1 txt formatting 2023-05-05 12:26:23 -07:00
GitHub gen-configs Action a10ec0ab0c Auto-generated configs and docs 2023-05-05 09:42:48 +00:00
Matthew Kennedy 18493f9083 TPS AE log cleanup 2023-05-05 02:34:48 -07:00
GitHub gen-configs Action e8e3ea2ee2 Auto-generated configs and docs 2023-05-05 09:14:07 +00:00
Matthew Kennedy a8fef36342 more log fields cleanup, lots of duplicates around fuel logic #98 2023-05-05 02:09:42 -07:00
GitHub gen-configs Action cff4543e1a Auto-generated configs and docs 2023-05-05 08:41:45 +00:00
Matthew Kennedy 0c80664f49 yet more field cleanup (and some dead ones?) #98 2023-05-05 01:37:46 -07:00
Matthew Kennedy d0c645bad5 Add gego channel to make VE analyze happy #82 2023-05-04 14:22:36 -07:00
GitHub gen-configs Action 501014e972 Auto-generated configs and docs 2023-05-04 21:02:19 +00:00
Matthew Kennedy c3092cb1ab cool, logging duplicate stuff! #98 2023-05-04 14:00:18 -07:00
Matthew Kennedy b33a103a08 ignition corrections 2023-05-04 13:53:06 -07:00
GitHub gen-configs Action a6ff8604fe Auto-generated configs and docs 2023-05-04 20:37:23 +00:00
Matthew Kennedy 37ee6af0ce field naming #98 2023-05-04 13:33:00 -07:00
Nathan Schulte 166a08d1b5
set default MAP estimate axis values (#96)
move to default_fuel

fixes #93
2023-05-04 11:30:56 -07:00
Matthew Kennedy f30e2ce0f2
selectable idle Y axis override (#94)
* selectable idle Y axis override

* changelog
2023-05-02 15:04:15 -07:00
Matthew Kennedy d01fac09ed gear detector doesn't need StoredValueSensor 2023-04-19 01:20:13 -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 778289455b this warning is not useful fix #79 2023-04-12 19:42:44 -07:00
Matthew Kennedy d6534157a0 rename obd_code_e -> ObdCode 2023-04-11 16:32:47 -07:00
Matthew Kennedy cef6856f15 rename test binary 2023-04-11 16:26:15 -07:00
Matthew Kennedy eb23fd5771 cherry pick wow unique IDs are not enforced?! 2023-04-11 15:47:18 -07:00
Matthew Kennedy 5e7a6dab90 rpm limit hysteresis 2023-04-10 11:37:20 -07:00
Matthew Kennedy 2f85cd60d4 use ECU-calculated blend table axis values 2023-04-02 13:56:42 -07:00
Matthew Kennedy c682c49d46 register/unregister 2023-04-01 23:17:50 -07:00
Matthew Kennedy 82794403f8 gear detection in to the sensor model 2023-04-01 23:08:06 -07:00
GitHub gen-configs Action d91e70de6f Auto-generated configs and docs 2023-04-01 05:31:04 +00:00
Matthew Kennedy f29b51d490 detected gear available as gppwm channel 2023-03-31 22:29:36 -07:00
GitHub gen-configs Action 996cfd2721 Auto-generated configs and docs 2023-03-27 08:38:48 +00:00
Matthew Kennedy d1246174d2 rename triggerSimulatorFrequency -> triggerSimulatorRpm 2023-03-27 01:13:04 -07:00
Matthew Kennedy f090a97b0b remove specs_s struct, flatten config 2023-03-27 00:58:18 -07:00
Matthew Kennedy bdeeb82f93 better idle VE table transition 2023-03-27 00:42:56 -07:00
Matthew Kennedy 65dbe06d78 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-03-25 13:54:10 -07:00
Matthew Kennedy cb0e81b062 support abs+gauge+diff fuel pressure #32 2023-03-25 13:53:16 -07:00
GitHub gen-configs Action 40b59b31fe Auto-generated configs and docs 2023-03-25 20:42:01 +00:00
Matthew Kennedy 5834164d62 add config for fuel pressure sensor type #32 2023-03-25 12:56:08 -07:00
Matthew Kennedy acbabe8387 Revert "gear ratio can't be negative, it's unsigned"
This reverts commit 37bf5400f7.
2023-03-17 14:43:27 -07:00
Matthew Kennedy 37bf5400f7 gear ratio can't be negative, it's unsigned 2023-03-17 01:58:47 -07:00
Matthew Kennedy e5d28022ad spammy prints cleanup 2023-03-16 01:27:03 -07:00
Matthew Kennedy 6a05413e52 throttle model gets real max engine flow 2023-03-16 01:11:19 -07:00
GitHub gen-configs Action 723795a232 Auto-generated configs and docs 2023-03-15 19:34:12 +00:00
GitHub gen-configs Action 456229d49e Auto-generated configs and docs 2023-03-15 18:57:35 +00:00
Matthew Kennedy 4e619c5494 stub throttle model generated 2023-03-14 20:12:35 -07:00
Matthew Kennedy 7ee63df142 Throttle model #63 2023-03-13 13:25:45 -07:00
Matthew Kennedy 718ad4a391 extract expected.h 2023-03-07 00:33:31 -08:00
GitHub gen-configs Action 0c23969738 Auto-generated configs and docs 2023-03-01 04:11:21 +00:00
Matthew Kennedy 0072e8f33c nobody should use NA6 VAF 2023-02-28 20:04:47 -08:00
Matthew Kennedy fcc3d1b1a2 dead slowAdcAlpha 2023-02-28 16:42:42 -08:00
GitHub gen-configs Action 2b82395ae2 Auto-generated configs and docs 2023-02-28 21:48:03 +00:00