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