rusefillc
aedfc0c093
Lua aux gauge #4672
2022-10-18 15:52:32 -04:00
rusefillc
9bf4622ddc
Lua aux gauge #4672
2022-10-18 15:25:47 -04:00
rusefillc
69a503a0ee
Lua aux gauge #4672
2022-10-17 21:21:23 -04:00
rusefillc
367d2ec324
Lua aux gauge #4672
2022-10-17 20:01:46 -04:00
rusefillc
fa0b07bf20
startStopStateToggleCounter to live data
2022-10-06 18:55:29 -04:00
Andrey
3e66120aed
livedata has replaced that legacy command-line approach
2022-09-28 19:46:47 -04:00
Matthew Kennedy
91566b86d3
simulator reads/writes configuration ( #4605 )
...
* simulator reads/writes configuration
* c_str
* include order
2022-09-23 08:47:50 -04:00
rusefillc
3a55a2d89a
auxSpeed1
2022-09-20 23:00:42 -04:00
Matthew Kennedy
e737141a6f
add fuel/spark cut codes to TS indicators ( #4592 )
...
* add fuel/spark cut codes to TS indicators
* fix list
* only set clearReason if not cleared
2022-09-19 22:01:03 -04:00
rusefillc
672f0b8acc
mapFast into logs
2022-09-15 14:55:49 -04:00
Matthew Kennedy
3358cdab11
resurrect EFI_CLOCK_LOCKS ( #4572 )
...
* resurrect EFI_CLOCK_LOCKS
* missing extern
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
rusefillc
5da9012d70
moving SD logic to better source
2022-09-12 20:39:43 -04:00
Andrey G
1ca5988877
time routines refactor ( #4563 )
...
* Extract time helpers from engine_controller_misc to efitime.cpp
* Rename currentTimeMillis() to getTimeNowMs()
We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.
find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;
* Rename getTimeNowSeconds() to getTimeNowS()
To align with Nt, Us, Ms versions.
* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
Andrey
8fd5e46472
refactoring: reducing outputChannels copy
2022-09-04 22:38:05 -04:00
Andrey
f008a98b94
refactoring: reducing outputChannels copy
2022-09-03 17:12:47 -04:00
Andrey
e56924310b
tear down Engine god object #4511
...
just trying different things
2022-09-03 07:44:24 -04:00
rusefillc
54e05ba0fc
moving state into specific class ( #4520 )
...
* moving state into specific class
* moving state into specific class
2022-09-02 14:38:03 -04:00
Andrey
436c294770
refactoring: reducing outputChannels copy
2022-09-01 10:58:16 -04:00
Andrey
b64e553d5d
refactoring: reducing outputChannels copy
2022-09-01 01:06:49 -04:00
Andrey
be790e2c44
less code is better
2022-08-31 23:14:20 -04:00
Andrey G
aefea6d3ff
output channels: isFuelPumpOn vs isPumpOn, remove second one ( #4490 )
2022-08-27 14:28:33 -04:00
rusefillc
ec9a705cf6
docs
2022-08-23 22:25:08 -04:00
Matthew Kennedy
58e27505db
log missed exti events ( #4473 )
...
* log missed exti events
* units
* s
* guard
* stub for non stm32
2022-08-23 19:45:28 -04:00
rusefillc
fdde38c203
better method name
2022-08-22 18:07:59 -04:00
Matthew Kennedy
6218edd040
allow logging multiple warnings at once ( #4414 )
...
* allow logging multiple warnings at once
* comment
* .Code
* Revert ".Code"
This reverts commit 2b986bd50035aeec051d11aafd83fdbc1694351c.
* add a better comparison operator instead of conversion
* dot code
* Revert "dot code"
This reverts commit 35f6ae1007c41e3b30ea129a324f33ab4205036d.
* force gcc-10 maybe?
* Revert "force gcc-10 maybe?"
This reverts commit 4ddf8bcefddd354ccdc1da682c5fff1e68d44273.
* vq
* dot code
* dead
* dot code
* return may be null
* static_vector; maybe cyclic_buffer is broken or wrong tool for the job?
* move static vector
* put cyclic buffer back how it was since we don't use it now
2022-08-17 01:12:25 -04:00
rusefillc
cad9791b35
https://github.com/rusefi/alphax-4chan/issues/57
2022-08-11 10:54:54 -04:00
Matthew Kennedy
57263e9300
more CAN verbose ( #4402 )
...
* add stuff
* don't read invalid value
2022-08-01 15:27:06 -04:00
Matthew Kennedy
d4721bee89
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
Matthew Kennedy
4865213537
Log gppwm output values ( #4385 )
...
* remove debug option
* purpose built output channels
* name
* embiggen sd log buffer
* Revert "embiggen sd log buffer"
This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.
* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
Matthew Kennedy
efdae2322d
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
rusefillc
64a9f84872
scaling of microRusEFI ADC gauges fix #4356
2022-07-18 08:26:17 -04:00
rusefillc
d586a7dc9c
raw aux inputs gauges fix #4346
2022-07-15 06:37:30 -04:00
Matthew Kennedy
6267b8621a
big delete ICU ( #4270 )
...
* big delete
* icu vestiges
* changelog
2022-07-07 15:27:59 -04:00
rusefillc
92119af801
logging of live data structs was: data points #3614
2022-06-29 02:37:24 -04:00
Matthew Kennedy
c2f61dc95f
Remove third trigger channel ( #4226 )
...
* remove third trigger
* clean up the honda mess
* there was nothing novel about this engine config
* include
* missed a few
* s
* x
* changelog
* don't set the third trigger input
* don't redefine the same thing 3 times
* only two inputs!
* test
2022-06-01 21:24:20 -04:00
rusefillc
2649c99ea7
hard requirement for console version match #4187
2022-06-01 11:07:28 -04:00
rusefillc
0a47d3a7b9
Maintenability: frequency sensors need a simple event counter in the logs #4173
2022-05-14 08:39:08 -04:00
Matthew Kennedy
cf89b42716
move logic in to trigger decoder ( #4162 )
...
* move logic in to trigger decoder
* status loop
* minor cleanup
* s
2022-05-10 23:55:28 +03:00
Matthew Kennedy
83caf1ea1b
Brain pin is enum class ( #4108 )
...
* change most usages to Gpio::
* board configs
* engine configs etc
* isBrainPinValid, smart gpio
* generator
* generator
* generator
* connector yamls
* kinetis enums
* cypress txt
* kinetis config
* frankenso
* config generator
* actually do it for the others
* disable skips for pr ci
* fix tle8888
* misc
* weird cast from int
* needs this operator too
* this can be an unsigned subtract
* happy tests
* s
* kinetis isConfigurationChanged weirdness
* missed J/K
* cypress efifeatures
* build script mistake (!)
* mistake in smart gpio
* debounce
* eg33
* kinetis, so needy
* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy
a2e1a079b8
allow enum_class in rusefi_hw_enums.h ( #4104 )
...
* make things c++ friendly
* install various canaries in coal mines
* using is much clearer than typedef
* fixing builds
* lps25
* trigger includes were a mess
* c -> c++ cleanup
* os util
* why did so many include os_util.h?
* fwd declare
* cypress/kinetis
* s
* eg33 happy
* happy sim
* cypress usb
* pch
* cypress
* doesn't need to include all that
* h7
2022-04-25 20:38:16 -04:00
David Holdeman
918224fbc1
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
Matthew Kennedy
8650686ab7
knock threshold table fix ( #4077 )
...
* fix knock threshold table
* defaults
* knock controller is engine module
* testable
* test builds
* knock tests work
* s
* format
* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc
f9d222bce1
random progress & method rename
2022-04-16 17:35:59 -04:00
Matthew Kennedy
a7673066c3
aux linear fixes ( #4069 )
2022-04-15 07:22:52 -04:00
rusefi
2bb799af42
American
2022-04-09 17:53:24 -04:00
Matthew Kennedy
88ff526764
Gear detection implementation ( #4052 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
* output channel
* output channels etc
* implement gear detection
* name
* s
* status loop
* missing function
* ui tweaking
* s
2022-04-07 09:21:11 -04:00
Matthew Kennedy
405f7f3b43
Gear detection improvements ( #4047 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
2022-04-06 16:15:58 -04:00
Matthew Kennedy
178db1975b
don't get afr raw if no sensor exists ( #4040 )
...
* don't get afr raw if no sensor exists
* fix timing correction units
2022-04-03 17:39:29 -04:00
Matthew Kennedy
f0013f71b5
limp mangaer handles more stuff ( #3983 )
2022-03-20 09:28:17 -04:00
rusefillc
7792ccefb6
refactoring
2022-03-14 23:02:00 -04:00
Matthew Kennedy
47b4ace4cb
less dependence on that logger ( #3884 )
...
* less dependence on that logger
* comma
* refactor a bit, make it clear what this thing actually *does*
* static
* shrink the buffer a bit and make names useful
* dead util that's just subtraction lol
2022-02-09 06:53:16 -05:00
rusefillc
8880253185
LUA to read if USB is connected or not. #3891
2022-02-04 17:25:05 -05:00
rusefillc
a4cdf72734
Main relay shutdown rebase ( #3880 )
...
* aggregate
* main relay controller handles delayed shutoff
* main relay controller handles delayed shutdown
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-02 00:45:11 -05:00
Matthew Kennedy
28b6cce9d9
Remove fsio part 1 ( #3871 )
...
* dead includes
* move last logic out of fsio
* dead functions
2022-02-01 15:42:04 -05:00
Matthew Kennedy
03e8abd5e1
remove getDebugChannels ( #3850 )
2022-01-27 19:21:05 -05:00
Matthew Kennedy
5978df2855
refactor decel fuel cut ( #3830 )
...
* refactor dfco
* s
* output channel logs dfco
* slightly cheeky comment
2022-01-23 19:44:41 -05:00
Matthew Kennedy
20076e6490
Raw map and ego gauges ( #3822 )
...
* raw afr and map
* gauges
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 15:53:16 -05:00
Andrey
a8e016f162
migrating to SensorType::Rpm API
2022-01-20 22:27:48 -05:00
rusefillc
908d573e47
Gear detection based on RPM to VSS ratio #3779
2022-01-14 21:32:46 -05:00
Matthew Kennedy
78119b7df4
improve maf output channels and logging ( #3743 )
...
* maf channels
* s
* binary log
* if only I could type
* can
* instant RPM too
* s
* test
* graceful zero rpm
* test works
* float near
2022-01-12 15:41:35 -05:00
rusefillc
bb77e30f0c
logging of live data structs #3614
2022-01-11 22:54:57 -05:00
rusefillc
9b38a7d445
limp ClearReason
2022-01-08 22:13:20 -05:00
rusefillc
1707805dbf
reducing potential confusion with "NO PIN" in engine sniffer
...
https://rusefi.com/forum/viewtopic.php?p=43812#p43812
2022-01-01 12:10:55 -05:00
Matthew Kennedy
b1aa9449ec
log channel improvements ( #3710 )
...
* WB info
* fix a bunch of unsigned vs signed, move some TPS stuff too
* s
2021-12-21 18:09:40 -05:00
rusefillc
dad928a627
Second CAN #3687
2021-12-21 00:48:13 -05:00
rusefillc
700281c505
PCAN sandbox - error requestOutputChannels #3698
2021-12-18 23:26:41 -05:00
rusefillc
881fdbd573
PCAN sandbox - error requestOutputChannels #3698
2021-12-18 23:07:31 -05:00
rusefillc
d5f8abb508
clutch input via CAN #3605
2021-12-15 20:11:23 -05:00
Andrey
d2c46b3310
Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming
2021-12-07 20:18:47 -05:00
Matthew Kennedy
aa8584d89a
calculate per-cylinder ignition timing ( #3652 )
...
* simplify cylinder phasing
* per cylinder timing
* s
* s
* s
* why was there a divide by 2?
2021-12-06 21:19:37 -05:00
rusefillc
e0d5a5afac
trigger sync better gauges/logging
2021-12-06 13:08:41 -05:00
Matthew Kennedy
99367c8348
log actual tooth angle ( #3646 )
2021-12-02 19:22:33 -05:00
rusefillc
b69292540b
Engine phase wrap around in log #3645
...
hopefully actual fix
2021-12-02 17:06:20 -05:00
rusefillc
37ed110750
how many more spelling mistakes?!
2021-12-02 01:06:40 -05:00
rusefillc
36d0720066
proteus to have enlarged Lua
...
one step back
2021-11-30 22:26:36 -05:00
rusefillc
ffb35aeff7
why so many channels are hidden in debug ? #3614
2021-11-29 10:16:45 -05:00
rusefillc
a193d268c1
automation around outputs section #197
2021-11-27 18:54:57 -05:00
rusefillc
0d88de6342
automation around outputs section #197
2021-11-27 14:09:27 -05:00
rusefillc
7b73fe643c
automation around outputs section #197
2021-11-27 14:08:09 -05:00
rusefillc
7bc85f5e9c
automation around outputs section #197
2021-11-27 13:36:37 -05:00
rusefillc
547a045a14
automation around outputs section #197
2021-11-27 13:05:56 -05:00
rusefillc
00472d078c
automation around outputs section #197
2021-11-27 12:28:59 -05:00
rusefillc
b636cc3920
automation around outputs section #197
2021-11-26 21:54:31 -05:00
Matthew Kennedy
dad52dd75a
wall fuel tweaks ( #3617 )
2021-11-25 18:45:44 -05:00
rusefillc
6c23986cf0
MAP phase sensing #3544
2021-11-24 14:26:41 -05:00
Matthew Kennedy
e7417ef0c0
simulator writes binary log ( #3598 )
...
* simulator writes log
* replace the file
* check that the sim actually fails
* put it back
* did the sim really not fail?
* good, asan does catch it
2021-11-23 11:42:45 -05:00
Matthew Kennedy
c45bb2b67d
embiggen log buffer ( #3596 )
2021-11-22 16:46:18 -05:00
Matthew Kennedy
a0a1b5e6a0
delimeter is not comma ( #3533 )
...
* delimeter is not comma
* do it in config txt
* use txt
* s
* string
* compat
* also, spelling is hard
* use new name
* use new name
* generate enough for happy console
* use an even less common character
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
rusefillc
28998b70a6
automation around outputs section #197
...
refactoring
2021-11-17 23:16:15 -05:00
Scott Smith
80091498a6
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Andrey
7b790d36f6
random refactoring: trigger central encapsulation
2021-11-15 20:22:05 -05:00
Andrey
4bc9343d0b
refactoring launch
2021-11-15 20:09:03 -05:00
Matthew Kennedy
c1941f3a49
(void) -> () ( #3550 )
...
* static functions with (void)
* more
* Revert "more"
This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
rusefillc
5ddd516860
refactoring - magic constant bad
2021-11-07 00:09:17 -04:00
Matthew Kennedy
f45d365f24
log current engine phase on trigger teeth ( #3471 )
...
* log phase on trigger teeth
* ui
* guard
2021-11-05 20:02:15 -04:00
rusefi
f182c65e5b
turbo speed turbospeed input #2935
2021-11-04 19:43:22 -04:00
Matthew Kennedy
1cee83a56c
Knock retard ( #3396 )
...
* output gauge
* knock controller
* don't need that
* inject engine ref
* test knock
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-01 23:33:59 -04:00
rusefi
e3c8d47097
bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters
2021-10-28 16:51:01 -04:00
rusefi
4dd1ae7035
triggerinfo progress
2021-10-23 19:01:31 -04:00
rusefillc
bee1eb2c6b
very old very dead code
2021-10-20 10:38:36 -04:00
rusefillc
f463f6501f
more relaxed VVT debug field
2021-10-17 14:21:09 -04:00
rusefillc
504bd78814
Remove engine load acceleration enrichment fix #3357
2021-10-16 21:24:05 -04:00
rusefi
ac988225bd
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc
79fd7586e0
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
Matthew Kennedy
36d8799105
break up sensors even more ( #3318 )
2021-10-05 19:06:17 -04:00
rusefillc
3b22dc5fc8
https://github.com/rusefi/rusefi/issues/3302
2021-10-05 15:30:51 -04:00
Matthew Kennedy
34d8014202
clean up debug channels in status_loop.cpp ( #3317 )
...
* FSIO is going away eventually
* dead modes
* rx8 hmm
* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy
b84df3dda8
dead map ( #3316 )
2021-10-04 18:33:10 -04:00
Matthew Kennedy
5b9c2b6c0e
reduce updateTunerStudioState stack usage ( #3308 )
...
* break out in to functions
* 100 more saved
* happy simulator
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-03 16:24:34 -04:00
Matthew Kennedy
48da721c49
dead knock code ( #3255 )
...
* more unification
* hip stub
* comment
* guard
* channel idx
* include
* hip
* move in to engine
* hip9011
* dead stuff
* dead
* fsio
* lcd
* more dead
2021-09-21 20:40:20 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
Matthew Kennedy
e056369f05
actually remove FSIO idle stuff ( #3150 )
...
* debug mode
* pid cleanup
* more dead
* more dead
* wow more dead
* much dead many death wow
2021-08-14 09:48:45 +03:00
alxrMironov
9d1ce540c4
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108 . ( #3132 )
...
* Add new sensor type "VehicleSpeed"
* Add "Vehicle speed" sensor to name list
* Add Vehicle speed sensor initialization with function pointer sensor.
* Add init_vehicle_speed_sensor.cpp to Makefile
* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"
* Add warning and TODO to "mock vehicle speed" call
* Replace get & mock "VehicleSpeed" methods in tests
* Remove #warning directive (cause error by current settings)
* Remove stray tab
* Remove explicitly type casting.
* Add "InitVehicleSpeedSensor" function declaration to init.h
* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"
Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03:00
Matthew Kennedy
4e6b61234f
yet more pch ( #3068 )
...
* big pch energy
* put back ramdisk stub
* tests are happy
* h743 nucleo
* kinetis
* I love deleting code!
* make stepper happy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy
d3ec2b21d1
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
3fa7a52a84
fan indicators + test buttons ( #3002 )
...
* sd bits
* rusefi.input
* second fan bit
* fans
2021-07-20 23:26:06 -04:00
Matthew Kennedy
dfaac25df1
sd card indicators ( #3001 )
...
* sd bits
* rusefi.input
2021-07-20 21:29:24 -04:00
Matthew Kennedy
7d709950f7
force init LEDs even with fatal ( #2998 )
2021-07-20 17:09:52 -04:00
rusefillc
9570458aea
NB2 trigger shape does not seem to match JimStim #2980
2021-07-17 16:12:54 -04:00
Matthew Kennedy
e3849b95d5
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy
ff31301284
trailing coils ( #2937 )
...
* gpio wiring
* plumbing
2021-07-09 15:51:30 -04:00
Andrey
09fee427c4
fix vvt indication #2926
...
only field rename
2021-07-08 09:25:31 -04:00
Matthew Kennedy
717d4dd7ac
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -04:00
Matthew Kennedy
fe6f123be5
Move AC logic out of FSIO ( #2872 )
...
* new impl
* remove fsio
* inject "is ac active" to fan
* include the correct code
* include
* test
* more AC features
* AC switch vs. actual AC indicators
* include
* duh
2021-06-27 18:51:34 -04:00
Andrey G
5c552e196a
TS communication minor fixes ( #2847 )
...
* console: noone use this
* console: do not stop blinking if TS command executes too long
Set and clear flag from the same place
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey
d7789bc2a0
those and many other offsets are no longer correct
2021-06-21 02:11:36 -04:00
Matthew Kennedy
c77686ce3b
gauges for raw TPS ( #2831 )
...
* ecu part
* gauges
* debug info for ford throttle
* sensible order
2021-06-18 16:27:44 -04:00
rusefillc
68d2fdb6ce
https://rusefi.com/forum/viewtopic.php?f=16&t=2027
2021-05-27 05:50:59 -04:00
Andrey G
6d849d05c7
Hw layer rearrangement ( #2703 )
...
* max31855: move to sensors
* uart GPS driver: move to sensors and rename
* i2c_bb: move to drivers
* LCD HD44780: move to drivers
* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy
ad505bfb1b
idle indicators ( #2692 )
...
* add coasting bit
* remove useless bit
2021-05-13 17:35:00 -04:00
Matthew Kennedy
047f62b2b9
remove deprecated getEngineLoadT ( #2676 )
...
* remove
* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy
76f2f063d2
Maf in sensor model ( #2672 )
...
* init
* consumers
* hasMafSensor
* consumers
* remove
* remove
* s
* guard
* tiny bit of ram
* ram
2021-05-09 20:59:06 -04:00
Andrey G
dd46591ad5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy
d7f9d42e07
Hook up multi bank fuel trim ( #2532 )
...
* multi bank trim
* cleaning
* output channels
* output channels
2021-05-08 17:41:50 -04:00
Andrey G
2176d1656b
ADC: internalIndex should be used as getAvgAdcValue argument ( #2618 )
...
* ADC: internalIndex should be used as getAvgAdcValue argument
-plus output messages re-formated
* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
rusefillc
87e0b28cc4
https://rusefi.com/forum/viewtopic.php?f=16&t=1996
2021-04-25 09:18:35 -04:00
rusefi
7300bbe750
improving QC process
2021-04-23 00:45:36 -04:00
rusefi
6c75a3d7b4
improving QC process
2021-04-22 22:04:39 -04:00
rusefi
be0f2210c5
improving QC process
2021-04-22 21:23:20 -04:00
Matthew Kennedy
737ee444b8
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy
d7e95cd31f
improve sensor chart flush behavior ( #2545 )
...
* disable sensor chart
* type signature, guards
* we can't log the message as that confuses the parser
* dead
* this syntax was technically illegal
* more
* turn it back on
* remove config
* api
* implement
* ui
* java ui
2021-04-12 14:05:52 -04:00
Matthew Kennedy
96e655ff4e
sd buffer ( #2540 )
2021-04-11 10:15:54 -04:00
Andrey G
112b4d1182
Hip9011 ( #2512 )
...
* hip9011: coexistance with other spi devices
* hip9011: rework so SPI transfer is invoked from thread
also use polling spi exchange to avoid cache problems
* hip9011: move calculations from ADC callback to thread
* hip9011: big cleanup
* hip9011: simplify spi communication
* No need to set knockBandCustom if it is not custom
HIP9011 calculates knockBand from cylinderBore same way
* hip9011: make unit test happy
* hip9011: fix unit test
* hip9011: remove duplicated initialization, reorder
* hip9011: just renames and data type adjustments
* hip9011: rename BAND() to HIP9011_BAND()
* hip9011: move some code from lookup.cpp to logic.cpp
* hip9011: move initEngineNoiseTable to engine_configuration.cpp
* hip9011: move lookup tables to hip9011_logic.c
* hip9011: remove empty files
* hip9011: additional checks
2021-03-30 10:56:25 -04:00
Matthew Kennedy
72dac58f9b
fix multi-serial-port insanity ( #2476 )
...
* carve out UART specific
* implement channel
* config cleanup
* use new config
* bootloader
* dead code
* s
* h7 inherits f7
* oops
* ok now it's right
* tests
* cleanup
* call setup
* put that in its own file
* cleanup
* format
* guard
* not needed
* improve guarding
* portable
* allow override of uart mode
* fixes for bootloader
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
Matthew Kennedy
4e1d30f86d
plumbing for multiple vvt ( #2488 )
...
* plumb multiple vvt
* fix test
* s
* fix barra while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy
2bf833a1ee
Usable fuel consumption data/gauges ( #2474 )
...
* fuel consumption
* gauge names
* consumers
* obd
* binary logging
* doesn't need explicit constructor
* getters
* it works
* correct for injections per cycle
* datalog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy
5e6746c3aa
Implement nonlinear fuel level sender ( #2473 )
...
* table function
* config fields
* sensor type
* switch consumers
* init the sensor
* ui
* 1mv resolution
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy
925a6ca086
harden against various no-boot scenarios ( #2468 )
...
* zero length trigger
* validate config
* validate cylinder count
* wrong type on cylinder count
* invalid comment
* invalid SPI
2021-03-17 09:24:13 -04:00