Commit Graph

163 Commits

Author SHA1 Message Date
rusefi a736bde6e9 semi-secret brz/frs pedal mode 2023-06-11 20:30:44 -04:00
Matthew Kennedy b150b8702d implement temp sensor pulldown mode 2023-06-10 18:18:34 -04:00
rusefillc 7edbe65029 extra flexibility to facilitate ports 2023-05-31 23:11:49 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f)
2023-04-29 00:15:54 -04:00
rusefillc 912f800242 FATAL error helping humans decide what they want regarding WBO input fix #5226 2023-04-10 11:31:29 -04:00
rusefillc f05a5fcd70 refactoring, fancy: extract magic constant 2023-03-30 10:01:51 -04:00
rusefi 7c6dd18f94 only:mre_f4 2023-03-01 16:53:48 -05:00
Andrey 1a8af17307 Native SENT TPS input #5079
only:mre_f4
2023-03-01 09:19:30 -05:00
Andrey 28c3af682d Native SENT TPS input #5079
a bit of progress
2023-02-28 22:11:38 -05:00
Andrey 3247c15838 Native SENT TPS input #5079
only:alphax-4chan
2023-02-23 05:26:42 -05:00
Andrey 5597c46e14 Native SENT TPS input #5079
only:alphax-4chan
2023-02-23 04:37:38 -05:00
Benas Brazdziunas f7aed24da9
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 d5b00e1187
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 15d41c31c7
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 558f88ce23 external muxes for internal ADC #3350 2023-01-07 21:56:12 -05:00
Matthew Kennedy 1eb00e5ec9
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 9db64ada20 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 3edc561e56 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 3e86c5bb0c 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 5a4d67954a 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 24cdca5515 refactoring: method name 2022-12-27 00:13:13 -05:00
rusefillc fff800a574 reducing aux/lua mess 2022-12-04 12:38:58 -05:00
Matthew Kennedy 65b459d461
live data objects evaluated at runtime (#4857)
* live data objects evaluated at runtime

* guard

* s
2022-11-30 19:29:22 -05:00
Andrey afea024ffe ETB JNI test progress 2022-11-29 02:10:55 -05:00
Andrey cc7ff2f92c ETB JNI test progress 2022-11-29 02:03:46 -05:00
Andrey c2c6669f47 ETB JNI test progress 2022-11-29 01:54:09 -05:00
rusefillc 0ad1f96068 Nissan: probably hardware issue but maybe we need firmware progress as well #4821 2022-11-25 10:13:57 -05:00
Matthew Kennedy de65a247d6
plumbing for dual MAP sensors (#4704)
* wiring for dual maps

* s
2022-10-27 21:15:04 -04:00
Matthew Kennedy dfe2ead2e7
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 b01082640b Revert "prep for multiple MAP sensors (#4677)"
This reverts commit b8c79b7881.
2022-10-26 21:25:02 -04:00
Matthew Kennedy b8c79b7881
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 e4906f5f7c just frequency nothing else 2022-10-24 21:12:58 -04:00
Matthew Kennedy f8a4d35d25
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 2eba65505b Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
Matthew Kennedy 85ebb112b5
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 940e0dc369
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 05b84d21e6 auxSpeed1 2022-09-20 23:00:42 -04:00
rusefillc 83dc351435 documenting biquad or else concerns 2022-09-19 12:06:00 -04:00
rusefillc 2144afe405 moving confusing around 2022-09-19 12:00:01 -04:00
Matthew Kennedy b6f1779781
implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc b848a819b4 HOW to configure CAN-based accelerator pedal #4369 2022-07-28 09:46:19 -04:00
rusefillc 8403fe2de9 random docs 2022-07-20 17:03:00 -04:00
Matthew Kennedy a95bc3ad03
implement CAN driver for simulator (#4312)
* stub simulator CAN driver

* comments

* CAN sensor

* maybe implement?

* s

* fix

* tx and rx actually work!?!?!

* check_can_isr

* modify chibios

* Sim has no CAN on Windows (for now?)

* safer init/deinit, enable assertions

* smarter handling of missing CAN device

* better guards

* guards for windows
2022-07-03 08:25:24 -04:00
Matthew Kennedy 29420c76aa
wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy dc2fb765a9
rewrite tps init, check if your primary/secondary sensors are too similar (#4231)
* rewrite tps init

* staticstaticstaticstaticstaticstaticstatic
2022-06-04 12:07:28 -04:00
rusefillc cbc4a42954 Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:39:08 -04:00
Matthew Kennedy c3fb211d6b
fix vss/iss filter parameter validation (#4114)
* fix filter parameter validation

* use values that don't get clipped
2022-04-27 22:29:51 -04:00
David Holdeman 1747b6a6e6
Add ISS sensor, rearrange some transmission config (#4089)
* move other solenoids to new dialog

* change name of menu item

* move buttonshift to new dialog

* add ISS config

* add some iss code

* add iss output

* de-init ISS
2022-04-21 09:07:52 -04:00