Commit Graph

174 Commits

Author SHA1 Message Date
Matthew Kennedy c76be0dad1 deduplicate sensor init 2024-04-09 10:11:07 -07:00
Matthew Kennedy e4258d6b86 proper fix for flex temp sensing 2024-04-03 14:18:52 -07:00
Matthew Kennedy 77fd7627a7 does flex need to be inverted? 2024-04-01 16:09:02 -07:00
Matthew Kennedy 8680b22816 move a bunch of tables out of engine_configuration_s #371 2024-03-17 12:06:14 -07:00
Matthew Kennedy 30be474784 missing initLambda in reconfigureSensors 2024-02-26 17:28:11 -08:00
Matthew Kennedy b81c30bd4a getAuxDigital #351 2024-01-23 10:15:58 -08:00
Matthew Kennedy 17c6a46e84 optimize for hot thread stacks and data in CCM 2024-01-06 19:37:35 -08:00
Matthew Kennedy 053e9daceb oops these don't fit either 2024-01-06 19:01:41 -08:00
Matthew Kennedy 7b46529dee move some stuff in to CCM 2024-01-06 18:52:37 -08:00
Matthew Kennedy c7864c601e missed flex wiring fix #283 2023-11-01 17:12:47 -07:00
Matthew Kennedy 0aee861107 gpio, thermistor, knock shadowing 2023-11-01 16:09:39 -07:00
Matthew Kennedy bec35e5078 shadowing broke flex 2023-11-01 13:50:15 -07:00
Matthew Kennedy 3b5ceaf490 Flex sensor decodes temperature too #254 2023-09-18 11:43:59 -07:00
Matthew Kennedy 80ad675b02 implement cdp/tip 2023-09-18 02:04:10 -07:00
Matthew Kennedy 9652598faf implement thermistors #250 2023-09-18 01:37:46 -07:00
Matthew Kennedy 4542c259d2 semi-secret brz/frs pedal mode 2023-06-10 20:12:14 -07:00
Matthew Kennedy ec8b054093 implement temp sensor pulldown mode #116 2023-06-10 13:36:03 -07:00
Matthew Kennedy c2d058126d obd sensors very broken 2023-06-01 14:08: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 df03f3c536
Fix afr dropdown, switch AFR to sensor model (#62)
* move presets to ini, like clt/iat

* call deinit

* init lambda using proper sensors

* raw output channel

* init lambda test

* ve blend 1 should use bias table 1, good eye @nmstec
2023-03-09 11:25:30 -08:00
Matthew Kennedy 82346c1650 misc 2023-03-03 02:17:33 -08:00
Matthew Kennedy d36dfe4e07 tps init typo 2023-02-25 00:31:18 -08:00
Matthew Kennedy bc4d1127bc etb style idle valve 2023-02-20 22:56:26 -08:00
Matthew Kennedy fd09ad7b4f cj125 2023-02-20 22:21:52 -08:00
Benas Brazdziunas 9cac9a309a dual ADC wideband support (#5007)
* Initial work on dual ADC wideband

* Added FunctionPointerSensor lambdaSensor2 and registered second sensor

* removed second sensor heater output. Only used for NB and probably can be shared with sensor 1

---------

Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
2023-01-29 05:01:39 -05:00
Matthew Kennedy 5471321363 don't warn if we intentionally skipped this spark (#4961)
* don't warn if we intentionally skipped this spark

* header

* real nb2
2023-01-10 19:07:44 -05:00
Matthew Kennedy 38bd9f1a1e support Toyota ETCS-i tps/pps (#4898)
* cfg

* cfg

* configurable "ford tps" mode for TPS + PPS

* comments

* comment

* fix deinit RedundantFordTps

unregister sensor in case useFordRedundant* changes, avoiding ECU config error

* better validation

* use activeConfiguration on deinit path

* use define

* use smaller unused hole

* s

Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2023-01-10 14:10:30 -05:00
rusefillc b612c27917 external muxes for internal ADC #3350 2023-01-07 21:56:12 -05:00
Matthew Kennedy 96880543ca adc resubscription of the same sensor (#4947)
* adc resubscription of the same sensor

* overload function name

* fix logic

* thermistors and map
2023-01-06 08:09:17 -05:00
Andrey 697a48e0ad getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861 2023-01-03 21:54:28 -05:00
Andrey 7abe393778 getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861 2023-01-03 21:46:56 -05:00
Andrey 667941e755 getDigital only works for 4 specific pins. Can it be made to work with generic digital pins? #4861 2023-01-03 21:17:32 -05:00
rusefillc 6a42a1de77 Sometimes while editing Lua we get "Fuel pressure compensation is set to use a pressure sensor, but none is configured. 20221226@proteus" on Passat config fix #4916 2022-12-27 00:23:04 -05:00
rusefillc 6ec6b0b82a refactoring: method name 2022-12-27 00:13:13 -05:00
rusefillc d619d3df25 reducing aux/lua mess 2022-12-04 12:38:58 -05:00
Matthew Kennedy c2c69553b3 live data objects evaluated at runtime (#4857)
* live data objects evaluated at runtime

* guard

* s
2022-11-30 19:29:22 -05:00
Andrey 181b5b2ed8 ETB JNI test progress 2022-11-29 02:10:55 -05:00
Andrey 432258d297 ETB JNI test progress 2022-11-29 02:03:46 -05:00
Andrey cd5b6570c7 ETB JNI test progress 2022-11-29 01:54:09 -05:00
rusefillc c8e3582c4a Nissan: probably hardware issue but maybe we need firmware progress as well #4821 2022-11-25 10:13:57 -05:00
Matthew Kennedy 6b97bf8e07 plumbing for dual MAP sensors (#4704)
* wiring for dual maps

* s
2022-10-27 21:15:04 -04:00
Matthew Kennedy 6a9b481c65 prep for multiple MAP sensors (#4705)
* prep for multiple MAP sensors

* move guard

* sensor info printing

* maybe kinetis memory
2022-10-27 13:59:36 -04:00
Andrey 698c0da164 Revert "prep for multiple MAP sensors (#4677)"
This reverts commit 10ea7ad948.
2022-10-26 21:25:02 -04:00
Matthew Kennedy 10ea7ad948 prep for multiple MAP sensors (#4677)
* prep for multiple MAP sensors

* move guard

* sensor info printing
2022-10-26 18:06:20 -04:00
rusefillc 381b7dc213 just frequency nothing else 2022-10-24 21:12:58 -04:00
Matthew Kennedy ede3df75f5 dual MAF sensors (#4697)
* add second MAF

* output channesl

* move them around

* ok let's try at the very end

* is the logic wrong, or something else?

* ooh it's the sensor order
2022-10-24 12:41:05 -04:00
rusefillc 367d2ec324 Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
Matthew Kennedy ed23218759 enable proteus, select compiler in script (#4675)
* enable proteus, select compiler in script

* do it the new way

* blah

* old fashioned printf debugging

* sleep longer so we get battery voltage, and not on proteus

* firmware yaml

* remove print, it works!
2022-10-17 15:36:02 -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 3a55a2d89a auxSpeed1 2022-09-20 23:00:42 -04:00