Matthew Kennedy
2bf833a1ee
Usable fuel consumption data/gauges ( #2474 )
...
* fuel consumption
* gauge names
* consumers
* obd
* binary logging
* doesn't need explicit constructor
* getters
* it works
* correct for injections per cycle
* datalog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy
5e6746c3aa
Implement nonlinear fuel level sender ( #2473 )
...
* table function
* config fields
* sensor type
* switch consumers
* init the sensor
* ui
* 1mv resolution
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy
925a6ca086
harden against various no-boot scenarios ( #2468 )
...
* zero length trigger
* validate config
* validate cylinder count
* wrong type on cylinder count
* invalid comment
* invalid SPI
2021-03-17 09:24:13 -04:00
Matthew Kennedy
c168c748ea
dead code, warnings ( #2461 )
2021-03-15 10:23:19 -04:00
GitHub build-firmware Action
8fd70f63a1
Auto-generated configs and docs
2021-03-14 21:30:08 +00:00
rusefillc
99787df047
VAG MQB
2021-03-14 17:27:26 -04:00
Matthew Kennedy
765895d913
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
72214b8b77
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
9f90387d09
vBatt -> SensorType::vBatt fix #2260
2021-03-11 23:07:18 -05:00
rusefillc
98eae45094
vBatt -> SensorType::vBatt #2260
2021-03-11 22:52:34 -05:00
rusefillc
416c65b475
vBatt -> SensorType::vBatt #2260
2021-03-11 22:44:59 -05:00
Matthew Kennedy
a7a82b1aab
remove lastTriggerToothEventTimeNt ( #2430 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
slowriot
9a8c2516ee
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
122f31fe4a
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
89d71e4379
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
b00a05aa17
aux valve to CI
2021-02-18 00:11:10 -05:00
Matthew Kennedy
55facb6613
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
dbebc353a2
remove unused msg parameter ( #2360 )
...
* dead parameter
* last few
2021-02-16 09:32:16 -05:00
rusefi
6c9416daa9
aux pid is now VVT
2021-02-10 12:41:38 -05:00
Matthew Kennedy
a3d0b61cf1
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
5b47578f3b
M62T vanos support #2243
2021-02-09 09:40:08 -05:00
rusefillc
d0a5cb6e38
M62T vanos support #2243
2021-02-08 22:30:02 -05:00
rusefillc
654a739e6b
M62T vanos support #2243
2021-02-08 22:21:02 -05:00
rusefillc
dc79ee1511
M62T vanos support #2243
2021-02-08 22:07:14 -05:00
rusefillc
8fa1a6530b
M62T vanos support #2243
2021-02-08 21:50:31 -05:00
rusefi
d39b285834
M62T vanos support #2243
2021-02-08 21:28:57 -05:00
rusefi
2ccb75a064
refactoring: naming consistency
2021-02-08 18:20:53 -05:00
rusefi
4b8a92ccc9
M62T vanos support #2243
2021-02-08 18:08:26 -05:00
rusefillc
f1e80a2761
M62T vanos support #2243
2021-02-08 16:42:53 -05:00
rusefi
d05edd2a3d
M62T vanos support #2243
2021-02-08 16:16:26 -05:00
rusefillc
694dedf9f7
M62T vanos support #2243
2021-02-08 15:09:12 -05:00
GitHub build-firmware Action
9a66504e1e
Auto-generated configs and docs
2021-02-08 19:13:25 +00:00
rusefillc
c020aed330
M62T vanos support #2243
2021-02-08 14:10:57 -05:00
Matthew Kennedy
983d75444e
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
4dc9c013c9
Trigger pattern request Škoda Favorit #2302
2021-02-06 20:12:58 -05:00
GitHub build-firmware Action
c31db3ab77
Auto-generated configs and docs
2021-02-06 18:52:00 +00:00
Andrey G
0f47cff952
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
e1472e8cbf
Auto-generated configs and docs
2021-02-03 19:36:47 +00:00
Matthew Kennedy
7fec313f50
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
8d9db6b5c1
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
11e2486f8f
Auto-generated configs and docs
2021-02-02 14:17:30 +00:00
Brenton Hewitt
2ce14cb66e
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
6043d6d8f2
GM/Daewoo 60/2/2/2 Trigger Pattern #2264
2021-02-01 23:18:11 -05:00
rusefillc
ce62edb56b
GM/Daewoo 60/2/2/2 Trigger Pattern #2264
2021-02-01 22:49:49 -05:00
rusefillc
7fb7cc6679
extracting runtime state from trigger central
2021-01-31 22:41:17 -05:00
Matthew Kennedy
ace0f4e78c
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
0b5d42a6fd
#2260
2021-01-31 13:30:14 -05:00
rusefillc
4bdc41d723
typo
2021-01-31 12:27:26 -05:00
Matthew Kennedy
654bf0d698
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
c309d1a555
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