Commit Graph

231 Commits

Author SHA1 Message Date
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 23d5063c85 sync parameters for 36-2 that work better on toyota 2025-03-04 12:17:25 -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 40a7fd732b deprecating EFI_ERROR_CODE 2024-12-28 14:49:27 -08:00
Matthew Kennedy ec310bf0c6 probably fix tests 2024-11-23 23:07:22 -08:00
Matthew Kennedy e4c0e5d20d memset is neither intent-expressive nor type safe 2024-11-23 22:46:46 -08:00
Matthew Kennedy 42ef77c2ef
na miata CAS as cam trigger (#495)
* Added NA Miata cam trigger

* Set cam SyncEdge to both, remove unrelated text change that snuck in

---------

Co-authored-by: alrijleh <alrijleh@gmail.com>
2024-10-01 11:42:06 -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 e70d4c7528 implement mazda L cam 2024-05-27 21:07:57 -07:00
Matthew Kennedy 9f67bfda03 tabs 2024-03-12 14:40:45 -07:00
Matthew Kennedy baebd29adb shadowing in trigger land 2023-11-01 15:54:03 -07:00
Matthew Kennedy 4ddd1ffbdb rename 2jz -> toyota 3 tooth 2023-09-14 13:53:16 -07: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 2255399257 multiple assignments in one line is confusing 2023-06-01 11:04:56 -07:00
Matthew Kennedy 6207d38b98 goodbye TriggerValue #55 2023-05-31 10:08:03 -07:00
Matthew Kennedy daaf50c2e4 looks like initialState was dead #55 2023-05-30 23:05:26 -07:00
Matthew Kennedy 03d43126de now dead overloads 2023-05-30 23:03:07 -07:00
Matthew Kennedy ef10a91c59 start switching TriggerValue to bool #55 2023-05-30 22:55:03 -07:00
Matthew Kennedy 2ed148fa9b need this one for now 2023-05-30 22:51:31 -07:00
Matthew Kennedy ce1dad1100 trigger structure api accepts bool #55 2023-05-30 22:48:07 -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 b6e3f105df state sequence api doesn't use triggervalue #55 2023-02-28 02:25:38 -08:00
Matthew Kennedy d7681bf194 no TriggerValue for vvt: #55 2023-02-28 02:11:28 -08:00
rusefillc 83b6d49681 Feb20: 3rd ticket for 4g9x mess #5111
minor mess reduction: only changing internal naming
2023-02-20 16:51:56 -05:00
rusefillc c3e3f57a7c Feb20: 3rd ticket for 4g9x mess #5111 2023-02-20 15:22:12 -05:00
rusefillc c119ce2f1a NB1 welcomes 2023 2023-02-20 15:13:29 -05:00
Matthew Kennedy 4b5fa68d13 fix 4g63 vs 9x naming, add cam-only test (#5093) 2023-02-16 23:22:34 -05:00
Matthew Kennedy 34430f251f rewrite neon trigger (#5003)
* rewrite neon trigger

* we were testing the same thing four times, maybe test it once
2023-01-24 18:33:15 +05:30
Matthew Kennedy cd32e2e14d toyota 4-1 noise rejection (#4980) 2023-01-20 15:47:44 +05:30
Andrey a699e29c02 Mitsubishi 4G93 Trigger issues #4918 2023-01-07 16:28:57 -05:00
Matthew Kennedy 5f110d6c14 Toyota cam 4-1 can be a plain skipped tooth decoder (#4863)
* this should be RiseOnly

* use 4-1 skipped tooth for toyota
2022-12-02 07:37:18 -05:00
Andrey 9a3dfd7465 new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 15:45:32 -05:00
Andrey 8d28853f48 docs 2022-11-16 15:23:42 -05:00
Andrey 7afc95a241 refactoring: default parameter, global replace 2022-11-16 14:28:43 -05:00
Andrey c530523a7e docs 2022-11-16 12:18:34 -05:00
rusefillc 5e9ff35ef9 new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 11:35:00 -05:00
Matthew Kennedy 7b47e77e58 infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
rusefillc d5c2c0294b minor trigger refactoring 2022-11-06 01:11:33 -04:00
rusefillc 4c3c34518a minor trigger refactoring 2022-11-05 22:42:33 -04:00
Matthew Kennedy 1cc46a1b83 simplify initializeSkippedToothTrigger (#4674) 2022-10-17 16:05:27 -04:00
Matthew Kennedy a65190b008 remove 2jz trigger that's really 12 tooth crank (#4637)
* remove 2jz trigger that's really 12 tooth crank

* triggerimage hardcoded name
2022-10-05 21:59:17 -04:00
Matthew Kennedy 9cd5553617 plumbing parts of 4621 (#4622)
* plumbing parts of 4621

* show error list

* exit on error too!

* this test has some unhealthy undefined behavior

* no uninitialized values

* no that doesn't work

* remove the invalid data and the bug becomes obvious
2022-09-25 18:49:54 -04:00
Matthew Kennedy 02aad24c59 explicitly pass which edges we sync trigger on (#4607)
* require sync edge type

* s

* fix neon

* info printing

* put enums back

* auto gen enum fiddling
2022-09-23 20:39:41 -04:00
rusefillc c6a2f2657b honda K enum rename 2022-09-23 20:13:14 -04:00
rusefillc 0780a3f719 human brain does need sleep 2022-09-11 12:40:24 -04:00
rusefillc 787dc0700e Revert "refactoring: type safety"
This reverts commit 0ff7af9db5.
2022-09-11 11:14:20 -04:00
rusefillc 0ff7af9db5 refactoring: type safety 2022-09-11 11:00:12 -04:00
rusefillc 2e85a7a09d refactoring: type safety 2022-09-11 05:41:01 -04:00
rusefillc 921b97431f refactoring: type safety 2022-09-11 03:46:50 -04:00