Andrey
da905f20a6
trailing spark outputs #2931
2021-07-21 19:55:14 -04:00
Matthew Kennedy
e3849b95d5
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Andrey
0f30fec7c2
trigger signal debug pins - logic level output #2959
2021-07-15 01:28:44 -04:00
Andrey
b5f92e6722
trigger signal debug pins - logic level output #2959
2021-07-14 22:35:29 -04:00
rusefi
3b30b81f11
VAG canned tunes
2021-07-09 01:53:09 -04:00
Andrey
cbe407f465
VAG canned tunes
2021-07-08 20:42:35 -04:00
rusefillc
cad8d90125
mobile browser coding
2021-07-08 18:09:03 -04:00
rusefi
76003ca393
VAG canned tunes
2021-07-08 16:35:58 -04:00
Matthew Kennedy
0abbf182d3
hellen 128 defaults ( #2912 )
...
* all the pins
* s
* ign
2021-07-06 01:03:07 -04:00
Matthew Kennedy
9d41a19adc
misc ( #2899 )
...
* dead fields
* defaults
* ui
* configs
2021-07-04 09:22:42 -04:00
Andrey
7ffe09aa96
Nissan progress
2021-07-02 16:31:10 -04:00
Andrey
8013e598df
Nissan progress
2021-07-02 16:26:23 -04:00
Andrey
0668bf899e
so many wonderful discoveries
2021-06-27 00:54:38 -04:00
Andrey
083a2e12f9
depressing code comment
2021-06-26 23:01:47 -04:00
Matthew Kennedy
95f9e949a5
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
bd29dedbca
Trigger: warning code on normal engine start up #669
...
making more code unit-testable
2021-06-25 11:50:23 -04:00
Andrey
cb2c148d3b
Revert "TS Burned All Data engine stop #2839"
...
This reverts commit 3c298da4
2021-06-21 08:53:39 -04:00
Andrey
3c298da417
TS Burned All Data engine stop #2839
...
second guess
2021-06-21 03:10:59 -04:00
Andrey
92f7079360
TS Burned All Data engine stop #2839
...
first wild guess
2021-06-21 02:51:12 -04:00
Andrey
66de546bc9
Review default H64 tune #2815
2021-06-13 21:27:03 -04:00
Matthew Kennedy
135bc9f3ad
move ign & cranking defaults ( #2791 )
...
* ignition defaults
* cranking
* s
2021-06-03 14:40:19 -04:00
Matthew Kennedy
925399168a
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
cc0547217c
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
68ad12da53
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
a0d835ed1c
refactoring magic constant STOICH_RATIO
2021-05-20 02:39:20 -04:00
rusefillc
0cb4705a7e
Improve default H64 tune #2709
2021-05-19 03:50:28 -04:00
Matthew Kennedy
6d9c0299fb
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
8c3be2cefc
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
0af7a9cb2d
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
dd46591ad5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy
6e1212f3ca
use setTable ( #2621 )
2021-05-04 10:03:41 -04:00
rusefillc
b20505de42
2021 is the year of Hellen
2021-05-03 00:01:53 -04:00
rusefillc
bf223aaacf
50% duty cycle is the default for tach signal
2021-05-02 23:47:47 -04:00
rusefillc
59c8ef582f
2021 is the year of Hellen
2021-05-02 19:02:30 -04:00
rusefillc
cb7cb8ae15
https://rusefi.com/forum/viewtopic.php?p=40654
2021-04-26 17:32:00 -04:00
Matthew Kennedy
5f0791f9fb
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy
737ee444b8
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy
967383dd8e
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
959a63d7de
hellen64 scripts and pinout #2565
2021-04-18 10:42:50 -04:00
Matthew Kennedy
d7e95cd31f
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
5968149584
https://github.com/rusefi/hellen72/issues/25
2021-04-10 23:30:36 -04:00
rusefillc
9871ab15b2
linking error on jenkins and Andrey's windows desktop fix #2520
2021-04-03 23:34:56 -04:00
Matthew Kennedy
761e65c710
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
112b4d1182
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
9810406fa6
fix ( #2511 )
2021-03-30 07:28:22 -04:00
Matthew Kennedy
204aa33e9a
goodbye ignitionOffset ( #2503 )
...
* remove
* set the timing map to do what the offset used to do
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
Matthew Kennedy
368415972e
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
92d249918b
rename setBoardConfigurationOverrides ( #2479 )
...
* rename
* proteus
* comments
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -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
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
rusefi
6c9416daa9
aux pid is now VVT
2021-02-10 12:41:38 -05:00
rusefi
4b8a92ccc9
M62T vanos support #2243
2021-02-08 18:08:26 -05:00
rusefi
d05edd2a3d
M62T vanos support #2243
2021-02-08 16:16:26 -05: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
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
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
rusefillc
0ae7eed5be
knock-knock
2021-01-23 00:00:34 -05:00
rusefillc
7f893c6159
Hellen72
2021-01-22 02:02:16 -05:00
rusefillc
8faa1602f7
HELLEN_NB2
2021-01-22 01:47:01 -05:00
Matthew Kennedy
8608df5450
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
21a925f613
hellen
2021-01-01 01:10:28 -05:00
rusefillc
f9de491b67
proteusBoardTest
2020-12-26 10:41:33 -05:00
Matthew Kennedy
fad3b07b8b
Purge e34 config ( #2127 )
...
* remove
* enums
* s
* func test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy
7617b115de
Partition configs by board type ( #2106 )
...
* remove old flag
* flags
* reorder switch
* oops
2020-12-22 21:54:40 -05:00
Matthew Kennedy
4a95652f88
Purge fiesta config ( #2117 )
...
* config
* this had a feature flag?
* enums
* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc
2940703a97
PROTEUS_QC_TEST_BOARD
2020-12-22 10:13:27 -05:00
Matthew Kennedy
85f0621738
Purge rover v8 config ( #2116 )
...
* bye
* goodbye, rover v8
* that snuck in
* use a different config for that test
2020-12-22 10:05:54 -05:00
rusefillc
f5a5a54683
naming consistency
2020-12-18 09:01:18 -05:00
Matthew Kennedy
d3cbed60af
move target computation ( #2091 )
2020-12-17 17:46:51 -05:00
Matthew Kennedy
34edf34bf4
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
39a292a46a
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:53:26 -05:00
rusefillc
f147aabcd7
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
7d104bff8d
pnp progress
2020-12-15 00:09:35 -05:00
rusefi
afe387c7be
subi
2020-12-13 11:39:10 -05:00
rusefillc
3f17d84b44
fix warnings found by clang #2014
2020-12-08 13:59:40 -05:00
rusefillc
f868d05dec
MRE_SUBARU_EJ18
2020-12-06 14:16:40 -05:00
rusefillc
c0e2ca5e74
MRE_SUBARU_EJ18
2020-12-06 13:08:09 -05:00
rusefillc
d199302b83
miata 94
2020-11-28 22:49:28 -05:00
rusefillc
42c56a47da
dead engine config
...
one step back
2020-11-26 21:21:25 -05:00
rusefillc
0f39f37bba
dead engine config
2020-11-26 21:07:34 -05:00
rusefillc
96ca95bd1e
dead engine config
2020-11-26 20:26:12 -05:00
rusefi
bdba67e05f
better default value
2020-11-25 17:02:28 -05:00
rusefillc
6f56988469
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
789926a61d
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
rusefi
1d6c6eb804
wall wetting default
2020-10-31 19:28:27 -04:00
Matthew Kennedy
bcabb51222
unused tach field ( #1918 )
2020-10-29 15:26:01 -04:00
rusefillc
781cc3d326
[EPIC] [Feature Request] Transmission Control #1454
2020-10-28 01:23:05 -04:00
rusefillc
eb06ce55cd
TCU
2020-10-28 01:01:30 -04:00
Matthew Kennedy
b8c2041467
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
6abc80e74c
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
dbdeca93b0
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
rusefillc
d5d5bbba9f
tachPulsePerRev needs a safer default, MRE config needs a value
2020-10-06 00:56:49 -04:00
Matthew Kennedy
3374db1658
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
rusefi
3b9d339db0
unit test for start/stop hardware and pin repository #1811
2020-09-21 12:29:01 -04:00
David Holdeman
e8e2cf2cfd
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
f70c4b7a54
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
20dfacb521
Hellen says merge #1772 misc #2
2020-09-07 15:53:26 -04:00
Matthew Kennedy
4802a47d23
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
rusefi
8b172324a2
OBD-II default rate is 500kbps
2020-09-01 22:24:25 -04:00
rusefi
8d024f4579
BCM
2020-08-29 14:29:34 -04:00