Commit Graph

952 Commits

Author SHA1 Message Date
rusefillc 8e329ff750 gettig ready for Tle8888 big update 1 #1892 2020-10-23 12:23:17 -04:00
Matthew Kennedy 4e249889a6
implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
Matthew Kennedy 06f92807cc
second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
rusefi 94a6399e56 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefi 4f74a5fc73 GDI Epic #1448 2020-10-11 17:47:16 -04:00
David Holdeman 29c2d692ee
Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
Matthew Kennedy 83fe9dae77
ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
rusefillc 0a49ea933e https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
rusefillc ee2a013960 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:05:47 -04:00
Matthew Kennedy 1bce3aa4c0
Etb function cfg, try again (#1860)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-08 14:12:03 -04:00
rusefillc 367436454d HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit af59c45a
2020-10-03 22:00:00 -04:00
rusefillc 246e3b6032 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:28:21 -04:00
rusefillc 3083d729e8 new VVT trigger shape? #1847 2020-10-03 10:26:05 -04:00
rusefillc 98139e26ef https://rusefi.com/forum/viewtopic.php?p=38001#p38001 2020-10-03 10:04:04 -04:00
Matthew Kennedy af59c45adb
ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
rusefi 1ed7d0579b making error codes available 2020-10-01 00:03:54 -04:00
Matthew Kennedy 6ac9aad358
display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman d6bc2a70e7
transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
rusefi 23e0851101 adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi 1adc9444a8 removing third copy of same values 2020-09-28 20:58:21 -04:00
Matthew Kennedy f1c04efefa
replace ETB index with function enum (#1807)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit
2020-09-28 16:33:07 -04:00
Matthew Kennedy 747e78088b
add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
rusefillc d74a5100a7
Update rusefi_config.txt 2020-09-27 11:01:42 -04:00
rusefi 0510e5c36d Hellen gen_config #1823 poke 2020-09-27 10:42:01 -04:00
rusefi b418edc5a8 Hellen gen_config #1823 poke 2020-09-27 09:57:52 -04:00
rusefi 0a15b911e8 Hellen config build - poke 2020-09-27 08:50:12 -04:00
rusefi cf7c946c51 Output pin init/deinit needs a linked list #1803 2020-09-27 07:37:43 -04:00
rusefi 97982cc22f Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
rusefi 905a811b52 https://rusefi.com/forum/viewtopic.php?f=3&t=1523
refactoring
2020-09-22 04:57:43 -04:00
rusefi 5e265dd8ea Merge remote-tracking branch 'origin/master' into master 2020-09-20 13:42:53 -04:00
rusefi c6d0ddec40 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:42:37 -04:00
David Holdeman 8ebdf6fcdc
fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
Matthew Kennedy 3d6a6398ac
Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
rusefi 630274d6bd Hellen says it has more ADC channels 2020-09-17 03:59:50 -04:00
David Holdeman d761f523a0
add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
Matthew Kennedy 6629a2dea4
remove (#1789) 2020-09-12 10:35:49 +03:00
David Holdeman b1a69ff923
some documentation improvements (#1787) 2020-09-11 20:20:37 -04:00
David Holdeman 337106cd24
DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy d2d0ffa1ee
remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
Matthew Kennedy f6cbce48ed
minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
rusefi e2701b8258 Bench-testing for ALL assigned output pins #1758 2020-09-09 02:41:11 -04:00
rusefi a0b45b8b08 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi 5efaf2eb5d Hellen says "drv8860" 2020-09-07 10:47:40 -04:00
Matthew Kennedy ef0b2f7be0
Selectable VE axis override (#1769)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments
2020-09-07 10:15:42 -04:00
Matthew Kennedy 0e14e51179
reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
rusefi ba31cef223 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
rusefi cac05ec6b8 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:07:05 -04:00
rusefi 346808394d Bench-testing for ALL assigned output pins #1758 2020-09-05 23:49:21 -04:00