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
Scott Smith
19f7fa8f89
Make engine* and friends be const pointers in production. ( #3564 )
...
This allows the compiler to see through the pointer and make accesses faster.
It saves 1336 bytes of text.
2021-11-17 03:53:17 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -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
Scott Smith
e350b0b6b4
Configuration for HPFP control algorithm. ( #3475 )
2021-11-05 23:15:35 -04:00
rusefillc
b9861159a1
more curves! also names for curves
2021-11-04 23:19:44 -04:00
rusefillc
bee1eb2c6b
very old very dead code
2021-10-20 10:38:36 -04:00
rusefillc
2ae9df43e9
Remove engine load acceleration enrichment fix #3357
2021-10-16 21:33:45 -04:00
rusefillc
504bd78814
Remove engine load acceleration enrichment fix #3357
2021-10-16 21:24:05 -04:00
Matthew Kennedy
cb2ae978e5
dead mock iat/clt ( #3293 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-01 09:20:08 -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
rusefillc
d4fd06db54
Smart ECU: misfire detection #936
2021-09-06 11:10:11 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
Andrey
94fcb15506
my first Lua
2021-08-22 00:00:20 -04: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
rusefillc
79f04983eb
New hardware testing commands #2978
2021-07-17 13:42:10 -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
Andrey
5914ea6bd5
trigger signal debug pins - logic level output #2959
2021-07-15 00:34:22 -04:00
Andrey
7b6f7c9d75
making code more testable
2021-07-15 00:25:41 -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
Andrey
e34b04bd46
Nissan VVT trigger decoder #2887
2021-07-03 12:02:00 -04:00
Matthew Kennedy
b0ef8313cd
warnings ( #2862 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 20:58:38 -04:00
Andrey
78af6fd432
helping build?
2021-06-25 12:26:29 -04:00
Andrey
67796d174f
as of today we still do not have desperate time debugging "writepin" command
2021-06-21 13:03:18 -04:00
Matthew Kennedy
322f69474f
remove cranking dwell angle ( #2814 )
...
* config & impl
* settings
* engines & boards
* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Matthew Kennedy
6e1212f3ca
use setTable ( #2621 )
2021-05-04 10:03:41 -04:00
Matthew Kennedy
5f0791f9fb
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -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
992c16b4af
logging cleanup 2: sensors, pid, etb, etc ( #2567 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 20:02:32 -04:00
rusefi
02406641c6
trigger and VVT duty cycle integration into limp manager #2523
2021-04-07 16:44:21 -04:00
Matthew Kennedy
204aa33e9a
goodbye ignitionOffset ( #2503 )
...
* remove
* set the timing map to do what the offset used to do
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
Andrey G
aa05ff195d
Hip9011 and cleanups ( #2477 )
...
* hip9011: move hipCs out of EnginePins to hip9011 driver
* hip9011: cleanup debug output, save few RAM bytes
* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
Matthew Kennedy
ce3878949c
stop trigger emulator PWM when disabled ( #2443 )
...
* simplify trig emulator
* spelling is hard
* fix various builds
* spelling again
* add command/button for external stimulation
* enable hw stim for HW-in-loop test
* s
* I does spelling good
* clear flag when disabled
* generate enough for console build
* don't disable that
* this test needs external stimulation enabled
* import
* ui improvements
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
Matthew Kennedy
d7536bf059
finish off vbatt -> sensor model ( #2433 )
...
* more vbatt
* s
* goodbye voltage
* makefile
* apparently that part was in use
* include
* mocking
2021-03-07 20:18:32 -05:00
rusefi
94ea5a8ecc
M62T vanos support #2243
2021-02-10 22:20:17 -05:00
rusefillc
8fa1a6530b
M62T vanos support #2243
2021-02-08 21:50:31 -05:00
Matthew Kennedy
fad3b07b8b
Purge e34 config ( #2127 )
...
* remove
* enums
* s
* func test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy
4a95652f88
Purge fiesta config ( #2117 )
...
* config
* this had a feature flag?
* enums
* goodbye, fiesta
2020-12-22 17:22:05 -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
rusefillc
166167f805
basic hw in the loop - pwm self validation #2028
2020-12-08 05:30:12 -05:00
rusefillc
d6ea410424
basic hw in the loop - pwm self validation #2028
2020-12-08 05:07:03 -05:00
rusefillc
89548ea527
basic hw in the loop - pwm self validation #2028
2020-12-08 04:21:14 -05:00
rusefillc
12db055b7f
range check covers 'ERROR_CODE' already
2020-12-06 19:29:37 -05:00
rusefillc
ccfe980181
94
2020-11-28 22:59:55 -05:00
rusefillc
41a02a0153
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 17:48:09 -05:00
rusefi
1d497eaac4
Starter is engaged on start-up in pull-up configuration #1969
2020-11-25 19:52:22 -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
rusefillc
cf7c613ed8
GDI Epic #1448
2020-11-11 00:43:21 -05:00
rusefi
34f887d6af
v12 & dual-channel PPS
2020-11-06 15:30:11 -05:00
rusefillc
781cc3d326
[EPIC] [Feature Request] Transmission Control #1454
2020-10-28 01:23:05 -04:00
rusefillc
731341dad1
HW CI has failed 11 times since Oct 2 #1849
2020-10-03 19:45:39 -04:00
Matthew Kennedy
3374db1658
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
rusefi
79199dfd82
Output pin init/deinit needs a linked list #1803
2020-09-27 07:58:22 -04:00
rusefi
72060dd68f
VVT support for VAG trigger #883
2020-08-29 18:13:00 -04:00
rusefi
5da1af9ca7
VVT support for VAG trigger #883
2020-08-29 17:46:01 -04:00
rusefi
4322f78591
verboseVVTDecoding
2020-08-29 17:05:54 -04:00
rusefi
18b1a63dba
trying to help HW CI
2020-08-13 12:26:23 -04:00
rusefi
1c7e0e3595
A vague bug #1684
2020-08-09 00:02:58 -04:00
rusefi
1050ee12bd
A vague bug #1684
2020-08-08 23:56:42 -04:00
rusefi
529ac5b8e0
trigger and VSS hw integrated testing #1668
2020-08-08 19:39:29 -04:00
rusefi
528d03a90b
trigger and VSS hw integrated testing #1668
2020-08-08 18:28:43 -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
cd547ceb00
no more setFuelMap
2020-08-03 12:14:11 -07:00
Matthew Kennedy
9fcd700429
unused
2020-08-03 12:03:39 -07:00
Matthew Kennedy
ec9710817c
don't use
2020-07-31 23:28:12 -07:00
Matthew Kennedy
2243b54f46
printFloatArray
2020-07-29 02:12:11 -07:00
rusefi
07df0c78a8
Weird VAG: DC motor idle valve not ETB
...
#1637
Seattle we might have a problem!
2020-07-26 12:03:36 -04:00
rusefi
d9c6cdc94a
"get is_enabled_spi_3" command
2020-07-09 20:37:24 -04:00
rusefi
9dee72cf3e
progress
2020-05-21 22:33:48 -04:00
rusefi
4015c600e9
MRE pre-sets
2020-05-21 20:44:14 -04:00
rusefi
871cee3092
test fixture progress
2020-05-21 18:36:32 -04:00
Matthew Kennedy
441fe43dab
warnings ( #1462 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
kon
ae44c0fce7
Aux serial ( #1422 )
...
* aux serial updates from last PR
* trying to guess
* wow that's old! also not working maybe?
* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23
* date
* Mc33 undervolt (#1421 )
* mc33 flash check
* DI sanity checks for setting HV config
* mc33 under voltage check
* mc33 under voltage check
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
* fixed {}
Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
Matthew Kennedy
e89b7b4b11
trigger emulator refactoring ( #1358 )
...
* trigger gen refactoring
* missed one
* fix makefile
* commentary
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
Matthew Kennedy
39c84378eb
don't store self stim in config ( #1356 )
...
* kill
* add bench test
* fix
2020-04-23 22:38:14 -04:00
shadowm60
54f7ab268c
Vss over Can implementation proposal ( #1340 )
...
* Vss over Can implementation proposal
Working for BMW e46
* fixed Firmware CI?
* kinetis fix.
* minor fixes
2020-04-21 20:48:37 -04:00
rusefi
2d4faaef75
tiny progress
2020-04-19 19:58:20 -04:00
rusefi
6a4dd83982
trying to fix build
2020-04-19 18:50:45 -04:00
shadowm60
b327d1db5f
Prep TS for VSS over CAN ( #1329 )
...
TS update
Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-19 18:23:06 -04:00
Matthew Kennedy
2a97a06e64
new temperature sensor math in TS ( #1297 )
...
* switch
* new sensor printing
* typo
* and printing info
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-15 01:12:07 -04:00
rusefi
0fc66f1598
progress
2020-04-10 20:31:58 -04:00
rusefi
e673281a9d
set_cj125_cs_pin & set_cj125_heater_pin
2020-04-08 22:37:00 -04:00
rusefi
5993a6a7f0
killing nbVvtIndex
2020-04-05 11:43:45 -04:00
Matthew Kennedy
44bb09d1a4
yet more tps consumers ( #1258 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
* engine load
* ve lookup
* unused
* oops we needed that
* oops needed that too
* mocking
* test mocks
* oops
* helps to use the right sensor
* and cylinder cleanup
* fuel math
* typo
* old tests
* kill dead stuff
* cleanup
* more
* fix
* test
* s
* fix signature
* fix test
* comment
* priming pulse
* remove mock tps
* remove more dead
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -04:00
Matthew Kennedy
7e4f4ca97e
Replace hasPedalPositionSensor ( #1245 )
...
* remove
* add Sensor::hasSensor
* consume in etb
* remove unused state
* don't use it there either
* format
* fix up tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy
8235d8d765
Fully switch acc pedal to new sensors ( #1212 )
...
* proxy sensor
* header
* idle
* can
* settings
* remove old mocking
* remove old impl
* etb
* oops, gotta actually register it
* fix test
* structured bindings ftw!
* driver intent for stepper
* tear out old
* oops too much
2020-04-01 20:21:03 -04:00
rusefi
fe604f71b8
CAN progress
2020-03-31 16:49:19 -04:00
rusEfi
a3588f64fa
v12 & dual-TPS
2020-03-30 01:13:02 -04:00
Matthew Kennedy
0ac3e06149
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
61c4d0fe83
save some ram ( #1211 )
...
* remove dead stuff
* why store those pointers twice?
2020-03-22 19:06:29 -04:00
rusefi
d9690bed3a
progress towards start/stop
2020-03-18 16:32:03 -04:00
rusEfi
b866b57d23
we need tpsinfo especially when data is invalid!
2020-02-27 02:21:01 -05:00
rusEfi
040e040b4a
verboseTLE8888
2020-02-27 02:11:20 -05:00
Matthew Kennedy
a2a5b40ced
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
rusefi
e2704a4525
minor progress
2020-02-22 13:04:19 -05:00
rusEfi
ce54ae9497
TLE8888 watchdog #917
...
window watchdog progress
2020-02-10 13:24:09 -05:00