Commit Graph

11912 Commits

Author SHA1 Message Date
Matthew Kennedy 1ff00b7524 getCylinderId -> getCylinderNumberAtIndex 2025-01-18 01:23:10 -08:00
Matthew Kennedy 0e2709cd91 start refactoring towards OneCylinder 2025-01-18 01:03:44 -08:00
GitHub set-date Action 3b69c3416d Update date 2025-01-18 00:10:38 +00:00
GitHub set-date Action 7442958e7f Update date 2025-01-17 00:11:08 +00:00
GitHub set-date Action 87e7b3374c Update date 2025-01-15 00:10:48 +00:00
GitHub gen-configs Action 5bbb25f7bf Auto-generated configs and docs 2025-01-14 07:23:52 +00:00
Matthew Kennedy 6d906f7a4d Merge branch 'master' of https://github.com/fome-tech/fome-fw 2025-01-13 20:38:37 -08:00
Matthew Kennedy a58407ad0a move vvt pid in to vvt 2025-01-13 20:38:20 -08:00
GitHub gen-configs Action f8b942f1cd Auto-generated configs and docs 2025-01-14 04:37:11 +00:00
Matthew Kennedy ee21d0c83d live data: main relay & launch 2025-01-13 15:47:09 -08:00
GitHub set-date Action 691d8f9c30 Update date 2025-01-12 00:12:26 +00:00
Matthew Kennedy bb24a9c350 3 codes works? 2025-01-11 11:26:19 -08:00
Matthew Kennedy 308f9577eb OBD2 multi frame: first frame 2025-01-11 11:08:47 -08:00
Matthew Kennedy a5f2e02235 unnecessary include 2025-01-10 23:13:31 -08:00
Matthew Kennedy 3cd92ce1b5 test OBD monitor status PID 2025-01-10 22:06:52 -08:00
Matthew Kennedy b3e78dfc06 CAN guards cleanup 2025-01-10 21:54:45 -08:00
Matthew Kennedy 345c5ee871 test obd2 PIDs 2025-01-10 21:11:24 -08:00
GitHub set-date Action dae865a1fe Update date 2025-01-11 00:34:12 +00:00
Matthew Kennedy 935284c0d7 fiddling with OBD pid 0x01 2025-01-10 15:55:50 -08:00
Matthew Kennedy 2f3710f260 correct byte count for obd2 dtc 2025-01-10 15:38:57 -08:00
Matthew Kennedy 5d579145a7 cleanup 2025-01-10 15:35:40 -08:00
Matthew Kennedy 39b10cfab8 maybe fix obd response byte order 2025-01-10 14:52:16 -08:00
Matthew Kennedy c4a50ad3f1 maybe fix 0-2 dtc obd2 2025-01-10 14:11:40 -08:00
Matthew Kennedy e461d7755b respond empty list to pending/permanent 2025-01-10 14:03:01 -08:00
Matthew Kennedy 505c064117 format 2025-01-10 13:50:15 -08:00
Matthew Kennedy 7d7dd86f93 real obd codes are hex 2025-01-10 13:48:58 -08:00
Matthew Kennedy 786d296290 respond with correct service 2025-01-10 21:15:14 +00:00
Matthew Kennedy 67dd267084 obd codes 2025-01-10 21:09:38 +00:00
GitHub set-date Action 5ce7ba8f69 Update date 2025-01-10 00:11:29 +00:00
dynfer 4aa624bf45
dtc monitor status (#530)
* dtc monitor status

* bug in dtc reporting

* semicolon
2025-01-09 10:04:44 -08:00
dynfer 101380aa08
initial obd2 dtc response (#529) 2025-01-09 07:51:57 -08:00
Matthew Kennedy 0be3180920 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2025-01-08 18:37:53 -08:00
Matthew Kennedy 1dace5e301 unnecessary functions 2025-01-08 18:37:50 -08:00
Matthew Kennedy 680a8667cb dead code 2025-01-08 18:35:46 -08:00
GitHub set-date Action a971cc63d8 Update date 2025-01-09 00:11:23 +00:00
Matthew Kennedy 410b307b21 unnecessary guard 2025-01-07 21:12:16 -08:00
Matthew Kennedy 0c9c858ed2 cleanup 2025-01-07 20:47:38 -08:00
Matthew Kennedy 2268520b4e turn on the CEL when the engine is stopped 2025-01-07 16:45:11 -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
GitHub set-date Action cd3f361433 Update date 2025-01-08 00:22:27 +00:00
Matthew Kennedy c1760a6966 obd2 simplification 2025-01-07 15:42:15 -08:00
Matthew Kennedy d52b00c7c8 MIL cleanup 2025-01-07 15:31:01 -08:00
Matthew Kennedy 8ed851324f Merge branch 'master' of https://github.com/fome-tech/fome-fw 2025-01-07 15:14:56 -08:00
Matthew Kennedy 02714916e8 sensor check oil temp 2025-01-07 15:14:29 -08:00
Matthew Kennedy 8fe18697da check oil pressure sensor 2025-01-07 15:12:11 -08:00
Matthew Kennedy e8f92cb3b5 avoid duplicate sensor errors 2025-01-07 15:11:32 -08:00
GitHub set-date Action cbbc4cde63 Update date 2025-01-05 00:12:16 +00:00
GitHub gen-configs Action be29786b69 Auto-generated configs and docs 2025-01-04 02:34:07 +00:00
Matthew Kennedy 04a6a2c7d2 sensor checker knows about 5v sensor supply voltage 2025-01-03 18:32:48 -08:00
GitHub set-date Action 252b944d85 Update date 2025-01-04 00:11:03 +00:00
Matthew Kennedy 17627ed60f pwm_freq_t cleanup 2025-01-03 00:52:40 -08:00
Matthew Kennedy d35d734a7f crust cleanup 2025-01-02 22:15:34 -08:00
Matthew Kennedy f71e3df50e pauseCANdueToSerial debt 2025-01-02 22:09:14 -08:00
Matthew Kennedy f81dff184e enableOverdwellProtection 2025-01-02 22:04:56 -08:00
Matthew Kennedy 9f4b66052b we have main relay sensing! 2025-01-02 21:55:04 -08:00
GitHub gen-configs Action 0baff3d285 Auto-generated configs and docs 2025-01-03 05:36:25 +00:00
Matthew Kennedy 43e759593c detect main relay faults 2025-01-02 21:34:59 -08:00
GitHub set-date Action 6ebf9e1bad Update date 2025-01-02 00:11:13 +00:00
Matthew Kennedy 7946c29c8d move vr threshold out of engine_configuration_s 2025-01-01 14:42:02 -08:00
GitHub set-date Action a4b50fa61e Update date 2024-12-30 00:11:54 +00:00
Matthew Kennedy a15d3359dd small can board 2024-12-29 02:34:38 -08:00
Matthew Kennedy 4bc73255d4 small can board 2024-12-29 02:03:44 -08:00
GitHub set-date Action 5854ecfbde Update date 2024-12-29 00:12:20 +00:00
Matthew Kennedy a034cd59eb remove EFI_ERROR_CODE 2024-12-28 15:21:47 -08:00
Matthew Kennedy 1a7ca80f9e GPIO_NULL, EFI_ERROR_CODE 2024-12-28 15:07:29 -08:00
Matthew Kennedy 18c7bcf246 cleanup 2024-12-28 15:02:42 -08:00
Matthew Kennedy 6008086729 Merge branch 'master' into deprecate-efi-error-code 2024-12-28 14:52:26 -08:00
Matthew Kennedy 8e8243e197 return unexpected 2024-12-28 14:52:02 -08:00
Matthew Kennedy 40a7fd732b deprecating EFI_ERROR_CODE 2024-12-28 14:49:27 -08:00
Matthew Kennedy ae35062a99 deprecating EFI_ERROR_CODE 2024-12-28 14:13:50 -08:00
Matthew Kennedy 6b68e39ca9 unused parameter 2024-12-28 14:11:13 -08:00
Matthew Kennedy af434e633e printf format for changed types 2024-12-28 13:32:49 -08:00
GitHub set-date Action c981467c79 Update date 2024-12-27 00:11:14 +00:00
GitHub gen-configs Action 5e2c557b87 Auto-generated configs and docs 2024-12-26 09:23:17 +00:00
Matthew Kennedy a4a7d870e9 compactify config 2024-12-26 01:21:58 -08:00
GitHub gen-configs Action 83cabff5b9 Auto-generated configs and docs 2024-12-26 09:08:22 +00:00
Matthew Kennedy e6efc22330 dead setRotary 2024-12-26 01:06:38 -08:00
Matthew Kennedy 080cd74c06 unnecessary setTwoStrokeOperationMode 2024-12-26 01:04:16 -08:00
Matthew Kennedy 8cced628d7 fix can verbose TX period 2024-12-26 00:51:41 -08:00
Matthew Kennedy 8e97cd4999 CAN cleanup 2024-12-26 00:34:00 -08:00
Matthew Kennedy 744f0ff2f0 if (auto x = foo()) 2024-12-26 00:25:20 -08:00
Matthew Kennedy c616f44c8b if (auto x = foo()) 2024-12-26 00:19:11 -08:00
GitHub set-date Action 440e3684ff Update date 2024-12-26 00:11:07 +00:00
GitHub gen-configs Action a7d6126477 Auto-generated configs and docs 2024-12-25 03:41:32 +00:00
Matthew Kennedy 8e9f67af31 add a button to force resync 2024-12-24 19:35:18 -08:00
Matthew Kennedy 66576f0d61 Use batch fuel until cam sync happens 2024-12-24 19:32:30 -08:00
Matthew Kennedy e2ff8b8b82 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-24 17:45:48 -08:00
GitHub set-date Action 980ab28a60 Update date 2024-12-25 00:11:10 +00:00
Matthew Kennedy 6a240bf555 dead getAdvance function 2024-12-24 16:07:06 -08:00
Matthew Kennedy 32f319d7cd tests build 2024-12-24 02:59:54 -08:00
Matthew Kennedy 6d549802d0 cleaning 2024-12-24 02:53:18 -08:00
Matthew Kennedy 9736b3b64f refactoring timing math 2024-12-24 02:48:26 -08:00
Matthew Kennedy 2efa469421 extract isCranking 2024-12-24 02:33:57 -08:00
Matthew Kennedy 54447b1254 relocate getSparkDwell 2024-12-24 02:30:46 -08:00
Matthew Kennedy 9bb98ab237 shuffle around ignition-related files 2024-12-24 02:21:13 -08:00
Matthew Kennedy 4c770b3431 unnecessary includes 2024-12-24 02:15:40 -08:00
Matthew Kennedy 8312d838c5 missed the mk file 2024-12-24 01:59:33 -08:00
Matthew Kennedy f38279f4a3 everybody loves a literally empty function 2024-12-24 01:58:51 -08:00
Matthew Kennedy 1a1d21b37f rename ignition_state -> ignition_controller 2024-12-24 01:55:42 -08:00
Matthew Kennedy 390bb5cf2c format some live data txts 2024-12-24 01:52:19 -08:00
Matthew Kennedy 76800a4961 extract firing order logic to its own file 2024-12-24 01:44:13 -08:00
GitHub gen-configs Action a0601454ab Auto-generated configs and docs 2024-12-24 07:13:08 +00:00
Matthew Kennedy cf5cfb7c35 compact config & outputs 2024-12-23 23:11:44 -08:00
GitHub gen-configs Action 749f02a9a4 Auto-generated configs and docs 2024-12-24 06:33:26 +00:00
Matthew Kennedy e7f7da55f6 debug modes cleanup 2024-12-23 22:31:59 -08:00
Matthew Kennedy b7d3dfe4fc format tps_accel_state.txt 2024-12-23 22:15:42 -08:00
Matthew Kennedy 55b1018337 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-23 22:06:38 -08:00
Matthew Kennedy cf58ece693 nix on SENT 2024-12-23 22:06:05 -08:00
GitHub gen-configs Action 22b411a92b Auto-generated configs and docs 2024-12-24 05:55:21 +00:00
Matthew Kennedy 3f21fde846 dead log field 2024-12-23 21:53:17 -08:00
GitHub set-date Action a57d0235fb Update date 2024-12-24 00:11:24 +00:00
Matthew Kennedy c1349b01dd misc pid/etb cleanup 2024-12-23 13:44:14 -08:00
Matthew Kennedy 84abe3692f fix tests 2024-12-23 13:38:19 -08:00
Matthew Kennedy 54f2dd85f6 dead Pid::updateFactors 2024-12-23 13:19:56 -08:00
Matthew Kennedy 05f248112b typo in main loop update rate (!) 2024-12-23 13:18:04 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy 6ccb6d3a19 dead PID showPidStatus, sleep 2024-12-23 13:01:01 -08:00
Matthew Kennedy 89a578bee7 throw an error for impossible ETB PID 2024-12-23 12:58:12 -08:00
Matthew Kennedy 791f26ca8a Simplify idle: no "pid industrial" 2024-12-23 00:30:04 -08:00
GitHub set-date Action 6a76bee9f3 Update date 2024-12-21 00:10:58 +00:00
GitHub set-date Action 664d36796d Update date 2024-12-19 00:11:53 +00:00
Matthew Kennedy 203b28105b missed override 2024-12-17 16:48:50 -08:00
GitHub set-date Action 2de54bcc25 Update date 2024-12-18 00:11:44 +00:00
GitHub gen-configs Action 8d99cb6179 Auto-generated configs and docs 2024-12-17 23:30:37 +00:00
Matthew Kennedy 66e3ec7b84 quad wideband 2024-12-17 15:29:17 -08:00
GitHub gen-configs Action d53a879c63 Auto-generated configs and docs 2024-12-17 22:59:00 +00:00
Matthew Kennedy 24aedb0610 dead idle_state_e 2024-12-17 14:57:28 -08:00
GitHub set-date Action 0cfde8339d Update date 2024-12-17 00:12:05 +00:00
Matthew Kennedy 876165b831 lua memory counting 2024-12-16 12:19:53 -08:00
Matthew Kennedy e2e19fd80b Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-15 16:19:57 -08:00
Matthew Kennedy 5c08bdd42d sensor.h comment 2024-12-15 16:19:51 -08:00
GitHub set-date Action e538295781 Update date 2024-12-16 00:12:42 +00:00
GitHub gen-configs Action a2ab146071 Auto-generated configs and docs 2024-12-15 04:42:11 +00:00
Matthew Kennedy 5a679121a0 livedata: throttle model 2024-12-14 20:40:41 -08:00
GitHub gen-configs Action 2cab7b86a7 Auto-generated configs and docs 2024-12-15 04:35:18 +00:00
Matthew Kennedy a9b80550f6 tweak etb target labels 2024-12-14 20:21:56 -08:00
GitHub gen-configs Action 37a677fc91 Auto-generated configs and docs 2024-12-15 01:15:53 +00:00
Matthew Kennedy 4d36228098 idle livedata organization 2024-12-14 17:14:22 -08:00
Matthew Kennedy def72dca22 throttlePedalUpPin is dead 2024-12-14 16:56:32 -08:00
Matthew Kennedy bc71b00cc3 idle live data uses prefix 2024-12-14 16:41:52 -08:00
GitHub gen-configs Action 34d06779c1 Auto-generated configs and docs 2024-12-15 00:39:51 +00:00
Matthew Kennedy b9b624d729 trigger state primary use prefix 2024-12-14 16:35:30 -08:00
GitHub gen-configs Action 7afb8b700e Auto-generated configs and docs 2024-12-15 00:32:38 +00:00
Matthew Kennedy fbb74b27b9 fan live data & labels 2024-12-14 16:31:02 -08:00
GitHub gen-configs Action aadf53b159 Auto-generated configs and docs 2024-12-15 00:14:59 +00:00
Matthew Kennedy 41e54c55d9 AC control live data 2024-12-14 16:13:42 -08:00
GitHub gen-configs Action 60d6cc8e04 Auto-generated configs and docs 2024-12-15 00:06:40 +00:00
Matthew Kennedy e77bf94cd6 missed a file 2024-12-14 16:05:11 -08:00
Matthew Kennedy 3c748cfc28 last boost label 2024-12-14 16:05:02 -08:00
GitHub gen-configs Action bd66c39481 Auto-generated configs and docs 2024-12-15 00:03:31 +00:00
Matthew Kennedy 09625d8c33 boost livedata revamp 2024-12-14 16:01:58 -08:00
GitHub set-date Action bcfbe0563d Update date 2024-12-14 00:11:51 +00:00
GitHub gen-configs Action bcc25f9b5e Auto-generated configs and docs 2024-12-13 01:23:30 +00:00
Matthew Kennedy d4388b3d03 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-12 17:22:02 -08:00
Matthew Kennedy a359b9b486 field order for less fill 2024-12-12 17:08:42 -08:00
GitHub gen-configs Action 0b572a013e Auto-generated configs and docs 2024-12-13 01:04:02 +00:00
Matthew Kennedy 4d74ef4eb2 Live data: trigger error counter 2024-12-12 17:02:38 -08:00
GitHub gen-configs Action 628a0044c9 Auto-generated configs and docs 2024-12-13 00:43:37 +00:00
Matthew Kennedy 95e474e7f8 revamp trigger/vvt logging 2024-12-12 16:42:10 -08:00
GitHub set-date Action 3c1dc8712f Update date 2024-12-13 00:12:14 +00:00
Matthew Kennedy a4dfd4c080 unnecessary assertion 2024-12-12 15:41:35 -08:00
Matthew Kennedy 28e9f8a015 enum class-ify TriggerEvent 2024-12-12 15:37:14 -08:00
GitHub gen-configs Action 98c30ffc9d Auto-generated configs and docs 2024-12-12 17:58:15 +00:00
Matthew Kennedy e8dff72ce0 multi trigger data 2024-12-12 09:56:50 -08:00
Matthew Kennedy 60647c1e6f Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-12-12 01:10:36 -08:00
Matthew Kennedy 23e3d98379 vvt livedata 2024-12-12 01:10:25 -08:00
GitHub gen-configs Action 5fa8b3c764 Auto-generated configs and docs 2024-12-12 09:05:00 +00:00
Matthew Kennedy e95a479e75 remove duplicate logging of VVT sync ratio 2024-12-12 01:02:53 -08:00
GitHub set-date Action 9470442ab9 Update date 2024-12-11 00:12:15 +00:00
GitHub gen-configs Action 964f71e933 Auto-generated configs and docs 2024-12-10 06:51:21 +00:00
Matthew Kennedy 13a691c9a7 VVT target live data 2024-12-09 22:49:52 -08:00
Matthew Kennedy 9ed47d593b multi-vvt live data 2024-12-09 22:44:46 -08:00
Matthew Kennedy f1572616da dead engine state egtValue 2024-12-09 22:39:49 -08:00
GitHub gen-configs Action 925afedb23 Auto-generated configs and docs 2024-12-10 06:22:25 +00:00
Matthew Kennedy 7cae2fb109
revamp ETB live data (#521)
* remove old output channels

* etb live data

* fix indicators
2024-12-09 22:20:53 -08:00
GitHub gen-configs Action 8a57855bab Auto-generated configs and docs 2024-12-10 02:58:58 +00:00
Matthew Kennedy 294b9b1f59
multi live data (#518)
* multiple livedata of one type

* jar

* axe "fancy" content

* nix new fancy cleanup

* make it work for WBO too!

* friendlier fan names

* jar
2024-12-09 18:57:39 -08:00
GitHub set-date Action 55b0ce29a5 Update date 2024-12-10 00:12:25 +00:00
GitHub set-date Action a843f9923a Update date 2024-12-09 00:12:39 +00:00
GitHub set-date Action 2497c589bc Update date 2024-12-07 00:11:58 +00:00
dynfer 1458a69f3f
Fix dynamic labels for GPPWM tables (#517)
* axis fix

* fix last 3 values

* remove *

* comment
2024-12-06 02:04:00 -08:00
GitHub set-date Action 2bbc0eed4a Update date 2024-12-04 00:12:15 +00:00
Matthew Kennedy b32314a8f0 dfco timing retard and ramp back in 2024-12-02 23:56:22 -08:00
GitHub gen-configs Action e666c82d7c Auto-generated configs and docs 2024-12-03 04:48:02 +00:00
Matthew Kennedy a68222c756 dfco timing retard plumbing 2024-12-02 20:46:36 -08:00
GitHub set-date Action ae3c621eb6 Update date 2024-12-01 00:14:35 +00:00
GitHub set-date Action eb7ca9f235 Update date 2024-11-30 00:11:28 +00:00
Matthew Kennedy d16d8c4e57 comment format 2024-11-29 02:14:29 -08:00
GitHub set-date Action 120e1a789b Update date 2024-11-28 00:12:04 +00:00
Matthew Kennedy fa7e4a6789 format 2024-11-26 19:03:12 -08:00
GitHub set-date Action 0954a8c9db Update date 2024-11-25 00:12:02 +00:00
GitHub gen-configs Action 0bab9e065c Auto-generated configs and docs 2024-11-24 07:09:48 +00:00
Matthew Kennedy ec310bf0c6 probably fix tests 2024-11-23 23:07:22 -08:00
Matthew Kennedy 3e7931aaf7 per-cam trigger counters 2024-11-23 23:04:47 -08:00
GitHub gen-configs Action c10f600135 Auto-generated configs and docs 2024-11-24 07:00:31 +00:00
Matthew Kennedy 764196bd4c isTriggerUpEvent cleanup, HW_EVENT_TYPES 2024-11-23 22:58:37 -08:00
Matthew Kennedy e4c0e5d20d memset is neither intent-expressive nor type safe 2024-11-23 22:46:46 -08:00
GitHub gen-configs Action 9c4328e28d Auto-generated configs and docs 2024-11-24 06:33:43 +00:00
Matthew Kennedy 41d839ebc5 dwell gauges cleanup 2024-11-23 22:31:13 -08:00
GitHub set-date Action d8fc9d416a Update date 2024-11-24 00:12:38 +00:00