rusefillc
092cca03ab
merc128: engine config defaults #3236
2021-09-17 23:10:36 -04:00
Matthew Kennedy
a18b86a09b
start allowing ADC change while running ( #3100 )
...
* allow re-register of the same sensor
* add api to unsubscribe
* do it for tps
* clear the pin
* happy test
* maybe make afr happy for now
* tests build
* happy simulator
* active configuration
* check valid
* we need vbatt now
* manage all pin init in init_sensors.cpp
* don't need that
* cleanup
* thermistors
* do two phase reinit in the right place
* config vs engine
* finally the tests are happy
2021-08-24 16:41:16 -04:00
rusefillc
767496f3f4
94/95 miata presets #3191
2021-08-24 16:03:50 -04:00
Andrey
03ffa82d8e
zero dwell warning at zero RPM #3153
2021-08-16 09:11:22 -04:00
rusefillc
e786af1c83
NB2 36
2021-08-10 02:34:59 -04:00
rusefillc
63e53aebc0
Implement auto knock threshold sampling #3033
2021-08-09 17:07:38 -04:00
Andrey
0df437e749
Nissan 4 cylinder QR trigger wheel #3118
2021-08-08 07:04:18 -04:00
Andrey
08dff4ceb6
Nissan 4 cylinder QR trigger wheel #3118
2021-08-08 06:16:19 -04:00
rusefillc
8cffec5c31
HELLEN_154_HYUNDAI
2021-08-03 13:51:33 -04:00
Matthew Kennedy
b52d50bbf2
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
rusefi
ee1426387b
Red test mule cranking to idling is weird #3050
2021-07-24 11:56:29 -04:00
Andrey
a8afb6eb85
trailing spark outputs #2931
2021-07-21 19:55:14 -04:00
Matthew Kennedy
2ce7777865
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
23be588af6
trigger signal debug pins - logic level output #2959
2021-07-15 01:28:44 -04:00
Andrey
70872c8bf4
trigger signal debug pins - logic level output #2959
2021-07-14 22:35:29 -04:00
rusefi
6b25e220e6
VAG canned tunes
2021-07-09 01:53:09 -04:00
Andrey
3d0ba4af5c
VAG canned tunes
2021-07-08 20:42:35 -04:00
rusefillc
c229aeb46c
mobile browser coding
2021-07-08 18:09:03 -04:00
rusefi
4ead86c521
VAG canned tunes
2021-07-08 16:35:58 -04:00
Matthew Kennedy
188bf9bd57
hellen 128 defaults ( #2912 )
...
* all the pins
* s
* ign
2021-07-06 01:03:07 -04:00
Matthew Kennedy
142e44d82b
misc ( #2899 )
...
* dead fields
* defaults
* ui
* configs
2021-07-04 09:22:42 -04:00
Andrey
bd5ff4b5a5
Nissan progress
2021-07-02 16:31:10 -04:00
Andrey
a039c52897
Nissan progress
2021-07-02 16:26:23 -04:00
Andrey
82439b3ffd
so many wonderful discoveries
2021-06-27 00:54:38 -04:00
Andrey
4463ca1fdb
depressing code comment
2021-06-26 23:01:47 -04:00
Matthew Kennedy
ce4eb2b55d
fix trigger changed logic ( #2860 )
...
* reenable
* fix
* longer interval between updates
* only deinit hard trigger outputs if necessary
* init logic
* init order
* warning
* guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 19:38:42 -04:00
Andrey
266e50f4ca
Trigger: warning code on normal engine start up #669
...
making more code unit-testable
2021-06-25 11:50:23 -04:00
Andrey
35a63cad89
Revert "TS Burned All Data engine stop #2839"
...
This reverts commit dcb52a5b
2021-06-21 08:53:39 -04:00
Andrey
dcb52a5b37
TS Burned All Data engine stop #2839
...
second guess
2021-06-21 03:10:59 -04:00
Andrey
3aab93b122
TS Burned All Data engine stop #2839
...
first wild guess
2021-06-21 02:51:12 -04:00
Andrey
640097f327
Review default H64 tune #2815
2021-06-13 21:27:03 -04:00
Matthew Kennedy
e7f17b0365
move ign & cranking defaults ( #2791 )
...
* ignition defaults
* cranking
* s
2021-06-03 14:40:19 -04:00
Matthew Kennedy
981e8f5047
defaults cleanup: base engine & fuel ( #2790 )
...
* build
* fuel and base
* fix build
* cleanup
* extern
* tps/tps
* alternator
* tps
* iat timing
* cranking RPM
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00
Matthew Kennedy
790ac08a2e
Cranking defaults ( #2787 )
...
* defaults
* more
* cranking fuel
* cranking timing
* cranking time digits
* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
Matthew Kennedy
de7879b6e4
convert a table to scaled_channel ( #2724 )
...
* scaled VE table
* use setTable
* efi::clear
* ratio -> struct
2021-05-20 20:00:32 -04:00
Andrey
a762853d3b
refactoring magic constant STOICH_RATIO
2021-05-20 02:39:20 -04:00
rusefillc
73bc91dee4
Improve default H64 tune #2709
2021-05-19 03:50:28 -04:00
Matthew Kennedy
b373c03db8
Lua script editor in console ( #2699 )
...
* stub
* implement reset
* console
* just use the console command
* cleanup
* s
* s
* ui
* write in chunks
* fix write
* tab size, script read
* parse script properly
* put lua script in flash, tiny for now
* generated fields
2021-05-18 20:58:39 +03:00
Matthew Kennedy
04f9019df2
Post cranking fuel tweaks ( #2718 )
...
* post cranking factor limits
* sensible defaults
* but not for tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-05-17 17:24:29 -04:00
Matthew Kennedy
dd6105cfa3
shrink canned tables ( #2651 )
...
* helper
* use it miata
* do type safe copy
* miata vvt
* etb
* default iat correction
* magic is afoot here
* hunchback
* misc
* neon
* neon
* aspire
* citroen
* neon
* missed one
* dead
* festiva
* remove andreyism
* very dead
* no need for copy of that function
* cleanup
2021-05-09 14:37:16 -04:00
Andrey G
e18ba01fe5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy
bb0662791b
use setTable ( #2621 )
2021-05-04 10:03:41 -04:00
rusefillc
4dc461891a
2021 is the year of Hellen
2021-05-03 00:01:53 -04:00
rusefillc
9be7f2c582
50% duty cycle is the default for tach signal
2021-05-02 23:47:47 -04:00
rusefillc
ecdcf8112b
2021 is the year of Hellen
2021-05-02 19:02:30 -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
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
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
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
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
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
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
rusefi
6f065274e4
aux pid is now VVT
2021-02-10 12:41:38 -05:00
rusefi
c576f0a9d9
M62T vanos support #2243
2021-02-08 18:08:26 -05:00
rusefi
a349bf1ca8
M62T vanos support #2243
2021-02-08 16:16:26 -05: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
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
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
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
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
rusefillc
9587b7bb54
hellen
2021-01-01 01:10:28 -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
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
rusefillc
bd279edd8e
pnp progress
2020-12-15 00:09:35 -05:00
rusefi
7f65e95a65
subi
2020-12-13 11:39:10 -05:00
rusefillc
ea8e09ba13
fix warnings found by clang #2014
2020-12-08 13:59:40 -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
b982d02298
miata 94
2020-11-28 22:49:28 -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
rusefi
0d441be869
better default value
2020-11-25 17:02:28 -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
cf3dc9c2c3
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
rusefi
2b7e33404f
wall wetting default
2020-10-31 19:28:27 -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
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