rusefillc
38a7448107
2021 is the year of Hellen
2021-05-02 23:45:39 -04:00
rusefillc
ecdcf8112b
2021 is the year of Hellen
2021-05-02 19:02:30 -04:00
rusefillc
d8648f5d6c
2021 is the year of Hellen
2021-05-02 18:52:33 -04:00
GitHub build-firmware Action
625b1ba778
Auto-generated configs and docs
2021-04-30 05:39:53 +00:00
GitHub build-firmware Action
bcb71310f0
Auto-generated configs and docs
2021-04-30 05:10:36 +00:00
rusefillc
2575c8beeb
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-30 01:05:23 -04:00
rusefillc
10a6da8ac0
https://rusefi.com/forum/viewtopic.php?p=40654
2021-04-26 17:32:00 -04:00
Matthew Kennedy
c26987b96b
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
ad71016862
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
bd1c84fa62
Logging remove 3 ( #2568 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
* vvt
* more
* idle
* missed one
* dynoview
* launch
* can
* console IO
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
Matthew Kennedy
bbb6b6dd14
remove simple cases of LoggingWithStorage ( #2569 )
...
* remove simple cases
* more simple
* serial
* s
* more
* try memory
* easy
* mmc acc
* that's how much memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
rusefillc
5aca0dec1a
hellen64 scripts and pinout #2565
2021-04-18 10:42:50 -04:00
GitHub build-firmware Action
37c2495f9f
Auto-generated configs and docs
2021-04-15 05:23:00 +00:00
Matthew Kennedy
15a8dab795
gppwm zero option ( #2557 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:08:34 -04:00
Matthew Kennedy
5e2e18d2b9
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
rusefillc
20fcaafb92
https://github.com/rusefi/hellen72/issues/25
2021-04-10 23:30:36 -04:00
rusefillc
66e616c329
https://github.com/rusefi/hellen72/issues/25
2021-04-10 23:22:25 -04:00
rusefillc
2032e5fdb8
Kawasaki KX450F trigger wheel #2538
2021-04-08 22:16:14 -04:00
rusefi
3f914bf3ed
trigger and VVT duty cycle integration into limp manager #2523
2021-04-07 15:17:01 -04:00
rusefillc
2b094849c5
linking error on jenkins and Andrey's windows desktop fix #2520
2021-04-03 23:34:56 -04:00
Matthew Kennedy
1dffcf5729
make board config override actually usable ( #2508 )
...
* new function
* hellen
* MRE
* proteus
* put those function declarations in a reasonable place
* put the comment back
* weak
* move that to a reasonable place
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 14:46:50 -04:00
Andrey G
3d138958ce
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
523bef2eb6
fix ( #2511 )
2021-03-30 07:28:22 -04:00
GitHub build-firmware Action
d2df6f9675
Auto-generated configs and docs
2021-03-29 13:06:35 +00:00
Matthew Kennedy
f05b8ba675
More gppwm and fsio ( #2509 )
...
* gppwm aux temp
* fsio fuel flow rate and oil pressure
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -04:00
Matthew Kennedy
8b3aa6c40d
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
Matthew Kennedy
6491c83f73
read configuration from flash exactly once ( #2481 )
...
* early hw init
* s
* read configuration exactly once
* cleanup
* housekeeping
* test friendly
* ugh bad merge
* that is a noop
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:16:26 -04:00
Matthew Kennedy
51a5b4d6d5
rename setBoardConfigurationOverrides ( #2479 )
...
* rename
* proteus
* comments
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
GitHub build-firmware Action
2eaa6de822
Auto-generated configs and docs
2021-03-22 11:54:44 +00:00
Matthew Kennedy
5e88376e2c
barra vvt cam pattern ( #2483 )
...
* barra vvt cam pattern
* two tooth sync
* I think this needs to be here too
2021-03-22 07:48:29 -04:00
Matthew Kennedy
650d148008
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
95b08c433f
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
be70524ced
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
Matthew Kennedy
3072d54717
dead code, warnings ( #2461 )
2021-03-15 10:23:19 -04:00
GitHub build-firmware Action
ee5e73b446
Auto-generated configs and docs
2021-03-14 21:30:08 +00:00
rusefillc
72aa619353
VAG MQB
2021-03-14 17:27:26 -04:00
Matthew Kennedy
2328c1be6b
Fuel pressure sensor checks ( #2449 )
...
* test for missing sensor
* test negative pressure delta checking logic
* test new hasSensor logic
2021-03-12 23:32:41 -05:00
Matthew Kennedy
b087f328f7
default config, UI tweaks ( #2444 )
...
* s
* fix this while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
rusefillc
16b8fb64ca
vBatt -> SensorType::vBatt fix #2260
2021-03-11 23:07:18 -05:00
rusefillc
d650271077
vBatt -> SensorType::vBatt #2260
2021-03-11 22:52:34 -05:00
rusefillc
c7d8997a3a
vBatt -> SensorType::vBatt #2260
2021-03-11 22:44:59 -05:00
Matthew Kennedy
7b4ba0c836
remove lastTriggerToothEventTimeNt ( #2430 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
slowriot
881c3739a2
Add two new V8 firing orders ( #2423 )
...
* fix typos, spelling
* add two V8 firing orders
* use the available number of CPU cores, not just 4
* add new firing orders to config
* updating generated files to include new v8 firing orders
* reverting update of auto-generated files
* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
Matthew Kennedy
6aaf02be15
hook up lps25 on proteus ( #2418 )
...
* hook up lps25
* it would help to include all the files
* unguard some stuff
* unguard more
* guarding
* s
* guard
* only register if init worked
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 22:39:20 -05:00
Matthew Kennedy
5067b81fce
Compute injection duration later in the pipeline ( #2175 )
...
* injector model, test
* new math
* inject fuel based on new math
* tests
* fix
* it should work like this
* format
* update TPS AE even when we're cutting fuel
* comment
* conversion factor
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-03 07:30:56 -05:00
rusefillc
278e889f2c
aux valve to CI
2021-02-18 00:11:10 -05:00
Matthew Kennedy
39884f8934
use DECLARE_ENGINE_PTR for Engine class ( #2365 )
...
* engine cleanup
* do the cleanup
* one last spot
* expand_engine noop for firmware
* simulator
2021-02-16 16:58:54 -05:00
Matthew Kennedy
4a1d3de9a6
remove unused msg parameter ( #2360 )
...
* dead parameter
* last few
2021-02-16 09:32:16 -05:00
rusefi
6f065274e4
aux pid is now VVT
2021-02-10 12:41:38 -05:00
Matthew Kennedy
85fab40d21
get mcu temperature within port ( #2326 )
...
* remove EFI_ADC_TEMP_SENSOR
* implement
* comment
* s
* switch adc_inputs over
* header
* s
* I think aligned-on-stack should work ok
* num channels
* cache safety
* move adc init too
* don't compile that file for the h7
* cypress & kinetis
* ports
* guard against bootloader
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
rusefillc
24887adbb2
M62T vanos support #2243
2021-02-09 09:40:08 -05:00
rusefillc
56072ac889
M62T vanos support #2243
2021-02-08 22:30:02 -05:00
rusefillc
ce78123eb0
M62T vanos support #2243
2021-02-08 22:21:02 -05:00
rusefillc
081357ca5e
M62T vanos support #2243
2021-02-08 22:07:14 -05:00
rusefillc
2d99e77c95
M62T vanos support #2243
2021-02-08 21:50:31 -05:00
rusefi
0d6dfbb501
M62T vanos support #2243
2021-02-08 21:28:57 -05:00
rusefi
6b10de5616
refactoring: naming consistency
2021-02-08 18:20:53 -05:00
rusefi
c576f0a9d9
M62T vanos support #2243
2021-02-08 18:08:26 -05:00
rusefillc
1ba8e24f86
M62T vanos support #2243
2021-02-08 16:42:53 -05:00
rusefi
a349bf1ca8
M62T vanos support #2243
2021-02-08 16:16:26 -05:00
rusefillc
d2deca74bf
M62T vanos support #2243
2021-02-08 15:09:12 -05:00
GitHub build-firmware Action
d57b4b48b5
Auto-generated configs and docs
2021-02-08 19:13:25 +00:00
rusefillc
7e25202712
M62T vanos support #2243
2021-02-08 14:10:57 -05:00
Matthew Kennedy
7d3cadfc87
baro in sensor model ( #2306 )
...
* baro in sensor model
* missed
* typo
* init baro
* needs an include there
2021-02-07 17:54:41 -06:00
rusefillc
d95ba6b443
Trigger pattern request Škoda Favorit #2302
2021-02-06 20:12:58 -05:00
GitHub build-firmware Action
9a254634d0
Auto-generated configs and docs
2021-02-06 18:52:00 +00:00
Andrey G
08a5421090
Add subaru eg33 ( #2294 )
...
* engine: Subaru SVX EG33 engine configuration
Not tested yet. Just basic settings and placeholder
* board: add Dron_Gus's Subaru EG33 p'n'p board
* board: subaru eg33: linker script: stack, bss and heap to ram0
* board: subaru eg33: add mapping.yaml
* board: subaru eg33: scripts for autogenerated
* board: subaru eg33: fix DMA conflict (ADC1 vs SPI5)
* board: subaru eg33: enable ADC3
* board: subaru eg33: Autogenerated
* board: subaru eg33: disable fsio control of Main Relay
Default MAIN_RELAY_LOGIC cause error during parsing
* board: subaru eg33: configuration hack to fix usbconsole.c
* gen_config: generate config for Subaru SVX board too
2021-02-06 12:50:34 -06:00
GitHub build-firmware Action
4a6bca0a2a
Auto-generated configs and docs
2021-02-03 19:36:47 +00:00
Matthew Kennedy
9f0ebaac49
Proteus analog input ci ( #2271 )
...
* test vbatt
* test proteus vbatt
* tolerance
* these don't work on proteus
* new engine type
* test analog input
* more test points, less tolerance
* console build needs this file generated
* only include for hw ci builds
* wiring info
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
Matthew Kennedy
5ceeac93e9
put vbatt in sensor model ( #2261 )
...
* vbatt in sensor model
* sensor name
* vbatt
* s
* oy vei
* a little bit of cleanup
* memory apparently
* cj125 test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 07:55:40 -06:00
GitHub build-firmware Action
eca31a782c
Auto-generated configs and docs
2021-02-02 14:17:30 +00:00
Brenton Hewitt
9d9c3c266d
Gm map sensors ( #2265 )
...
* GM 2 and 1 Bar Map Sensors
* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
rusefillc
11f9bf16f6
GM/Daewoo 60/2/2/2 Trigger Pattern #2264
2021-02-01 23:18:11 -05:00
rusefillc
9a2cc6b3c9
GM/Daewoo 60/2/2/2 Trigger Pattern #2264
2021-02-01 22:49:49 -05:00
rusefillc
4bb9762e2e
extracting runtime state from trigger central
2021-01-31 22:41:17 -05:00
Matthew Kennedy
0e70d08a22
Add fallback map table ( #2248 )
...
* table
* sd math
* config
* debug channel name
* ptr vs not ptr
* actually use return value
* memory
* less magic
2021-01-31 17:19:06 -05:00
rusefillc
6ffddb8e3a
#2260
2021-01-31 13:30:14 -05:00
rusefillc
5e50b542a8
typo
2021-01-31 12:27:26 -05:00
Matthew Kennedy
e0b2802a43
Map fallback logic, TS cleanup ( #2247 )
...
* add new field
* UI
* set default
* consume new parameter
* some cleanup while we're at it
2021-01-27 20:31:29 -05:00
Matthew Kennedy
bed6819d8b
normalize configuration grammar ( #2240 )
...
* modify grammar
* add missing typedefs
* these typedefs are easier to handle in the parser
* make the existing parser work with the changed format
* grumble grumble jar
* we can deal with this part later
* handle later
* deal with this later
2021-01-26 21:56:47 -05:00
rusefillc
1ed7d16d50
knock-knock
2021-01-23 00:00:34 -05:00
rusefillc
6bc882f30a
Hellen72
2021-01-22 02:02:16 -05:00
rusefillc
edd89c34f9
HELLEN_NB2
2021-01-22 01:47:01 -05:00
Matthew Kennedy
fa30efbc94
boost fixes ( #2230 )
...
* fix boost pin reinit
* call boost from periodic slow
* ui
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-18 07:04:14 -05:00
Matthew Kennedy
60f70a3721
clean up some includes ( #2227 )
...
* cleanup
* make c happy
2021-01-16 09:45:45 -05:00
Matthew Kennedy
bdacda558c
fix instant rpm ( #2180 )
...
* consumers
* impl
* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
Matthew Kennedy
2e557dbcf6
make fuel math look more like ign math ( #2214 )
2021-01-14 19:18:30 -05:00
Matthew Kennedy
a5266cd6ef
part of 2217 which may fix it alone ( #2220 )
2021-01-11 08:01:54 -05:00
Matthew Kennedy
868f0d47ac
Enable idle timing/ve tables based on idle phase logic ( #2213 )
...
* add helper
* advance
* ve
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 00:54:37 -05:00
rusefillc
4416d1c7dc
cmd_test_main_relay
2021-01-10 23:46:50 -05:00
Matthew Kennedy
571122d461
Start support for multi-bank closed loop fueling ( #2184 )
...
* cfg
* cell
* N banks
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -05:00
GitHub build-firmware Action
4500e1dc71
Auto-generated configs and docs
2021-01-09 19:15:01 +00:00
David Holdeman
52e88ade01
Add TCU Solenoid debug fields ( #2202 )
...
* try adding debug fields
* oops
* include
* add labels
* add enum
* add more solenoid
* whoops
* ifdef
2021-01-09 14:12:45 -05:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
andreika-git
11c358f65c
Hellen72 config ( #2200 )
...
* Hellen72 config
* Hellen72 files
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy
7a90692187
Idle timing uses phase logic, remove falloff ( #2169 )
...
* use phase computation
* move & simplify implementation
* test
* bad merge
* initialize
* wonderful changelog
* now unused parameter
* put back deadzone
* ui
* test deadzone
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
Andrey G
f96ae7525f
Gpio cleanup #2 ( #1530 )
...
* pin repository: PIN_USED size in now equal to brain_pin_e enum size
expect special values...
* smart gpios: register gpio chip to given base (no auto-allocation)
* drivers: gpio: core: add gpiochip_unregister()
* drivers: gpio: MC33810 intergation
* smart_gpio.cpp: cleanup ifdef mess, minor cleanups
* gpio: core: additional check for gpio ranges overlaps
* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
Matthew Kennedy
eabb5c7366
flex fuel AFR interpolation ( #2190 )
...
* config
* implement flex
* secondary fuel default
* test
* test works
* rename
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Andrey G
b92e3086d0
Adc isAdcChannelValid helper ( #2188 )
...
* Guard define argument
* ADC: isAdcChannelValid
Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)
* Fix unit tests
2021-01-05 16:02:20 -05:00
rusefillc
15665484e5
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-03 13:52:53 -05:00
Matthew Kennedy
92ea09b0a6
switch more map to read from sensor model ( #2162 )
...
* hook up map
* check for init
* switch some consumers
* that's the rest of them
* test
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
rusefillc
d213c01ca5
questionable progress
2021-01-02 16:51:14 -05:00
GitHub build-firmware Action
8a0fa161ac
Auto-generated configs and docs
2021-01-01 06:12:01 +00:00
rusefillc
9587b7bb54
hellen
2021-01-01 01:10:28 -05:00
GitHub build-firmware Action
10c0553038
Auto-generated configs and docs
2020-12-31 17:41:53 +00:00
rusefillc
46583b2a19
Revert "Idle timing PID uses phase logic ( #2156 )"
...
This reverts commit 9634a803
2020-12-31 12:22:54 -05:00
shadowm60
d49fc7fc71
Haltech as dash option ( #2165 )
...
* Haltech as dash option
* Update build-firmware.yaml
added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00
Matthew Kennedy
acdf6fdc85
Put map in the sensor model ( #2161 )
...
* hook up map
* check for init
* switch some consumers
* don't do limp for now
* oops
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy
9634a803f1
Idle timing PID uses phase logic ( #2156 )
...
* use phase computation
* move & simplify implementation
* test
* bad merge
* initialize
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 23:50:56 -05:00
rusefillc
f28f1e0f90
fine-grained check modes
2020-12-27 17:41:28 -05:00
Matthew Kennedy
898b7a82e0
move swtiches out of idle ( #2148 )
2020-12-26 21:31:41 -05:00
Matthew Kennedy
ff4ce2fb1f
create limp manager ( #2142 )
...
* move rev limit to limp manager
* call fatal error
* include order
* fix bug
* tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:30:46 -05:00
rusefillc
1ebce57721
proteusBoardTest
2020-12-26 10:41:33 -05:00
Matthew Kennedy
3d13d03424
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
55ebe223a7
Partition configs by board type ( #2106 )
...
* remove old flag
* flags
* reorder switch
* oops
2020-12-22 21:54:40 -05:00
Matthew Kennedy
ba9de3a604
Purge fiesta config ( #2117 )
...
* config
* this had a feature flag?
* enums
* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc
2d2225bfdb
PROTEUS_QC_TEST_BOARD
2020-12-22 10:13:27 -05:00
Matthew Kennedy
8737ba62c2
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
f29ca22b99
fix ( #2109 )
2020-12-20 19:31:14 -05:00
Matthew Kennedy
6168bcea80
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
50e9dd6da7
generate java enum from C enum #2102
...
one step back
2020-12-18 14:21:08 -05:00
rusefillc
71ba1c529c
generate java enum from C enum #2102
2020-12-18 13:33:01 -05:00
rusefillc
55b4e82615
naming consistency
2020-12-18 09:01:18 -05:00
Matthew Kennedy
aeea50ada2
move target computation ( #2091 )
2020-12-17 17:46:51 -05:00
Matthew Kennedy
1838beadfa
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
26fbf0527a
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:53:26 -05:00
rusefillc
a47129693a
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
6151f8c334
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
0899102b05
returning AT validation into QC
2020-12-15 15:43:36 -05:00
rusefillc
bd279edd8e
pnp progress
2020-12-15 00:09:35 -05:00
shadowm60
9d36bab793
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
951676e111
Merge remote-tracking branch 'origin/master' into master
2020-12-13 17:49:36 -05:00
rusefillc
49ee4ad78e
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
4ef5bf3d34
Auto-generated configs and docs
2020-12-13 22:48:42 +00:00
rusefillc
314e9ef580
TT_SUBARU_7_WITHOUT_6
2020-12-13 17:46:48 -05:00
GitHub build-firmware Action
48e26ec0a3
Auto-generated configs and docs
2020-12-13 21:23:35 +00:00
rusefi
38bcd63e13
maybe this would just work?
2020-12-13 16:22:02 -05:00
rusefi
7f65e95a65
subi
2020-12-13 11:39:10 -05:00
rusefillc
f2bb2ce0c6
MRE issue with tle8888 - GP3 does not work? #2065
2020-12-13 11:29:19 -05:00
rusefillc
b41ca74386
clang warnings again #2055
2020-12-11 12:50:10 -05:00
rusefillc
9b4a1fff7b
clang warnings again #2055
2020-12-11 10:33:00 -05:00
Matthew Kennedy
f2426677db
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
ea8e09ba13
fix warnings found by clang #2014
2020-12-08 13:59:40 -05:00
Matthew Kennedy
67269aa637
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
debec1107e
subi
2020-12-06 18:08:55 -05:00
rusefillc
9f13d39003
MRE_SUBARU_EJ18
2020-12-06 14:16:40 -05:00
rusefillc
166f4fc381
MRE_SUBARU_EJ18
2020-12-06 13:08:09 -05:00
rusefillc
75ffe1f38e
making console happier
2020-12-05 21:56:39 -05:00
rusefillc
e5ef8de2ae
unit tests in clang #2012
2020-12-04 23:59:21 -05:00
shadowm60
864bd7fa73
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
db5e30edf5
all triggers should be documented way nicer #2001
2020-12-04 11:44:27 -05:00
rusefillc
0a23e82baf
6.1 Hemi V8 decoder #2010
2020-12-04 00:30:22 -05:00
rusefillc
4c3eae5676
FORD ST170 CAM TRIGGER PATTERN fix #2009
2020-12-03 23:54:08 -05:00
GitHub build-firmware Action
0b2e8755ee
Auto-generated configs and docs
2020-12-04 02:59:40 +00:00
rusefillc
c413f03359
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:58:03 -05:00
GitHub build-firmware Action
77914fb702
Auto-generated configs and docs
2020-12-04 02:33:46 +00:00
rusefillc
c55120372b
DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008
2020-12-03 21:31:58 -05:00
rusefillc
662eaea384
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
82c30dadf8
Auto-generated configs and docs
2020-12-03 15:51:02 +00:00
rusefillc
745038c4a7
more dead code
2020-12-03 10:49:20 -05:00
GitHub build-firmware Action
b2e26a2e2b
Auto-generated configs and docs
2020-12-03 06:38:53 +00:00
rusefillc
dd9e431782
dead code matches Mazda SOHC
2020-12-03 01:36:43 -05:00
GitHub build-firmware Action
b5b9554903
Auto-generated configs and docs
2020-12-03 06:25:01 +00:00
rusefillc
a2036ebc70
dead trigger, this would now be vvt+60/2
2020-12-03 01:22:57 -05:00
rusefillc
7855847a3f
all triggers should be documented way nicer #2001
2020-12-03 01:02:17 -05:00
rusefillc
479fcf0174
all triggers should be documented way nicer #2001
2020-12-03 00:19:18 -05:00
rusefillc
c36f76b68e
Fuel pump should turn on at the first sign of engine rotation #1961
2020-12-02 23:09:39 -05:00
rusefillc
b662b977fa
all triggers should be documented way nicer #2001
2020-12-02 20:51:33 -05:00
shadowm60
6fb745d29c
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
d48367d565
timer ( #1994 )
2020-11-30 19:35:06 -05:00
GitHub build-firmware Action
8e1674956d
Auto-generated configs and docs
2020-11-29 03:51:15 +00:00
rusefillc
b982d02298
miata 94
2020-11-28 22:49:28 -05:00
rusefi
89eaae8234
LM_ALPHA_N_2 rename
2020-11-27 15:44:31 -05:00
rusefillc
0840b91f7f
dead engine config
...
one step back
2020-11-26 21:21:25 -05:00
rusefillc
334f0a5a8a
dead engine config
2020-11-26 21:07:34 -05:00
rusefillc
55b763f62e
dead engine config
2020-11-26 20:26:12 -05:00
rusefillc
641959b9a3
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 17:48:09 -05:00
rusefi
0d441be869
better default value
2020-11-25 17:02:28 -05:00
Andrey G
a285ba6743
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
7c793834ef
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
ee51da64ad
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
f3b7a1d9da
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
47fbb92bff
Starter seems to be engaged forever fix #1965
2020-11-18 23:54:30 -05:00
rusefillc
c70c546d46
better error handling
2020-11-17 22:45:43 -05:00
rusefillc
07e25ccf3c
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
0e3673e78c
remove idle thread; just call from periodicSlowCallback ( #1924 )
...
* remove thread
* remove ui
2020-11-11 21:47:19 -05:00
GitHub build-firmware Action
d6687a68e9
Auto-generated configs and docs
2020-11-11 04:13:06 +00:00
Matthew Kennedy
02c4d630f6
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
59a000e7d5
miata TCU
2020-11-04 12:48:07 -05:00
Matthew Kennedy
3241a43a2d
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
cf3dc9c2c3
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
Andrey G
63c25ab8a7
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
2b7e33404f
wall wetting default
2020-10-31 19:28:27 -04:00
Matthew Kennedy
15d5c872c2
log afr in addition to lambda ( #1920 )
...
* log afr
* log it
* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy
3e30865e6c
unused tach field ( #1918 )
2020-10-29 15:26:01 -04:00
rusefillc
3635bac90a
[EPIC] [Feature Request] Transmission Control #1454
2020-10-28 01:23:05 -04:00
GitHub build-firmware Action
8d0c537533
Auto-generated configs and docs
2020-10-28 05:06:20 +00:00
rusefillc
b4e3927a92
TCU
2020-10-28 01:01:30 -04:00
Matthew Kennedy
09b41bb1bb
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
5e06db6b75
probably fix ci ( #1912 )
2020-10-26 14:04:22 -04:00
Matthew Kennedy
a90792fa44
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
f37ed597c5
fix double deadtime ( #1904 )
...
* move global correction factor to fuel mass
* tests
* the fix
2020-10-25 00:12:05 -04:00
Matthew Kennedy
10c1ad7698
use fuel model ( #1901 )
...
* use fuel model
* spit'n'polish
2020-10-23 20:25:47 -04:00
GitHub build-firmware Action
27207dde9c
Auto-generated configs and docs
2020-10-23 19:48:01 +00:00
Matthew Kennedy
d84cd385ce
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
8e11675afd
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
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
rusefi
a7a475a1df
B6
2020-10-23 00:39:22 -04:00
GitHub build-firmware Action
3f9dd26478
Auto-generated configs and docs
2020-10-22 02:51:46 +00:00
Matthew Kennedy
6605877326
gppwm debug ( #1895 )
...
* dbg gppwm
* fix channel
* TS guard
2020-10-21 22:49:38 -04:00
rusefi
e0a5c3dc12
GDI Epic #1448
2020-10-19 22:04:06 -04:00
Matthew Kennedy
ee5d0bf07b
remove ( #1887 )
2020-10-18 20:49:42 -04:00
rusefillc
b24f173892
refactoring: better method name
2020-10-17 18:45:08 -04:00
GitHub build-firmware Action
906675166e
Auto-generated configs and docs
2020-10-15 02:42:20 +00:00
Matthew Kennedy
568ec91fc0
fix temp sensor & validate it ( #1879 )
...
* fix temp sensor & validate
* smaller here should work
2020-10-14 22:39:16 -04:00
rusefi
12a720dde2
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
b77c4ab55a
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
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
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
5f15b8e48b
tachPulsePerRev needs a safer default, MRE config needs a value
2020-10-06 00:56:49 -04:00
Matthew Kennedy
c9fdde4472
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
5925a5f4bd
const ref-ify trigger ( #1856 )
...
* const ref-ify
* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy
3aa4f2bd97
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
c9d3d1f01a
60/2 perf grab #1850
2020-10-04 01:04:15 -04:00
GitHub build-firmware Action
2c0db8e970
Auto-generated configs and docs
2020-10-03 14:42:14 +00:00
rusefillc
e5b8e0e515
new VVT trigger shape? #1847
2020-10-03 10:39:43 -04:00
Matthew Kennedy
c8b4fac456
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
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
GitHub build-firmware Action
fb2fa9aa62
Auto-generated configs and docs
2020-09-29 01:20:53 +00:00
rusefi
23e0851101
adding 1+16 trigger
2020-09-28 21:18:47 -04:00
rusefi
c2efe95ee0
refactoring: magic constants
2020-09-28 21:11:04 -04:00
GitHub build-firmware Action
589acfc7db
Auto-generated configs and docs
2020-09-28 20:34:48 +00: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
shadowm60
8d8e8ec260
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
2d771018e8
unit test for start/stop hardware and pin repository #1811
2020-09-21 12:29:01 -04:00
rusefi
c957541cf4
ADC progress
2020-09-21 06:10:25 -04:00
rusefi
e69167c8f0
Revert "reorder ADC channel index #1763"
...
This reverts commit 67bc72eb
2020-09-20 14:04:24 -04:00
rusefi
67bc72ebd3
reorder ADC channel index #1763
...
we forgot about something
2020-09-20 13:59:54 -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
rusefi
5515dc1abe
better QC procedure
2020-09-19 16:07:09 -04:00
rusefi
b91a656a51
docs
2020-09-19 04:38:59 -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
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
rusefi
9903b0a1c5
Hellen says merge #1772 Kinetis needs more help
2020-09-10 22:02:02 -04:00
rusefi
370c107793
Hellen says merge #1772 progress
2020-09-10 21:26:21 -04:00
rusefi
ec366b68ee
Hellen says merge #1772 main relay progress
2020-09-10 21:11:02 -04:00
Matthew Kennedy
f6cbce48ed
minor TS changes ( #1778 )
...
* minor
* fiix
2020-09-09 16:27:13 -04:00
David Holdeman
f5d9263ad1
switch start/stop to ButtonDebounce ( #1777 )
2020-09-09 08:22:15 +01:00
Matthew Kennedy
6d1acb40f8
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
9bea1190a4
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
be0bbf3dc8
Hellen says merge #1772 misc #2
2020-09-07 15:53:26 -04:00
rusefi
1cb2e69289
Hellen says merge #1772 import idle
...
(cherry picked from commit a6aa2e9997
)
2020-09-07 15:11:50 -04:00
rusefi
a6aa2e9997
Hellen says merge #1772 import idle
2020-09-07 15:08:54 -04:00
rusefi
f33b3eda8a
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
6a3d212370
Hellen says merge #1772
...
Hellen says stepper
(cherry picked from commit a2f26ac99b
)
2020-09-07 14:45:41 -04:00
rusefi
a2f26ac99b
Hellen says merge #1772
...
Hellen says stepper
2020-09-07 14:41:04 -04:00
GitHub build-firmware Action
903e8d4d69
Auto-generated configs and docs
2020-09-07 14:17:40 +00: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
rusefi
c0b0622773
microRusEFI used as Body Control Module BCM BCU
2020-09-06 19:43:54 -04:00
Matthew Kennedy
6e7d72170f
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
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
Matthew Kennedy
95798a5246
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
ca21d5b4c2
refactoring
2020-09-03 19:29:15 -04:00
David Holdeman
b8838de309
[TCU] Button Shifting ( #1750 )
...
* add buttonshift files
* buttonshift includes, targets, and init
2020-09-02 20:17:58 -04:00
David Holdeman
499a430347
[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
faea28e521
OBD-II default rate is 500kbps
2020-09-01 22:24:25 -04:00
Matthew Kennedy
5fec6d0c04
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
988d9b138c
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
5fc1b6902c
fix #1740 the right way ( #1741 )
...
* fix
* put that back
2020-08-31 21:05:04 -04:00
rusefi
5058ffa9cc
Default Biquad settings broke MRE QC configuration #1740
2020-08-31 13:07:49 -04:00
rusefi
47b980d4b9
Default Biquad settings broke MRE QC configuration #1740
2020-08-31 12:36:28 -04:00
rusefi
5f125f3db0
this does not go as planned :(
2020-08-31 07:45:52 -04:00
rusefi
86438eab98
HW_CHECK_MODE is not well?
2020-08-31 06:43:47 -04:00
rusefi
f3e7a1271b
VVT support for VAG trigger #883
2020-08-29 17:46:01 -04:00
rusefi
16d16f9634
TriggerConfiguration getPrintPrefix
2020-08-29 17:25:42 -04:00
rusefi
613faa90cd
verboseVVTDecoding
2020-08-29 17:05:54 -04:00
rusefi
b66ec2d9a5
presets
2020-08-29 16:49:56 -04:00
rusefi
8d0555e205
reducing autotest mess
2020-08-29 15:41:09 -04:00
rusefi
6f6eb0f561
BCM
2020-08-29 14:29:34 -04:00
rusefi
5e5cb81898
Merge remote-tracking branch 'origin/master'
2020-08-29 12:52:26 -04:00
rusefi
7a3b6387b5
BCM
2020-08-29 10:06:14 -04:00
GitHub build-firmware Action
136fe30c91
Auto-generated configs and docs
2020-08-29 13:42:30 +00:00
rusefi
56a06838e3
BCM
2020-08-29 09:41:02 -04:00
GitHub build-firmware Action
52e3cb225c
Auto-generated configs and docs
2020-08-27 04:44:53 +00:00
rusefi
77027ec981
VVT support for VAG trigger #883
2020-08-27 00:43:23 -04:00
rusefi
2b77901e53
VVT support for VAG trigger #883
2020-08-27 00:06:10 -04:00
rusefi
10a6661fa5
VVT support for VAG trigger #883
2020-08-26 23:35:11 -04:00
rusefi
70cdbc51b7
VVT support for VAG trigger #883
2020-08-26 13:30:55 -04:00
GitHub build-firmware Action
c9ad86ad06
Auto-generated configs and docs
2020-08-25 22:59:48 +00:00
rusefi
416c9e09f4
Merge remote-tracking branch 'origin/master'
2020-08-25 16:26:22 -04:00
rusefi
2ddf6ad717
VVT support for VAG trigger #883
2020-08-25 16:19:23 -04:00
GitHub build-firmware Action
308f4d31a5
Auto-generated configs and docs
2020-08-25 20:01:04 +00:00
rusefi
639e5be4d9
another attempt at dead code
2020-08-25 15:58:56 -04:00
rusefi
f225e63544
Revert "removing a bit of dead code?"
...
This reverts commit b5ab6930
2020-08-25 15:50:50 -04:00
rusefi
b5ab693083
removing a bit of dead code?
2020-08-25 15:19:37 -04:00
rusefi
ce01c1bfaa
VVT support for VAG trigger #883
2020-08-25 13:14:46 -04:00
rusefi
c7b73446e2
VVT support for VAG trigger #883
2020-08-25 12:45:25 -04:00
GitHub build-firmware Action
b55fbc2ced
Auto-generated configs and docs
2020-08-25 05:40:39 +00:00
rusefi
bfd5fb88d5
oh, here it is
2020-08-25 01:38:56 -04:00
GitHub build-firmware Action
7716bfbaf1
Auto-generated configs and docs
2020-08-25 05:26:05 +00:00
rusefi
b5098eb331
VVT support for VAG trigger #883
2020-08-25 01:24:15 -04:00
rusefi
540eef5e0d
VVT support for VAG trigger #883
2020-08-25 00:59:07 -04:00
rusefi
7867e83e43
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
rusefi
95bd50da94
VVT support for VAG trigger #883
2020-08-24 01:21:42 -04:00
Matthew Kennedy
c53979a017
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
184dee68e8
don't call tach from trigger, call from periodic fast ( #1704 )
...
* tacho
* fix tests
2020-08-21 15:36:43 -04:00
rusefi
553820ecc8
gimme my preset!
2020-08-19 20:40:10 -04:00
Matthew Kennedy
33a2354e44
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
5929164fb3
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
86ad274cee
HW CI CRITICAL error: Invalid airmass mode #1690
2020-08-13 22:08:59 -04:00
rusefi
2bd7d094be
HW CI CRITICAL error: Invalid airmass mode #1690
2020-08-13 12:49:48 -04:00
Matthew Kennedy
adbd41f2bd
safety
2020-08-12 22:18:56 -07:00
Matthew Kennedy
405f12758c
simplify fuel math
2020-08-11 20:35:10 -07:00
Matthew Kennedy
3c72fa93e4
fix
2020-08-10 21:53:45 -07:00
Matthew Kennedy
1f64754b57
consume
2020-08-10 21:41:03 -07:00
Matthew Kennedy
1d0a244fa4
add fuel computer
2020-08-10 21:40:19 -07:00
rusefi
e936c2742c
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
33d31d16f7
trigger and VSS hw integrated testing #1668
2020-08-08 12:03:24 -04:00
rusefi
5925ca5125
trigger and VSS hw integrated testing #1668
2020-08-08 11:45:02 -04:00
rusefi
1238dfb837
trigger and VSS hw integrated testing #1668
2020-08-08 11:25:17 -04:00
Matthew Kennedy
80663b25a9
missed a spot
2020-08-03 12:22:41 -07:00
Matthew Kennedy
51804a4eb9
no more setFuelMap
2020-08-03 12:14:11 -07:00
Matthew Kennedy
ff34bc878d
Merge remote-tracking branch 'upstream/master' into remove-table
2020-08-03 12:02:24 -07:00
rusefi
2c653ad333
@andreika I believe this is no longer needed since all fields have TS metadata?
2020-08-02 15:34:47 -04:00
rusefi
4280e3327f
Stack usage is still all over the place #1662
2020-08-02 10:52:52 -04:00
Matthew Kennedy
e56fd5fe0d
don't use
2020-07-31 23:28:12 -07:00
Matthew Kennedy
978fa20916
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-31 14:56:29 -07:00
Matthew Kennedy
132ee12974
cleanup
2020-07-30 21:20:10 -07:00
rusefi
1703152427
reducing code duplication?
2020-07-29 23:01:55 -04:00
rusefi
196337a8de
NA6 progress
2020-07-29 22:48:41 -04:00
rusefi
cf4bfa8d91
NA6 progress
2020-07-29 21:38:34 -04:00
rusefi
c7590aa8a4
NA6 progress
2020-07-29 15:51:01 -04:00
rusefi
a7df277fca
NA6 progress
2020-07-29 14:53:36 -04:00
Matthew Kennedy
aada527ee9
Merge remote-tracking branch 'upstream/master' into cppcheck
2020-07-29 03:01:14 -07:00
Matthew Kennedy
ecbec68a52
explicit
2020-07-29 02:23:03 -07:00
Matthew Kennedy
7a85161a4a
initialization
2020-07-29 02:22:54 -07:00
Matthew Kennedy
dd9c9e7a81
printFloatArray
2020-07-29 02:12:11 -07:00
Matthew Kennedy
ba7c47dd3c
remove
2020-07-29 01:35:17 -07:00
Matthew Kennedy
08be750098
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-28 20:25:16 -07:00
Matthew Kennedy
281c636bef
Merge remote-tracking branch 'upstream/master' into mock-airmass
2020-07-28 13:26:19 -07:00
Matthew Kennedy
5b99fdf3df
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
53b864bdda
fixing
2020-07-28 12:11:56 -07:00
Matthew Kennedy
c2bd9087e2
fwd decl
2020-07-28 11:44:09 -07:00
Matthew Kennedy
a2aac60a76
fwd decl
2020-07-28 11:43:54 -07:00
rusefi
a4155bc554
analog temperature inputs validation for quality control
2020-07-27 22:49:59 -04:00
Matthew Kennedy
3071ee4334
didn't need that
2020-07-26 20:46:23 -07:00
Matthew Kennedy
e5133de70f
add mock airmass mode
2020-07-26 20:33:18 -07:00
Matthew Kennedy
927f365647
missed a spot
2020-07-25 02:05:33 -07:00
Matthew Kennedy
8f27fc8b53
alphan
2020-07-25 01:14:35 -07:00
rusefillc
977a0d2ea4
Merge pull request #1635 from mck1117/extract-sd
...
Extract speed density in to an AirmassModel
2020-07-24 23:07:28 -04:00
rusefillc
34df0862b6
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
0e39c094c7
switch a pointer not logic
2020-07-24 19:38:48 -07:00
Matthew Kennedy
b26bd6d891
move speed density
2020-07-24 19:30:12 -07:00
Matthew Kennedy
626f55a08a
refacto
2020-07-24 18:26:24 -07:00
Matthew Kennedy
957f63ccf3
format
2020-07-24 11:44:54 -07:00
Matthew Kennedy
c7e8c4d26a
Merge remote-tracking branch 'upstream/master' into pull-out-maf
2020-07-24 11:35:44 -07:00
Matthew Kennedy
9d4f10df05
enum names
2020-07-23 11:03:07 -07:00
Matthew Kennedy
5e681cac1a
add new options
2020-07-23 02:51:08 -07:00
Matthew Kennedy
67e4fcb2a2
goodbye plain maf
2020-07-23 02:46:45 -07:00
Matthew Kennedy
7e88011de5
move impl
2020-07-23 01:23:57 -07:00
Matthew Kennedy
8bc18db80f
base class
2020-07-23 01:12:38 -07:00
Matthew Kennedy
b544c140a3
comment headers, notes
2020-07-22 18:24:20 -07:00
Matthew Kennedy
5e7ddc9f24
start refactor
2020-07-22 13:11:07 -07:00
Matthew Kennedy
3f293e573c
cleanup
2020-07-21 14:13:29 -07:00
Matthew Kennedy
47bd4e54b0
fix for test
2020-07-21 11:54:32 -07:00
Matthew Kennedy
50873aae4c
we want fuelingload there
2020-07-21 00:10:05 -07:00
Matthew Kennedy
0aa42762d9
remove
2020-07-21 00:08:41 -07:00
Matthew Kennedy
a3b29f9011
use ign load for ign
2020-07-20 23:11:48 -07:00
Matthew Kennedy
8b0d6a26cf
Merge remote-tracking branch 'upstream/master' into reset-overlap
2020-07-20 13:27:51 -07:00
rusefillc
d85e98d1f7
Merge pull request #1622 from mck1117/encapsulate-wwae
...
put wall wetting inside InjectionEvent
2020-07-20 14:19:57 -04:00
Matthew Kennedy
9c736a2c3d
test
2020-07-20 03:29:43 -07:00
Matthew Kennedy
46b7567195
put wall wetting inside
2020-07-20 00:04:05 -07:00
Matthew Kennedy
b3261f25f3
add reset
2020-07-14 23:54:41 -07:00
Matthew Kennedy
1509498cd9
dedupe mode logic ( #1596 )
2020-07-11 08:05:35 -04:00
rusefi
29e3c71df4
https://rusefi.com/forum/viewtopic.php?p=37401#p37401
2020-07-10 14:19:51 -04:00
Matthew Kennedy
26478ec394
Switch fueling to new axes ( #1574 )
...
* switch tables
* missed one
2020-07-05 18:14:55 -04:00
Matthew Kennedy
2b8b43ca55
plumb new load channels ( #1573 )
...
* wire up new channels
* add deprecation comment
* add gauges
* these tables are indeed used in those modes
* simplify
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi
42541da76c
more on wipeString
2020-07-05 14:09:43 -04:00
rusefi
9f3106db39
refactoring
2020-07-05 13:34:51 -04:00
rusefi
015293ee43
wipe strings in configuration images
2020-07-05 11:16:07 -04:00
rusefi
c0bb907aa3
idle_min through FSIO not working as intended #1553
...
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
rusefi
33eb2eab62
idle_min through FSIO not working as intended #1553
...
making logging less confusing
2020-07-01 16:37:25 -04:00
rusefi
d275677b1c
MRE defaults command
2020-06-30 21:29:47 -04:00
Matthew Kennedy
cddb469678
support 1-3-2 firing order ( #1537 )
...
* support 1-3-2
* oops
* correct TS
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-26 09:07:43 -04:00
rusefi
3be3a6635e
reducing confusion
2020-06-21 22:12:06 -04:00
rusefi
dec8aafa38
BUG? handleCrc32Check does not use 'offset' parameter #1429
2020-06-19 00:17:05 -04:00
rusefi
7d8384d7fa
1 byte issue in TuneReadWriteTest fix #1512
2020-06-18 23:29:08 -04:00
Matthew Kennedy
c8fb6993ac
simplify cranking corrections ( #1510 )
2020-06-18 08:54:02 -04:00
Matthew Kennedy
a34201d1d1
fuel math simplifications ( #1485 )
...
* simplify
* fix
* tweak
* cleaning
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-17 17:15:04 -04:00
rusefi
308f82c4b3
fixing stuff?
2020-06-14 18:06:33 -04:00
rusefi
9a6dc8d101
manual gen
2020-06-14 17:01:05 -04:00
kon
03f4efa0b2
BMW E90 Kombi ( #1494 )
...
* second can bus, first steps
* added most important messages; no more errors
* cleaned up can messages
* second can bus, first steps
* added most important messages; no more errors
* cleaned up can messages
* post rebase/merge fixes
* more rebase/merge fixes
* even more rebase/merge fixes
* more fixes, removed auto-gen files
* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
rusefi
fc5dd7d0c3
a few unneeded properties
2020-06-13 22:46:10 -04:00
rusefi
1a645bda1a
unused parameter
2020-06-13 22:30:43 -04:00
Matthew Kennedy
76745412c6
Factor out airmass logic ( #1483 )
...
* refactor
* extract more airmass
* rename, fix tests
2020-06-06 07:25:19 -04:00
rusefi
8e3ea302d0
better solution
2020-06-05 00:43:05 -04:00
rusefi
d1a30f362c
tuneCrc16 - we use it to match logs to tunes
2020-06-04 20:43:52 -04:00
Matthew Kennedy
2bdd8128db
refactor ( #1481 )
2020-06-03 21:12:12 -04:00
rusefi
0b5bb7c0cf
useFSIO6ForRevLimiter
2020-06-01 09:09:55 -04:00
Matthew Kennedy
d24b5d5e93
Integrate stft ( #1475 )
...
* code changes
* missed a spot
* update UI
* gauge name
* adjust gauge scaling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi
056bc631af
[Feature Request] Transmission Control #1454
2020-05-29 23:05:16 -04:00
Matthew Kennedy
105460dada
Remove old thermistor implementation ( #1458 )
...
* remove test clt/iat
* remove warning since this code is nearly dead
* remove old therm impl
* tests & live doc
* not quite right
2020-05-28 17:51:33 -04:00
Matthew Kennedy
3a7c6f242b
Hardware pwm ( #1283 )
...
* hard pwm
* fix, comments
* PC6-9 and PD12-15
* PB6-9
* dynamic frequency
* f7 mcuconf
* format
* relocate to common, support variable frequency
* error handling
* oops
* fix test build
* noop kinetis
* better guards
* guard for bl
* guards don't work if they have typos
* more mapping
* oops
* don't use for slow pwm
* enable pwm
* guard properly
* save a little memory
* use less mem
* correct timers
* all your ram are belong to us
* update limit & comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
rusefi
a4329169e9
better file name
2020-05-25 13:02:05 -04:00
rusefi
07475398b2
proteus v12 progress
2020-05-24 13:27:14 -04:00
Matthew Kennedy
b11c5cd8c8
switch some firmware warnings to errors ( #1465 )
...
* warnings as errors
* throw instead of exit
* test massaging
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
rusefi
44b5e38d3a
"TLE8888 SR Unexpected response" does not work as intended fix #1466
2020-05-22 22:56:19 -04:00
rusefi
6b35e01f7d
code style
2020-05-22 18:07:19 -04:00
rusefi
c9cc928df6
pre-sets progress
2020-05-22 13:12:16 -04:00
rusefi
1bd4b8b1f1
would this help?
2020-05-22 00:25:48 -04:00
rusefi
6d3d8a7ac9
would this work?
2020-05-22 00:00:16 -04:00
rusefi
db2e6ec60f
HW test progress
2020-05-21 21:45:01 -04:00
rusefi
82e788ef3a
MRE pre-sets
2020-05-21 20:44:14 -04:00
rusefi
aac7712df5
test fixture progress
2020-05-21 18:36:32 -04:00
rusefi
5c9851e976
no comments
2020-05-21 18:28:35 -04:00
rusefi
515851b688
Fresh generated - auto
2020-05-20 22:26:49 -04:00
rusefi
61d481d40e
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp
2020-05-20 21:22:46 -04:00
rusefi
725d2b816d
WBO
2020-05-20 19:01:55 -04:00
rusefi
de5dec46cb
Fresh generated - auto
2020-05-20 11:24:49 -04:00
rusefi
7dd08e2019
progress
2020-05-20 09:16:26 -04:00
rusefi
2bed032684
Clean-up analog channels in "unit" tests fix #1456
2020-05-20 08:55:38 -04:00
Matthew Kennedy
44e2a1c970
remove test clt/iat ( #1457 )
...
* remove test clt/iat
* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
rusefi
b9fedcab5a
[Feature Request] Transmission Control #1454
2020-05-20 01:05:15 -04:00
rusefi
e8dc343f7b
fresh enums
2020-05-20 00:56:16 -04:00
Matthew Kennedy
9dda1a21bc
Redundant tps ( #1427 )
...
* add redundant sensor
* add tests
* add configure, info printing
* tests
* tests
* partial hookup
* fix
* fix
* bad makefile merge
* use second TPS config
* update test
* update test
* sensor names
* set second pin by default
* fix auto cal
* auto cal both sensors
* add reconfigure of secondary sensors
* gobblin' up your ram
* slow down write a little bit
* put split in debug gauge
* s
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
rusefi
aa517d96cd
hard-coding NB2 OEM sensor
2020-05-18 01:39:41 -04:00
rusefi
8b294eea75
something too special with Kinetis?
2020-05-18 01:25:10 -04:00
rusefi
d9bbace609
reducing magic constant copy/paste & MAP dialog progress
2020-05-18 01:15:13 -04:00
rusefi
afc763f068
better VVT progress
2020-05-15 21:33:25 -04:00
dron0gus
e3fd0a186a
Minor fixes ( #1437 )
...
* cmpilation warning cleanup
* exti trigger: mark pins used, handle errors
2020-05-15 18:03:18 -04:00
rusefi
d3785b543e
VVT_INACTIVE
2020-05-14 23:13:32 -04:00
dron0gus
a2565b7849
triggers: add Subaru SVX trigger (3 sensors) ( #1433 )
2020-05-14 20:40:47 -04:00
dron0gus
48aa40b344
smart gpios: remove dead code ( #1432 )
2020-05-14 16:15:55 -04:00
rusefi
dff7bbd4e0
SD card for MRE
2020-05-13 23:26:28 -04:00
Matthew Kennedy
c7fadd475f
configuration for secondary (redundant) TPS sensors ( #1419 )
...
* add new fields
* add tps 2 secondary
* sensible error detection limits
* UI mods
* grey out as appropriate
* defaults
* either it's unused or its not
2020-05-10 16:13:15 -04:00
rusefi
ec38cdac95
mck1117:secondary-tps-config progress
2020-05-10 10:11:51 -04:00
rusefi
a9b15e3cee
that's embarrassing
2020-05-10 02:36:01 -04:00
rusefi
ac9faf6646
docs & clean-up
2020-05-10 00:59:32 -04:00
rusefi
8d91cc65cc
34-2 3 cam Toyota wheel progress
2020-05-09 23:47:51 -04:00
rusefi
fcbba66e89
rusEFI online engine crc
2020-05-09 22:43:39 -04:00
rusefi
e9e95ec5f3
Merge remote-tracking branch 'origin/master'
2020-05-07 00:56:22 -04:00
rusefi
016da58bbd
field useful for rusEFI online catalog
2020-05-07 00:55:59 -04:00
Matthew Kennedy
aa3bf51723
short term fuel trim: part 1 ( #1402 )
...
* add cell
* add stft cell tests
* add bit
* minimally generate
* config defaults
2020-05-06 21:00:40 -04:00
rusefi
6e832002ba
magic is around the corner
2020-05-06 14:00:08 -04:00
rusefi
2d18777d00
helping build
2020-05-05 15:47:14 -04:00
Matthew Kennedy
2c9cb4e291
remove "plain MAP" mode ( #1398 )
...
* consumers
* enums, input, config
* java
* default config cleanup
2020-05-05 15:04:55 -04:00
Matthew Kennedy
745b0c04ac
pull out std air charge math ( #1397 )
2020-05-05 08:01:40 -04:00
rusefi
a208078f7c
haha notes
2020-05-04 23:38:32 -04:00
rusefi
aa04de0000
Nick says we need this MAP sensor
2020-05-04 19:08:36 -04:00
rusefi
5caed7ec31
getting all start-up issues together
2020-05-04 00:21:22 -04:00
rusefi
96ceae7d17
refactoring: using constructor life-cycle to simplify initialization sequence
2020-05-02 23:15:48 -04:00
rusefi
f456799310
reducing confusion?
2020-05-02 22:06:11 -04:00
rusefi
9180154848
Add firing order fix #1385
2020-04-29 16:46:59 -04:00
Matthew Kennedy
f128b33694
General purpose PWM: implementation & tests ( #1366 )
...
* config
* significant digits
* renumber enum, no need for a "none"
* ui
* impl base
* error handle MAP
* init & update
* don't need arg
* don't lie about sensor
* fix test build
* test stub
* initialize
* null check
* fix clamping
* test output
* types & enums
* don't need param
* test getOutput
* fix
* output pin instead of brain pin
* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy
83cca6ec7a
allow overriding configuration ( #1341 )
...
* config overrides
* proteus too
* comment
* remove wno-error
* comment
2020-04-26 00:07:59 -04:00
rusefi
1f2c35da92
Merge branch 'master' of https://github.com/rusefi/rusefi
2020-04-25 21:28:01 -04:00
rusefi
23e3d05d35
Bosch vvt shape #1368
...
skeleton
2020-04-25 19:50:43 -04:00
Matthew Kennedy
bfc6d10b5b
types & enums ( #1367 )
2020-04-25 18:26:29 -04:00
dron0gus
474d5e64cf
Update chibios ( #1364 )
...
* Update ChibiOS
* Fix coexistance of ChibiOS and our flash drivers
* Add 'int' = internal prefix for all on-chip flash functions
This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL
* Exclude ChibiOS flash driver from bootloader
* Makefile magic?
* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD
* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
Matthew Kennedy
f704bf22cb
use the linker! ( #1363 )
2020-04-24 21:21:04 -04:00
Matthew Kennedy
a8f466c615
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
1bad5f3047
don't store self stim in config ( #1356 )
...
* kill
* add bench test
* fix
2020-04-23 22:38:14 -04:00
rusefi
0ffb72e48c
tle8888 modes corrected
2020-04-23 19:39:59 -04:00
rusefi
c52c7e2f1f
TLE8888 mode flexibility
2020-04-23 16:57:37 -04:00
rusefi
3012b18a5c
docs
2020-04-23 16:39:32 -04:00
shadowm60
638cb64b54
Can vss updates ( #1345 )
...
* Vss over Can implementation proposal
Working for BMW e46
* fixed Firmware CI?
* kinetis fix.
* minor fixes
* Added W202 + fixed broken configs
- w202 Vel decoded
- added dbc checks
2020-04-22 13:40:08 -04:00
shadowm60
fe3030bb23
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
Matthew Kennedy
58e7738718
initialize etbControllers ( #1338 )
2020-04-21 08:18:32 -04:00
rusefi
dc37b1686c
separate range for logging errors
2020-04-20 13:58:20 -04:00
rusEfi
1ced7eafbc
Better handling in case of ETB idle without ETB #1332
2020-04-19 21:51:27 -04:00
rusEfi
4854d123bb
PWM name into warning message
2020-04-19 21:48:14 -04:00
rusEfi
2203b2867a
TS to show warning text
2020-04-19 21:42:00 -04:00
rusefi
eae51514e9
i am clearly distracted :(
2020-04-19 19:20:23 -04:00
rusefi
ca19d2fb44
still the cost of remix 66-2-2-2
2020-04-19 18:58:22 -04:00
rusefi
67ba136965
helping build
2020-04-19 18:45:40 -04:00
rusefi
b287b2f339
TT_HONDA_K_12_1
2020-04-19 14:23:01 -04:00
rusefi
c665e6b65d
progress towards renix 66-2-2-2
2020-04-19 09:59:55 -04:00
rusefi
be497685a0
Renix 44-2-2
2020-04-18 22:20:17 -04:00
Matthew Kennedy
4d24fdd57d
Fuel/ign correctino on new temp sensors ( #1318 )
...
* corrections
* test
* adv map
* tests
* cleanup
* lcd
* fsio
* unneeded
* more math
* last consumer
* cleanup
* fix kinetis
2020-04-18 18:45:30 -04:00
rusefi
c166ee9d58
Fresh generated - auto
2020-04-18 16:40:59 -04:00
Matthew Kennedy
d65a244fc7
unused config field ( #1314 )
2020-04-18 07:57:28 -04:00
Matthew Kennedy
044766ec70
New clt consumers part 1 ( #1301 )
...
* idle
* CLT test prep
* idle target
* header
* air interpolate
* ancient comment
* fuel cut
* fuel cut, idle tests
* cleanup
2020-04-15 09:48:17 -04:00
rusefi
12376e9312
docs
2020-04-14 08:34:51 -04:00
OrchardPerformance
5739032254
Update to Matt's MAF code for VE table tuning. ( #1295 )
...
* Update rusefi_lib
* Update fuel_math.cpp
Updated Matt's MAF code to include fuel table
* fixed missing include
* Replace get_specs_displacement
* ve2Map corrected
* ve2Map fix 2
* Fix for missing TS table
* Corrected standard air charge
* Math fix, PW now good
Still have minimal response from the VE table
* rusefi.input correction
* Added extra comment
* Ease of reading update
2020-04-14 01:21:48 -04:00
shadowm60
15f42b96df
Add w202 canDash support ( #1292 )
...
* w202CanDash
added CanDash support for w202
* fixed kinetis
2020-04-13 08:11:06 -04:00
rusefi
63403ab741
better error message
2020-04-12 23:24:46 -04:00
Matthew Kennedy
e1301f3c47
fix maf ( #1287 )
2020-04-12 15:52:29 -04:00
Matthew Kennedy
b526b43864
etb autotune ( #1274 )
...
* Astrom-Hagglund
* enums
* comments
* dead
* fix
* changed enum
* ts guard
* safety
* etb autotune debug channels
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
rusefi
fb06813e12
DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS
2020-04-10 13:19:54 -04:00
rusefi
89474adb63
cj125 progress
2020-04-08 23:14:21 -04:00
Matthew Kennedy
8006c0a548
CLT/IAT/Aux in the new sensor world ( #1269 )
...
* hook up clt
* init test
* probably fix test
* aux temp
* relax checking
* more significant figures
* remove old aux temp
* hand generate
* claim RAM
* move to ccm
* subscribe
* info printing
* warnings
* raise high voltage failure threshold
* fix test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
Matthew Kennedy
345bf61bd5
Goodbye, old TPS ( #1266 )
...
* clear out tps
* boost control
* aux valves
* launch, aux valves
* unused field
2020-04-05 19:33:33 -04:00
Matthew Kennedy
7d5df29fbd
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
bc3f0c6b27
More TPS consumers: VE lookup ( #1256 )
...
* 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
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-04 08:41:09 -04:00
Matthew Kennedy
9f75c0cea6
TPS consumers: idle and ignition and obd2 and lcd ( #1254 )
...
* advance_map
* tests
* unneeded
* idle
* use driver intent instead
* and obd and lcd
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 19:59:08 -04:00
rusefi
fcef353b12
could this work?
2020-04-03 16:14:29 -04:00
rusefi
0bd2291866
flipped 60/2?
2020-04-03 00:44:54 -04:00
Matthew Kennedy
f958047d14
only correct timing in dynamic mode ( #1247 )
...
* only correct in dynamic mode
* redundant check
2020-04-02 08:54:55 -04:00