Matthew Kennedy
4a95652f88
Purge fiesta config ( #2117 )
...
* config
* this had a feature flag?
* enums
* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc
2940703a97
PROTEUS_QC_TEST_BOARD
2020-12-22 10:13:27 -05:00
Matthew Kennedy
85f0621738
Purge rover v8 config ( #2116 )
...
* bye
* goodbye, rover v8
* that snuck in
* use a different config for that test
2020-12-22 10:05:54 -05:00
Matthew Kennedy
91a549736f
fix ( #2109 )
2020-12-20 19:31:14 -05:00
Matthew Kennedy
30fd52d82d
Fix gpio reinit race condition ( #2098 )
...
* fix unregister api for gpio
* consumers
* guard with a critical section
* index
* guard less
* unregister under lock
* fix reinit
* dead flag
* fix most tests
* initialize properly
* initialize properly
* assertions in tests
* fix message
* we must lock earlier to be truly safe
* this was using huge memory
* devirtualize
2020-12-18 17:18:12 -05:00
rusefillc
d44e5cd667
generate java enum from C enum #2102
...
one step back
2020-12-18 14:21:08 -05:00
rusefillc
0af3216835
generate java enum from C enum #2102
2020-12-18 13:33:01 -05:00
rusefillc
f5a5a54683
naming consistency
2020-12-18 09:01:18 -05:00
Matthew Kennedy
d3cbed60af
move target computation ( #2091 )
2020-12-17 17:46:51 -05:00
Matthew Kennedy
34edf34bf4
only build in config for the correct board ( #2088 )
...
* only build in config for the correct board
* undo
* undo
* undo
* only touch proteus config
* include configs in tests
2020-12-17 17:12:24 -05:00
rusefillc
39a292a46a
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:53:26 -05:00
rusefillc
f147aabcd7
trigger and start button pins not displayed by "pins" command #2084
...
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
Matthew Kennedy
1a14746e97
extra data for rusEfi wideband controller ( #2082 )
...
* add config
* logic
* remove old
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
rusefillc
2c3666d194
returning AT validation into QC
2020-12-15 15:43:36 -05:00
rusefillc
7d104bff8d
pnp progress
2020-12-15 00:09:35 -05:00
shadowm60
480af8b38b
Debug channel updates ( #2078 )
...
* Debug channel updates
Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]: entry = wastegatePosition, "Wastegate position sensor", float, "%.3f"
* enum_regeneration
fix build issue?
2020-12-14 08:29:43 -05:00
rusefillc
fa06e99908
Merge remote-tracking branch 'origin/master' into master
2020-12-13 17:49:36 -05:00
rusefillc
41f35e99f1
trigger decode should pay to attention to what wheel signal is coming from #2073
2020-12-13 17:49:24 -05:00
GitHub build-firmware Action
3f2c81a475
Auto-generated configs and docs
2020-12-13 22:48:42 +00:00
rusefillc
4c2ea35269
TT_SUBARU_7_WITHOUT_6
2020-12-13 17:46:48 -05:00
GitHub build-firmware Action
b24ab99274
Auto-generated configs and docs
2020-12-13 21:23:35 +00:00
rusefi
1a205b9973
maybe this would just work?
2020-12-13 16:22:02 -05:00
rusefi
afe387c7be
subi
2020-12-13 11:39:10 -05:00
rusefillc
8e320209f1
MRE issue with tle8888 - GP3 does not work? #2065
2020-12-13 11:29:19 -05:00
rusefillc
9b7acb9dbf
clang warnings again #2055
2020-12-11 12:50:10 -05:00
rusefillc
47db5d0d99
clang warnings again #2055
2020-12-11 10:33:00 -05:00
Matthew Kennedy
719e341eeb
start fuel pump as soon as trigger events happen ( #2038 )
...
* switch pump fsio logic
* value collision
* fuel pump in tests
* mock time since trigger
* test fp
* init pin in test
* fix gpio outputs in tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
rusefillc
3f17d84b44
fix warnings found by clang #2014
2020-12-08 13:59:40 -05:00
Matthew Kennedy
cd2d568b74
maybe fix sensor init checks ( #2034 )
...
* enums
* don't collide
* auto_generated_enums
* check based on new enum val
* maybe this will make generate tool happy
* add a test
* fix test
* fix and add another test
* make clang happier
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
rusefillc
08dbbdb21a
subi
2020-12-06 18:08:55 -05:00
rusefillc
f868d05dec
MRE_SUBARU_EJ18
2020-12-06 14:16:40 -05:00
rusefillc
c0e2ca5e74
MRE_SUBARU_EJ18
2020-12-06 13:08:09 -05:00
rusefillc
085a5f38b8
making console happier
2020-12-05 21:56:39 -05:00
rusefillc
a1fe39b89d
unit tests in clang #2012
2020-12-04 23:59:21 -05:00
shadowm60
45205e7da7
Dyno view proposal ( #1999 )
...
* DynoView creation
module implementation and unit_tests
* update acc algo
we only calcualte new acceleration value if speed has changed, not on every callback.
* added acceleration ts_channel
* fixed broken unit tests
* fixed accel sign
* review updates
* Update test_dynoview.cpp
fix unit_tests
* Update engine_controller.cpp
Fix .ram4 unused size
* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
rusefillc
0ba4b37a2d
all triggers should be documented way nicer #2001
2020-12-04 11:44:27 -05:00
rusefillc
eb3dd94390
6.1 Hemi V8 decoder #2010
2020-12-04 00:30:22 -05:00
rusefillc
9a897007c4
FORD ST170 CAM TRIGGER PATTERN fix #2009
2020-12-03 23:54:08 -05:00
GitHub build-firmware Action
4669da6ebe
Auto-generated configs and docs
2020-12-04 02:59:40 +00:00
rusefillc
fec3c3c443
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:58:03 -05:00
GitHub build-firmware Action
a0e1faf627
Auto-generated configs and docs
2020-12-04 02:33:46 +00:00
rusefillc
c9a5a41a2f
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:31:58 -05:00
rusefillc
0d2f8e67e7
avoid float -> int64 conversion #1977
...
both cases have to be relatively small durations of time cherry picking...
2020-12-03 13:32:01 -05:00
GitHub build-firmware Action
67660a38af
Auto-generated configs and docs
2020-12-03 15:51:02 +00:00
rusefillc
ba0503177c
more dead code
2020-12-03 10:49:20 -05:00
GitHub build-firmware Action
accd14f261
Auto-generated configs and docs
2020-12-03 06:38:53 +00:00
rusefillc
bcd5e029fa
dead code matches Mazda SOHC
2020-12-03 01:36:43 -05:00
GitHub build-firmware Action
e7b115a43e
Auto-generated configs and docs
2020-12-03 06:25:01 +00:00
rusefillc
238e639c53
dead trigger, this would now be vvt+60/2
2020-12-03 01:22:57 -05:00
rusefillc
f5189cb6aa
all triggers should be documented way nicer #2001
2020-12-03 01:02:17 -05:00
rusefillc
0a72735c74
all triggers should be documented way nicer #2001
2020-12-03 00:19:18 -05:00
rusefillc
59655af204
Fuel pump should turn on at the first sign of engine rotation #1961
2020-12-02 23:09:39 -05:00
rusefillc
b503fa3366
all triggers should be documented way nicer #2001
2020-12-02 20:51:33 -05:00
shadowm60
b014023560
Launch Control refactoring ( #1992 )
...
* refactor
- called from periodicFastCallback
- removed defines
* Update rusefi.input
removed unused configurations.
added clutch inversion option
* Added new tests
fixed limiting only in case we have launch condition and rpm outside of window
* Update launch_control.cpp
Unintialized config update, now it is working fine with VSS and with clutch as well.
* small fixes
updated after review findings
* Fix breaking engine rev limiter
applyLaunchControlLimiting should not overwrite booleans to false!
* Delay timer in seconds
timer uses ms, so convert seconds to ms
2020-12-01 13:03:42 -05:00
Matthew Kennedy
c5295f520e
timer ( #1994 )
2020-11-30 19:35:06 -05:00
GitHub build-firmware Action
0ee28a9f8b
Auto-generated configs and docs
2020-11-29 03:51:15 +00:00
rusefillc
d199302b83
miata 94
2020-11-28 22:49:28 -05:00
rusefi
93160c6abb
LM_ALPHA_N_2 rename
2020-11-27 15:44:31 -05:00
rusefillc
42c56a47da
dead engine config
...
one step back
2020-11-26 21:21:25 -05:00
rusefillc
0f39f37bba
dead engine config
2020-11-26 21:07:34 -05:00
rusefillc
96ca95bd1e
dead engine config
2020-11-26 20:26:12 -05:00
rusefillc
41a02a0153
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 17:48:09 -05:00
rusefi
bdba67e05f
better default value
2020-11-25 17:02:28 -05:00
Andrey G
005a5daa74
ADC: fixes: ( #1979 )
...
* ADC: fixes:
-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM
* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
shadowm60
e69d103461
Launch control unit tests update ( #1972 )
...
* testable launch start
* extract base class
* add a test
* fix ts debug
* Launch control unit_tests
updated launch control for a better split
VSS mock for unit tests
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2020-11-19 21:14:38 -05:00
Matthew Kennedy
359a6ddc47
Launch control testable ( #1967 )
...
* testable launch start
* extract base class
* add a test
* fix ts debug
2020-11-19 08:15:56 -05:00
Matthew Kennedy
2792828dce
Remove lockAnyContext, replace with CriticalSectionLocker ( #1938 )
...
* switch to CriticalSectionLocker
* that's just about all
* clean up last usage
* include hpp for sim
* need the cpp wrappers in the makefile too
* include dir
* include
2020-11-19 06:56:02 -05:00
rusefillc
dbdfd87c6d
Starter seems to be engaged forever fix #1965
2020-11-18 23:54:30 -05:00
rusefillc
5118a67f89
better error handling
2020-11-17 22:45:43 -05:00
rusefillc
6f56988469
https://rusefi.com/forum/viewtopic.php?p=38367#p38367
...
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
Matthew Kennedy
605269c358
remove idle thread; just call from periodicSlowCallback ( #1924 )
...
* remove thread
* remove ui
2020-11-11 21:47:19 -05:00
GitHub build-firmware Action
58b039f433
Auto-generated configs and docs
2020-11-11 04:13:06 +00:00
Matthew Kennedy
0fa06e2e2a
compensate injector flow based on fuel pressure ( #1931 )
...
* injector compensation
* fix
* ui
* testability & comments
* hella testing
* debug channels
* enum value
* auto generated enums
* update comment
* oops too much
* update config fields
* handle failed pressure sensor
* build
* fix
* add some todos for the future
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
rusefi
cff029f289
miata TCU
2020-11-04 12:48:07 -05:00
Matthew Kennedy
e8bb0cfd00
extract idle hardware to its own file ( #1923 )
...
* extract idle hardware
* should fix the build
2020-11-03 18:06:32 -05:00
Matthew Kennedy
789926a61d
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
Andrey G
e14fa4b189
Tle8888 small update ( #1908 )
...
* TLE8888: add support MR switching from SW
Main Relay has limitation - it is always active while KEY=1. When
KEY=0 MR can be switched on from SW.
* TLE8888: support reading of KEY and WAKE inputs
* Rusefi enums: add new TLE8888 pins
2020-11-01 22:19:55 -05:00
rusefi
1d6c6eb804
wall wetting default
2020-10-31 19:28:27 -04:00
Matthew Kennedy
a29f73f467
log afr in addition to lambda ( #1920 )
...
* log afr
* log it
* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy
bcabb51222
unused tach field ( #1918 )
2020-10-29 15:26:01 -04:00
rusefillc
781cc3d326
[EPIC] [Feature Request] Transmission Control #1454
2020-10-28 01:23:05 -04:00
GitHub build-firmware Action
046f4247df
Auto-generated configs and docs
2020-10-28 05:06:20 +00:00
rusefillc
eb06ce55cd
TCU
2020-10-28 01:01:30 -04:00
Matthew Kennedy
b8c2041467
Everything in lambda! ( #1893 )
...
* lambda
* default configs, fix build
* config, gauge, UI
* more digits
* change menu text
* fix that while I'm here
* doesn't need extra word
* todo note
* tests
* last test
* missed a config
* update java
* store target lambda
* more java
* format
* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy
61865292ff
probably fix ci ( #1912 )
2020-10-26 14:04:22 -04:00
Matthew Kennedy
6abc80e74c
convert mass -> duration later in the pipeline ( #1906 )
...
* cranking duration to mass
* implement
* units
* patch types
* suppress warning
* fix output channels
* add note about how to set it
2020-10-26 07:23:13 -04:00
Matthew Kennedy
5189e0b1d9
fix double deadtime ( #1904 )
...
* move global correction factor to fuel mass
* tests
* the fix
2020-10-25 00:12:05 -04:00
Matthew Kennedy
5296de1493
use fuel model ( #1901 )
...
* use fuel model
* spit'n'polish
2020-10-23 20:25:47 -04:00
GitHub build-firmware Action
f504ba90b8
Auto-generated configs and docs
2020-10-23 19:48:01 +00:00
Matthew Kennedy
c38eb6d38f
add Injector pressure sensor ( #1898 )
...
* add sensor type
* add config
* initialize injector pressure
* add UI
2020-10-23 15:46:16 -04:00
Andrey G
88e830d635
Tle8888 big update 1 ( #1892 )
...
* smart gpio: fix tle8888 direct pin mapping for MRE
* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888
* TLE8888: cleanup
* TLE8888: do not reset driver private data on WD/undervoltage reset
* TLE8888: diagnostic updates
* TLE8888 driver: BIG driver rework
* TLE8888: check SPI answers for abnormal states
Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed
Keep tracking last accessed register and check with the next reply.
* TLE8888: debug clean-up
* TLE8888: implement spi array write
This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS
* TLE8888: fix PP outputs in OD mode
* TLE8888: cleanup register definitions
* TLE8888: run separate driver thread for each chip instance
Calculating poll interval for few chips become more complex, avoid
this running thread for each device.
* TLE8888: fix cypress and kinetic compilation
Both platforms define its own MAX and cause redifination error if
common.h is included in driver.
* MRE: update mapping.yaml and fix direct pin mapping for TLE8888
* TLE8888: diagnnostic: disable switch off in case of overcurrent
For all output, use current limiting instead
* TLE8888: check for overvoltage on OUT8..OUT13
* TLE8888: add TODO note about how to recover from failure condition
Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.
* TLE8888: save few bytes of RAM
* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888
Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c
* TLE8888: reorder code, cleanup
* TLE8888: mode all debug/statisctic to per-chip struct
* TLE8888: rework poll interval calculation
* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
Matthew Kennedy
dbdeca93b0
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
rusefi
25189a70a8
B6
2020-10-23 00:39:22 -04:00
GitHub build-firmware Action
9ebd97289c
Auto-generated configs and docs
2020-10-22 02:51:46 +00:00
Matthew Kennedy
38b6e9ba2b
gppwm debug ( #1895 )
...
* dbg gppwm
* fix channel
* TS guard
2020-10-21 22:49:38 -04:00
rusefi
ca89cf9b95
GDI Epic #1448
2020-10-19 22:04:06 -04:00
Matthew Kennedy
8c11a6fb4b
remove ( #1887 )
2020-10-18 20:49:42 -04:00
rusefillc
3314394dd9
refactoring: better method name
2020-10-17 18:45:08 -04:00
GitHub build-firmware Action
7b4c02eb6c
Auto-generated configs and docs
2020-10-15 02:42:20 +00:00
Matthew Kennedy
eac2b179c7
fix temp sensor & validate it ( #1879 )
...
* fix temp sensor & validate
* smaller here should work
2020-10-14 22:39:16 -04:00
rusefi
996806d710
QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871
2020-10-11 22:57:31 -04:00
rusefi
1c84b0dd9f
QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase fix #1871
2020-10-11 22:46:08 -04:00
rusefi
4743718663
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
David Holdeman
a6a0e8ba77
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
51d407aaf0
ign mode overrides ( #1869 )
2020-10-09 17:16:49 -04:00
rusefillc
d5d5bbba9f
tachPulsePerRev needs a safer default, MRE config needs a value
2020-10-06 00:56:49 -04:00
Matthew Kennedy
e112bbd07e
remove virtual calls from hot path ( #1857 )
...
* const ref-ify
* no virtual ❌
* even more const
* tests
* fix tests
2020-10-05 16:42:50 -04:00
Matthew Kennedy
060cfbd778
const ref-ify trigger ( #1856 )
...
* const ref-ify
* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy
ebc884e8d5
trigger decode cleanup and perf ( #1853 )
...
* trigger decode cleanup
* test config ptr patchup
* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc
149bc309f7
60/2 perf grab #1850
2020-10-04 01:04:15 -04:00
GitHub build-firmware Action
c67f26e863
Auto-generated configs and docs
2020-10-03 14:42:14 +00:00
rusefillc
c9bdd59220
new VVT trigger shape? #1847
2020-10-03 10:39:43 -04:00
Matthew Kennedy
5f6955e49f
move scheduling to its own file ( #1842 )
...
* move scheduling to its own file
* header
* protip don't include a cpp file
2020-10-01 17:55:03 -04:00
Matthew Kennedy
3e64861c14
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
3374db1658
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action
07532d6b4c
Auto-generated configs and docs
2020-09-29 01:20:53 +00:00
rusefi
2836954b9c
adding 1+16 trigger
2020-09-28 21:18:47 -04:00
rusefi
bd82ae0d9a
refactoring: magic constants
2020-09-28 21:11:04 -04:00
GitHub build-firmware Action
f1527ea660
Auto-generated configs and docs
2020-09-28 20:34:48 +00:00
Matthew Kennedy
b79c0fefe5
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
shadowm60
2d665e2c90
Launch control - experimental ( #1816 )
...
* Update tachometer.cpp
Initial implementation of E30 M3 Tach output solution #907 , unit_test plus debugging next
* tacho unit tests
First successfull unit test for tachometer
* RAM adjustment so it would link
* refactoring tacho, broken!
* starting to make some progress...still fails after a few seconds
* Rework with SW PWM
* Update after code review
* unit_test update
* First working unit_test
* Update .gitignore
* Update engine_controller.cpp
* Update engine_controller.cpp
* Update tachometer.h
* Update test_tacho.cpp
* Switched UART DMA on
* Revert "Switched UART DMA on"
This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.
* enable launch control
make use of already existent code + integration
* Delete compile_frankenso_all.sh
remove it since it is not part of the project
* Update main_trigger_callback.cpp
broke unit_Tests
Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
rusefi
3b9d339db0
unit test for start/stop hardware and pin repository #1811
2020-09-21 12:29:01 -04:00
rusefi
4fccd51722
ADC progress
2020-09-21 06:10:25 -04:00
rusefi
77a9d79124
Revert "reorder ADC channel index #1763"
...
This reverts commit a50450c5
2020-09-20 14:04:24 -04:00
rusefi
a50450c5fc
reorder ADC channel index #1763
...
we forgot about something
2020-09-20 13:59:54 -04:00
David Holdeman
02a12d76f3
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
rusefi
a2ec524c29
better QC procedure
2020-09-19 16:07:09 -04:00
rusefi
be7ea7e068
docs
2020-09-19 04:38:59 -04:00
David Holdeman
159e3142ce
add shift matrix and pin config ( #1798 )
...
* add shift matrix and pin config
* try
2020-09-15 11:34:09 +03:00
David Holdeman
e8e2cf2cfd
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
rusefi
437d74e479
Hellen says merge #1772 Kinetis needs more help
2020-09-10 22:02:02 -04:00
rusefi
6726e11579
Hellen says merge #1772 progress
2020-09-10 21:26:21 -04:00
rusefi
e289977e37
Hellen says merge #1772 main relay progress
2020-09-10 21:11:02 -04:00
Matthew Kennedy
f077479be4
minor TS changes ( #1778 )
...
* minor
* fiix
2020-09-09 16:27:13 -04:00
David Holdeman
ffb5e0b1e4
switch start/stop to ButtonDebounce ( #1777 )
2020-09-09 08:22:15 +01:00
Matthew Kennedy
eb2bc3201c
Selectable AFR axis override ( #1771 )
...
* 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
* impl
* unhide option
* fix
* tests
2020-09-08 17:15:18 -04:00
rusefi
f70c4b7a54
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/controllers/algo/engine_configuration.cpp
2020-09-07 15:55:43 -04:00
rusefi
20dfacb521
Hellen says merge #1772 misc #2
2020-09-07 15:53:26 -04:00
rusefi
1eeb65214d
Hellen says merge #1772 import idle
...
(cherry picked from commit 2bed967b32
)
2020-09-07 15:11:50 -04:00
rusefi
2bed967b32
Hellen says merge #1772 import idle
2020-09-07 15:08:54 -04:00
rusefi
5243811711
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/controllers/algo/engine.h
# firmware/hw_layer/drivers/drivers.mk
# firmware/hw_layer/stepper.h
# firmware/integration/rusefi_config.txt
# firmware/tunerstudio/rusefi.input
# simulator/simulator/efifeatures.h
2020-09-07 15:02:11 -04:00
rusefi
f6d735cdd2
Hellen says merge #1772
...
Hellen says stepper
(cherry picked from commit 4bc18ee475
)
2020-09-07 14:45:41 -04:00
rusefi
4bc18ee475
Hellen says merge #1772
...
Hellen says stepper
2020-09-07 14:41:04 -04:00
GitHub build-firmware Action
f6c24a2e71
Auto-generated configs and docs
2020-09-07 14:17:40 +00:00
Matthew Kennedy
8adfef930f
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
rusefi
f55fee38b4
microRusEFI used as Body Control Module BCM BCU
2020-09-06 19:43:54 -04:00
Matthew Kennedy
a3db817f6e
Move ve logic ( #1762 )
...
* move ve
* fix build
* fix rendering
* duh
* cleaning
* correct scaling
* put some back
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -04:00
Matthew Kennedy
4802a47d23
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
Matthew Kennedy
fc02c2bdf4
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
c476cd3b95
refactoring
2020-09-03 19:29:15 -04:00
David Holdeman
5d84ddfa01
[TCU] Button Shifting ( #1750 )
...
* add buttonshift files
* buttonshift includes, targets, and init
2020-09-02 20:17:58 -04:00
David Holdeman
0f10703649
[TCU] GearController and TransmissionController base classes ( #1749 )
...
* add tcu ts outputs
* accidental change?
* add tcu base classes
* rearrange
* accidental change?
* add files
* missing backslash
* undo accidental change
* buttonshift includes, targets, and init
* Revert "buttonshift includes, targets, and init"
This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.
* use unused bit
* add return documentation
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
rusefi
8b172324a2
OBD-II default rate is 500kbps
2020-09-01 22:24:25 -04:00
Matthew Kennedy
bad69c812e
move lambda in to sensor model ( #1736 )
...
* lambda sens
* fix init
* fix
* a test for good measure
* he's climbin in your windows, snatchin you ram up
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
Matthew Kennedy
95f858265b
detect which cylinder knocked ( #1732 )
...
* s
* science
* set pin mode
* turn stuff off so it fits
* filtering maybe
* filtering actually works
* generate filter parameters internally
* shorter window
* guard behind enable flag
* use checked in filter
* add biquad reset
* tracing
* const
* exec order
* do it from a thread
* smaller buffer, comment
* configure with header
* only for proteus
* oops
* unused
* not needed
* guards
* pin config
* don't need that include
* precook filter steady state
* define sample rate
* multi cylinder knock
* TS
* only sense when running
2020-08-31 21:05:33 -04:00
Matthew Kennedy
0f95d8fd71
fix #1740 the right way ( #1741 )
...
* fix
* put that back
2020-08-31 21:05:04 -04:00
rusefi
70dae6eb4c
Default Biquad settings broke MRE QC configuration #1740
2020-08-31 13:07:49 -04:00
rusefi
76816602a4
Default Biquad settings broke MRE QC configuration #1740
2020-08-31 12:36:28 -04:00
rusefi
6401b94399
this does not go as planned :(
2020-08-31 07:45:52 -04:00
rusefi
7e304fdca9
HW_CHECK_MODE is not well?
2020-08-31 06:43:47 -04:00
rusefi
5da1af9ca7
VVT support for VAG trigger #883
2020-08-29 17:46:01 -04:00
rusefi
b19ffa7075
TriggerConfiguration getPrintPrefix
2020-08-29 17:25:42 -04:00
rusefi
4322f78591
verboseVVTDecoding
2020-08-29 17:05:54 -04:00
rusefi
eb0e2afbb7
presets
2020-08-29 16:49:56 -04:00
rusefi
c30065c8f5
reducing autotest mess
2020-08-29 15:41:09 -04:00
rusefi
8d024f4579
BCM
2020-08-29 14:29:34 -04:00
rusefi
1d2a75b427
Merge remote-tracking branch 'origin/master'
2020-08-29 12:52:26 -04:00
rusefi
00ddb7b966
BCM
2020-08-29 10:06:14 -04:00
GitHub build-firmware Action
e44968d62b
Auto-generated configs and docs
2020-08-29 13:42:30 +00:00
rusefi
240df29e12
BCM
2020-08-29 09:41:02 -04:00
GitHub build-firmware Action
9488253b89
Auto-generated configs and docs
2020-08-27 04:44:53 +00:00
rusefi
77bb2310a7
VVT support for VAG trigger #883
2020-08-27 00:43:23 -04:00
rusefi
ed3eaf319c
VVT support for VAG trigger #883
2020-08-27 00:06:10 -04:00
rusefi
e46681f552
VVT support for VAG trigger #883
2020-08-26 23:35:11 -04:00
rusefi
866374bf29
VVT support for VAG trigger #883
2020-08-26 13:30:55 -04:00
GitHub build-firmware Action
de2b6794bc
Auto-generated configs and docs
2020-08-25 22:59:48 +00:00
rusefi
27c75b4d57
Merge remote-tracking branch 'origin/master'
2020-08-25 16:26:22 -04:00
rusefi
22f6063d9f
VVT support for VAG trigger #883
2020-08-25 16:19:23 -04:00
GitHub build-firmware Action
8d24169d68
Auto-generated configs and docs
2020-08-25 20:01:04 +00:00
rusefi
5718d93c44
another attempt at dead code
2020-08-25 15:58:56 -04:00
rusefi
d817bdd428
Revert "removing a bit of dead code?"
...
This reverts commit a90a9247
2020-08-25 15:50:50 -04:00
rusefi
a90a924766
removing a bit of dead code?
2020-08-25 15:19:37 -04:00
rusefi
b64c9bd9d3
VVT support for VAG trigger #883
2020-08-25 13:14:46 -04:00
rusefi
627d20c436
VVT support for VAG trigger #883
2020-08-25 12:45:25 -04:00
GitHub build-firmware Action
17cc6d8916
Auto-generated configs and docs
2020-08-25 05:40:39 +00:00
rusefi
536fb52365
oh, here it is
2020-08-25 01:38:56 -04:00
GitHub build-firmware Action
3a6af2ac19
Auto-generated configs and docs
2020-08-25 05:26:05 +00:00
rusefi
1b49c57bc1
VVT support for VAG trigger #883
2020-08-25 01:24:15 -04:00
rusefi
7d53f5859d
VVT support for VAG trigger #883
2020-08-25 00:59:07 -04:00
rusefi
bdbee0d38b
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
rusefi
0f9e8bf83e
VVT support for VAG trigger #883
2020-08-24 01:21:42 -04:00
Matthew Kennedy
ad42a17207
Configurable stoichiometric ratio ( #1710 )
...
* configurable stoich ratio
* afr table always in gas afr
* default
* typo
* use defined ratio
* do it in config too
* missed a spot
* oops wrong one
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:43:30 -04:00
Matthew Kennedy
8d1f0dbe90
don't call tach from trigger, call from periodic fast ( #1704 )
...
* tacho
* fix tests
2020-08-21 15:36:43 -04:00
rusefi
0c4d29808d
gimme my preset!
2020-08-19 20:40:10 -04:00
Matthew Kennedy
ff12321ba0
inject fuel & injector models so they can be mocked ( #1697 )
...
* stub injector model
* tests
* inject fuel/injector models
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 17:03:59 -04:00
Matthew Kennedy
f5036a9f84
Add injector model class ( #1687 )
...
* stub injector model
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 05:22:25 -04:00
rusefi
c705fedf2f
HW CI CRITICAL error: Invalid airmass mode #1690
2020-08-13 22:08:59 -04:00
rusefi
d1216b3b76
HW CI CRITICAL error: Invalid airmass mode #1690
2020-08-13 12:49:48 -04:00
Matthew Kennedy
f722ced7a9
safety
2020-08-12 22:18:56 -07:00
Matthew Kennedy
2ca5f90613
simplify fuel math
2020-08-11 20:35:10 -07:00
Matthew Kennedy
1e406509a2
fix
2020-08-10 21:53:45 -07:00
Matthew Kennedy
4ac3ded498
consume
2020-08-10 21:41:03 -07:00
Matthew Kennedy
259a541c74
add fuel computer
2020-08-10 21:40:19 -07:00
rusefi
3c94ec8133
self-stimulation RPM is wrong by 50% if switching from NA6 to NB2 configuration fix #1682
2020-08-08 17:00:14 -04:00
rusefi
ae606a6380
trigger and VSS hw integrated testing #1668
2020-08-08 12:03:24 -04:00
rusefi
64a9440bc0
trigger and VSS hw integrated testing #1668
2020-08-08 11:45:02 -04:00
rusefi
4bbb5b8762
trigger and VSS hw integrated testing #1668
2020-08-08 11:25:17 -04:00
Matthew Kennedy
f3bc1a3de7
missed a spot
2020-08-03 12:22:41 -07:00
Matthew Kennedy
cd547ceb00
no more setFuelMap
2020-08-03 12:14:11 -07:00
Matthew Kennedy
95c17a60d4
Merge remote-tracking branch 'upstream/master' into remove-table
2020-08-03 12:02:24 -07:00
rusefi
5ae82b537b
@andreika I believe this is no longer needed since all fields have TS metadata?
2020-08-02 15:34:47 -04:00
rusefi
8c471df389
Stack usage is still all over the place #1662
2020-08-02 10:52:52 -04:00
Matthew Kennedy
ec9710817c
don't use
2020-07-31 23:28:12 -07:00
Matthew Kennedy
7009c82993
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-31 14:56:29 -07:00
Matthew Kennedy
eabdd9f458
cleanup
2020-07-30 21:20:10 -07:00
rusefi
0c6c92c5bf
reducing code duplication?
2020-07-29 23:01:55 -04:00
rusefi
6b2c1d4d59
NA6 progress
2020-07-29 22:48:41 -04:00
rusefi
54f3e55d13
NA6 progress
2020-07-29 21:38:34 -04:00
rusefi
ca1dd7e835
NA6 progress
2020-07-29 15:51:01 -04:00
rusefi
278cda992c
NA6 progress
2020-07-29 14:53:36 -04:00
Matthew Kennedy
ca76bfed91
Merge remote-tracking branch 'upstream/master' into cppcheck
2020-07-29 03:01:14 -07:00
Matthew Kennedy
5b6091524b
explicit
2020-07-29 02:23:03 -07:00
Matthew Kennedy
ad12b089d5
initialization
2020-07-29 02:22:54 -07:00
Matthew Kennedy
2243b54f46
printFloatArray
2020-07-29 02:12:11 -07:00
Matthew Kennedy
dbad10a253
remove
2020-07-29 01:35:17 -07:00
Matthew Kennedy
ea487327e1
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-28 20:25:16 -07:00
Matthew Kennedy
9076e5b523
Merge remote-tracking branch 'upstream/master' into mock-airmass
2020-07-28 13:26:19 -07:00
Matthew Kennedy
2bad7ed180
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
a29de6950b
fixing
2020-07-28 12:11:56 -07:00
Matthew Kennedy
ca2559c669
fwd decl
2020-07-28 11:44:09 -07:00
Matthew Kennedy
78ca42ed66
fwd decl
2020-07-28 11:43:54 -07:00
rusefi
fb250c0309
analog temperature inputs validation for quality control
2020-07-27 22:49:59 -04:00
Matthew Kennedy
372bd05a36
didn't need that
2020-07-26 20:46:23 -07:00
Matthew Kennedy
bd31eea73a
add mock airmass mode
2020-07-26 20:33:18 -07:00
Matthew Kennedy
5f8ab63695
missed a spot
2020-07-25 02:05:33 -07:00
Matthew Kennedy
eda3fd020a
alphan
2020-07-25 01:14:35 -07:00
rusefillc
a50d382a47
Merge pull request #1635 from mck1117/extract-sd
...
Extract speed density in to an AirmassModel
2020-07-24 23:07:28 -04:00
rusefillc
07ce0ae1b2
Merge pull request #1634 from mck1117/refactor-inj
...
move injector logic in to its own file
2020-07-24 22:47:39 -04:00
Matthew Kennedy
937a3b7a0a
switch a pointer not logic
2020-07-24 19:38:48 -07:00
Matthew Kennedy
73c0582908
move speed density
2020-07-24 19:30:12 -07:00
Matthew Kennedy
d19e2b2499
refacto
2020-07-24 18:26:24 -07:00
Matthew Kennedy
fceac1b131
format
2020-07-24 11:44:54 -07:00
Matthew Kennedy
04642b4491
Merge remote-tracking branch 'upstream/master' into pull-out-maf
2020-07-24 11:35:44 -07:00
Matthew Kennedy
eb6c9021ad
enum names
2020-07-23 11:03:07 -07:00
Matthew Kennedy
5e762ad258
add new options
2020-07-23 02:51:08 -07:00
Matthew Kennedy
b1747ea48b
goodbye plain maf
2020-07-23 02:46:45 -07:00
Matthew Kennedy
5c156ebada
move impl
2020-07-23 01:23:57 -07:00
Matthew Kennedy
49ed4d40a2
base class
2020-07-23 01:12:38 -07:00
Matthew Kennedy
28d27c4990
comment headers, notes
2020-07-22 18:24:20 -07:00
Matthew Kennedy
7940b84778
start refactor
2020-07-22 13:11:07 -07:00