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
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
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
rusefillc
5f15b8e48b
tachPulsePerRev needs a safer default, MRE config needs a value
2020-10-06 00:56:49 -04:00
Matthew Kennedy
16bfd39bac
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
rusefi
2d771018e8
unit test for start/stop hardware and pin repository #1811
2020-09-21 12:29:01 -04: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
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
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
rusefi
faea28e521
OBD-II default rate is 500kbps
2020-09-01 22:24:25 -04:00
rusefi
6f6eb0f561
BCM
2020-08-29 14:29:34 -04:00
rusefi
7a3b6387b5
BCM
2020-08-29 10:06:14 -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
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
rusefi
553820ecc8
gimme my preset!
2020-08-19 20:40:10 -04: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
5925ca5125
trigger and VSS hw integrated testing #1668
2020-08-08 11:45:02 -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
rusefi
2c653ad333
@andreika I believe this is no longer needed since all fields have TS metadata?
2020-08-02 15:34:47 -04:00
Matthew Kennedy
978fa20916
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-31 14:56:29 -07:00
rusefi
1703152427
reducing code duplication?
2020-07-29 23:01:55 -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
Matthew Kennedy
67e4fcb2a2
goodbye plain maf
2020-07-23 02:46:45 -07:00
rusefi
29e3c71df4
https://rusefi.com/forum/viewtopic.php?p=37401#p37401
2020-07-10 14:19:51 -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
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
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
rusefi
d1a30f362c
tuneCrc16 - we use it to match logs to tunes
2020-06-04 20:43:52 -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
6b35e01f7d
code style
2020-05-22 18:07:19 -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
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
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
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
f456799310
reducing confusion?
2020-05-02 22:06:11 -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
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
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
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
89474adb63
cj125 progress
2020-04-08 23:14:21 -04:00
rusefi
81211219f2
CAN progress
2020-03-31 16:49:19 -04:00
rusefi
6ff928a798
f4-slave
2020-03-29 22:10:13 -04:00
rusefi
d52ec6a58f
refactoring + MAP broadcast consumption
2020-03-29 21:15:06 -04:00
Matthew Kennedy
a5d4d06868
Multispark implementation ( #1192 )
...
* multispark prototype
* only multispark if not cut
* typo
* do some reasonableish math
* consume cfg
* todo
* bad merge
* move math out of engine2.cpp
* engine state config
* consume generated
* use new
* hand generate
* doc, debugging
* debug channel names
* don't depend on rpmcalc
* safer, fix math
* tests
* default multispark config
* remove todo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-26 01:49:36 -04:00
rusefi
7ab0a9cd76
startStopDialog
2020-03-25 00:58:59 -04:00
rusefi
96c79012f0
At least read all TPS inputs
2020-03-20 19:55:36 -04:00
rusefi
a4b5570223
"rusefi CAN" config #1198
2020-03-19 09:22:16 -04:00
rusEfi
d047340725
v12
2020-03-12 00:16:32 -04:00
rusEfi
620088cdc1
v12
2020-03-11 20:48:09 -04:00
rusefi
1892cfe6b7
logicAnalyzerMode was unused, removing for now
2020-03-08 09:14:49 -04:00
rusefi
ce2ec3d544
TEST_33816
2020-02-25 21:35:21 -05:00
Matthew Kennedy
8647abd22b
Add single flag for omitting PnP configs ( #1157 )
...
* switch to single enable flag
* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusEfi
84995652df
reviving FRANKENSO_QA_ENGINE
2020-02-18 17:53:56 -05:00
Matthew Kennedy
a00c1a5be9
Sensor reconfiguration while running ( #1131 )
...
* reconfigure sensors
* docs
* doc
2020-02-08 06:22:23 -03:00
Matthew Kennedy
52c710bb62
move flash addr in to mpu_util ( #1123 )
...
* move flash addr in to mpu_util
* this _may_ work
* don't use offsetof
* proper header + defines
2020-02-05 08:06:38 +05:30
ola
d49e253bff
Some initial work at Launch/ALS
...
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
960
4b4e683957
Boost pr ( #1114 )
...
* boost control
* cleanup
* Delete rusefi_config.txt
* Add files via upload
* Delete rusefi_config.txt
* Add files via upload
* Update rusefi.input
* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
rusefi
6022838656
looking forward
2020-02-01 17:55:58 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
rusEfi
6e881d53b7
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
b83816b9ef
laughable gdi progress
2019-12-26 22:30:12 -05:00
rusefi
0d0298ac98
boring test mule stuff
2019-12-15 22:21:49 -05:00
rusefi
9403b2a8fc
fixing build is my most favourite time!
2019-12-13 18:02:24 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
00840d99ec
copyArray helper ( #1048 )
...
* add functions
* uses
* use for proteus
* do it for warmup mult
* do it for cranking settings
* cleanup
2019-12-10 18:04:50 -05:00
rusefi
c5cfd21a70
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
Matthew Kennedy
9fdf74bc18
Base configuration for Proteus ( #1040 )
...
* cfg
* add enum value
* add ci
* actually build the board config
* this is pretty close
* proteus case
2019-12-02 23:54:40 -05:00
rusefi
2eab39d3ff
auxFastSensor
2019-12-02 17:49:01 -05:00
rusefi
b04166d173
that's how we can move all fields one by one from boardConfiguration to engineConfiguration
...
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
rusefi
1ab40aec35
one step backwards :)
2019-11-29 01:39:02 -05:00
rusefi
316d7ab63b
steps towards dual ETB
2019-11-29 00:26:17 -05:00
rusefi
784610c5c3
steps towards dual ETB
2019-11-29 00:23:15 -05:00
andreika-git
9a0b66791b
unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix ( #1029 )
...
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH
* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()
* clutchUpPinMode for unregisterPin()
* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL
* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
rusefi
56ff75004b
consistency
2019-11-23 15:53:22 -05:00
Matthew Kennedy
9ee8616cb0
Use templated array references ( #1027 )
...
* update defs
* consumers, use default params
* setArrayValues in tests
* floats
* test fixing
2019-11-22 23:27:24 -05:00
rusefi
67b434e43a
v12
2019-11-18 23:45:35 -05:00
rusEfi
c3b793fc55
prometheus cleanup
2019-11-15 00:01:03 -05:00
rusEfi
3530c68a18
M73
2019-11-14 23:58:04 -05:00
rusefi
8525c48036
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 18:26:50 -05:00
rusefi
8f5895321c
refactoring
2019-11-05 23:17:44 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
bab1744d1d
progress towards #961
2019-11-04 22:44:52 -05:00
rusefi
d1afb9b183
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 21:29:12 -05:00
rusefi
a2bee7f46b
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 19:36:56 -05:00
rusefi
06b7524c1d
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:25:34 -05:00
rusefi
9c94dd503e
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:17:43 -05:00
andreika-git
ee5ee1942c
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi
4d095d4844
60/2 VW trigger has running issue on 19/10/19 snapshot fix #986
2019-10-30 20:51:20 -04:00
rusefi
88348ebd09
refactoring: reducing code duplication
2019-10-21 23:47:40 -04:00
rusefi
62577c47da
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
Matthew Kennedy
faa2a481ea
Simplify thermistor config ( #962 )
...
* simplify thermistor config
* fix test
2019-10-02 21:00:10 -04:00
rusEfi
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi
3ac801f9c5
configurable SD card logging speed
2019-09-20 20:18:22 -04:00
rusefi
d90f0481b0
one step back :) instant RPM does not look right
2019-09-10 21:35:10 -04:00
rusefi
2818c803b5
fatalErrorPin setting is not used #926
2019-09-09 21:34:15 -04:00
rusEfi
8126b700de
NB2 progress, ETB Live Docs progress
2019-09-01 19:37:58 -04:00
rusEfi
3851b37be6
NB2 MRE
2019-08-31 18:36:44 -04:00
rusefi
162264fe08
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusEfi
48a15dcc0c
MRE_MIATA_NB2
2019-08-13 19:15:24 -04:00
rusefi
f0c318aafd
WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898
2019-08-08 23:11:56 -04:00
rusefi
539cd8b1c7
current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :(
2019-08-08 22:33:52 -04:00
rusefi
121ad9b786
fixing build & taking a safer route
2019-08-08 22:12:51 -04:00
rusefi
7d73c6a8a9
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi
3ff8c92d38
poke
2019-08-08 20:32:00 -04:00
rusefi
643cc24931
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
more refactoring
2019-08-08 00:32:31 -04:00
rusEfi
bde25114d5
NA6 MRE details
2019-08-06 17:59:02 -04:00
rusefi
8d14561fb9
better method name
2019-08-06 17:12:15 -04:00
rusefi
2a3d067821
fixing unit tests build
2019-08-05 23:36:18 -04:00
rusEfi
070ebd65c6
MRE test setup
2019-08-05 23:00:35 -04:00
rusefi
91f9a50b3f
F7 nucleo does not work?
...
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
Matthew Kennedy
1ec07af6e2
microRusefi Default Configuration ( #895 )
...
* poke
* working MRE
* why was this on?
* comment, cleanup
* default silent trigger error on
* comment
* remove extra
* sensible default
2019-08-01 22:27:23 -04:00
rusEfi
2120aff829
MRE is getting closer!
2019-07-25 21:39:39 -04:00
rusefi
0b1726727f
removing least useful engine configurations
2019-07-25 00:03:57 -04:00
rusefi
97934eeace
fixing build?
2019-07-24 23:41:26 -04:00
rusefi
b2eba467ac
fixing build?
2019-07-24 23:16:17 -04:00
rusefi
9fd9bbaf2f
nevermind
2019-07-24 22:37:27 -04:00
rusefi
358a50a961
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:33:30 -04:00
rusefi
3ac83dc34e
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:00:48 -04:00
rusefi
fc241ce665
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
...
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
rusefi
6fb2b34120
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 21:15:18 -04:00
Matthew Kennedy
21d1b25c5e
Remove warmup afr pid ( #879 )
...
* config changes
* actually remove from config
* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi
04bc1128df
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy
e0db83e027
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03:00
rusefi
83ad64eade
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
a8f456b807
Annotations in C++ code to produce formulas in rusEfi console #807 ( #847 )
...
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change
* removing unneeded stuff & fixing unit test compilation
* not complete better unit test compilation fix :(
* better C++ usage
2019-06-17 12:18:55 -04:00
Matthew Kennedy
e47bc4b952
Fix tunerstudio ratio vs. percent ( #838 )
...
* fix ratio vs pct
* fix idle cranking clt position
* fix defaults
* fix typo
* fix baro corr gauge
* baro default
* fix degree symbols
* fix testFuelMap
* fix testPlainCrankingWithoutAdvancedFeatures
* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
rusefi
80f38c476a
https://github.com/rusefi/hw_microRusEfi/issues/57
2019-06-10 17:33:05 -04:00
rusefi
09a29be80e
input has sizes hard-coded #836
2019-06-10 15:45:18 -04:00
rusefi
4737bb3301
MRE
2019-06-07 18:02:28 -04:00
rusefi
79bbbc8f45
MC33816 integraion #784
2019-05-25 17:18:16 -04:00
rusefi
01e481db31
fix #802
2019-05-25 13:36:29 -04:00
rusEfi
bd512492cd
proper void value
2019-05-04 10:46:48 -04:00
rusefi
ac2a81d381
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
...
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi
ff641d81e2
fixing build & refactoring
2019-04-28 23:42:49 -04:00