Matthew Kennedy
738e53442d
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
6d0efc432e
allow overriding configuration ( #1341 )
...
* config overrides
* proteus too
* comment
* remove wno-error
* comment
2020-04-26 00:07:59 -04:00
dron0gus
d5a76b5dda
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
e89b7b4b11
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
39c84378eb
don't store self stim in config ( #1356 )
...
* kill
* add bench test
* fix
2020-04-23 22:38:14 -04:00
Matthew Kennedy
3bc5824efd
unused config field ( #1314 )
2020-04-18 07:57:28 -04:00
Matthew Kennedy
83592f0dff
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
c98cdc9c0a
cj125 progress
2020-04-08 23:14:21 -04:00
rusefi
fe604f71b8
CAN progress
2020-03-31 16:49:19 -04:00
rusefi
21e96141a8
f4-slave
2020-03-29 22:10:13 -04:00
rusefi
8a3e47d9e6
refactoring + MAP broadcast consumption
2020-03-29 21:15:06 -04:00
Matthew Kennedy
b7b67a2a7f
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
736957a875
startStopDialog
2020-03-25 00:58:59 -04:00
rusefi
a6c3b220d6
At least read all TPS inputs
2020-03-20 19:55:36 -04:00
rusefi
37bdc68ff5
"rusefi CAN" config #1198
2020-03-19 09:22:16 -04:00
rusEfi
b089596641
v12
2020-03-12 00:16:32 -04:00
rusEfi
cb37a6f51d
v12
2020-03-11 20:48:09 -04:00
rusefi
98d402a66f
logicAnalyzerMode was unused, removing for now
2020-03-08 09:14:49 -04:00
rusefi
6b3228b9f1
TEST_33816
2020-02-25 21:35:21 -05:00
Matthew Kennedy
6db8978667
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
e9ac797ac9
reviving FRANKENSO_QA_ENGINE
2020-02-18 17:53:56 -05:00
Matthew Kennedy
52f565f874
Sensor reconfiguration while running ( #1131 )
...
* reconfigure sensors
* docs
* doc
2020-02-08 06:22:23 -03:00
Matthew Kennedy
3a99dcd6dc
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
b94ba38efc
Some initial work at Launch/ALS
...
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
960
580e725d11
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
3d3c4c38f4
looking forward
2020-02-01 17:55:58 -05:00
rusefi
63e3e84e08
happy new year
2020-01-08 00:02:40 -05:00
rusEfi
499a39e88c
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
435928ca81
laughable gdi progress
2019-12-26 22:30:12 -05:00
rusefi
c94532a697
boring test mule stuff
2019-12-15 22:21:49 -05:00
rusefi
44c98029d7
fixing build is my most favourite time!
2019-12-13 18:02:24 -05:00
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
44fc8c466d
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
bcec694eb1
just a trivial massive rename: TriggerState > TriggerWaveform
2019-12-08 01:09:39 -05:00
Matthew Kennedy
b7011f875a
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
63d8f050bc
auxFastSensor
2019-12-02 17:49:01 -05:00
rusefi
2738fefa48
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
c9b4189ab3
one step backwards :)
2019-11-29 01:39:02 -05:00
rusefi
a9c52e084f
steps towards dual ETB
2019-11-29 00:26:17 -05:00
rusefi
88d8768835
steps towards dual ETB
2019-11-29 00:23:15 -05:00
andreika-git
53eeb79ea9
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
eaa42d1baa
consistency
2019-11-23 15:53:22 -05:00
Matthew Kennedy
0a7535fb1f
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
a6e7b1455d
v12
2019-11-18 23:45:35 -05:00
rusEfi
80c6b88d2a
prometheus cleanup
2019-11-15 00:01:03 -05:00
rusEfi
cedb8d5861
M73
2019-11-14 23:58:04 -05:00
rusefi
17a2847424
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 18:26:50 -05:00
rusefi
92d1842bd0
refactoring
2019-11-05 23:17:44 -05:00
rusefi
30cfb96619
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
9c3492043d
progress towards #961
2019-11-04 22:44:52 -05:00
rusefi
fdbe81121d
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 21:29:12 -05:00
rusefi
d8941eec12
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 19:36:56 -05:00
rusefi
a325551edd
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:25:34 -05:00
rusefi
10377c918f
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 17:17:43 -05:00
andreika-git
ef23be6893
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
db24091933
60/2 VW trigger has running issue on 19/10/19 snapshot fix #986
2019-10-30 20:51:20 -04:00
rusefi
0fcf3bfa4e
refactoring: reducing code duplication
2019-10-21 23:47:40 -04:00
rusefi
abfdfe6896
preparation for #961
...
more unified access to pre-calculated value
2019-10-10 08:25:58 -04:00
Matthew Kennedy
9b1dc07ae1
Simplify thermistor config ( #962 )
...
* simplify thermistor config
* fix test
2019-10-02 21:00:10 -04:00
rusEfi
53ae54e8cc
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi
aa8d0eb640
configurable SD card logging speed
2019-09-20 20:18:22 -04:00
rusefi
3389caa1e4
one step back :) instant RPM does not look right
2019-09-10 21:35:10 -04:00
rusefi
3d85de7ee5
fatalErrorPin setting is not used #926
2019-09-09 21:34:15 -04:00
rusEfi
d5dfc3e658
NB2 progress, ETB Live Docs progress
2019-09-01 19:37:58 -04:00
rusEfi
9ce7c4d7da
NB2 MRE
2019-08-31 18:36:44 -04:00
rusefi
afdeecb87e
progress towards idle unit test
2019-08-29 23:50:20 -04:00
rusEfi
714af981e4
MRE_MIATA_NB2
2019-08-13 19:15:24 -04:00
rusefi
946374184e
WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898
2019-08-08 23:11:56 -04:00
rusefi
dfeac28299
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
eef4fbde9b
fixing build & taking a safer route
2019-08-08 22:12:51 -04:00
rusefi
6043c93372
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
81d41f091d
poke
2019-08-08 20:32:00 -04:00
rusefi
334f021137
WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
...
more refactoring
2019-08-08 00:32:31 -04:00
rusEfi
a3dfd5f8c6
NA6 MRE details
2019-08-06 17:59:02 -04:00
rusefi
67637cb1b5
better method name
2019-08-06 17:12:15 -04:00
rusefi
456cc84181
fixing unit tests build
2019-08-05 23:36:18 -04:00
rusEfi
1e64c5a67f
MRE test setup
2019-08-05 23:00:35 -04:00
rusefi
d57779b686
F7 nucleo does not work?
...
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
Matthew Kennedy
9d3e201193
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
efb5e0377a
MRE is getting closer!
2019-07-25 21:39:39 -04:00
rusefi
24e580f4b9
removing least useful engine configurations
2019-07-25 00:03:57 -04:00
rusefi
e01d1f1560
fixing build?
2019-07-24 23:41:26 -04:00
rusefi
f2e1858a95
fixing build?
2019-07-24 23:16:17 -04:00
rusefi
d253d07732
nevermind
2019-07-24 22:37:27 -04:00
rusefi
d4c28ecc69
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:33:30 -04:00
rusefi
00ff37947d
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:00:48 -04:00
rusefi
ac18459e3f
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
...
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
rusefi
ffdd37021f
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 21:15:18 -04:00
Matthew Kennedy
a2f2a677b4
Remove warmup afr pid ( #879 )
...
* config changes
* actually remove from config
* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi
756dec106a
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy
0b52f5b542
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03:00
rusefi
e309e223aa
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
d90c6ee1a3
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
89f59db75f
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
58be63f5a9
https://github.com/rusefi/hw_microRusEfi/issues/57
2019-06-10 17:33:05 -04:00
rusefi
81a68f59b7
input has sizes hard-coded #836
2019-06-10 15:45:18 -04:00
rusefi
135ff2d50d
MRE
2019-06-07 18:02:28 -04:00
rusefi
dac10d23b0
MC33816 integraion #784
2019-05-25 17:18:16 -04:00
rusefi
32601867fe
fix #802
2019-05-25 13:36:29 -04:00
rusEfi
40d5b047b2
proper void value
2019-05-04 10:46:48 -04:00
rusefi
85b790edcf
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
f6c5f8764a
fixing build & refactoring
2019-04-28 23:42:49 -04:00
rusEfi
1c013228dc
'warninigLedPin' typo and minor TS progress
2019-04-28 23:04:52 -04:00
rusefi
f4bb936243
tiny progress
2019-04-21 14:21:47 -04:00
rusefi
23e591a253
this change is probably breaking stuff, but some stuff is already broken. something is not right in too many places :(
2019-04-21 14:00:19 -04:00
rusefi
2de51a7e2f
docs
2019-04-21 13:31:55 -04:00
andreika-git
b5f87ae584
Default config refactor ( #762 )
...
* Refactor config
* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
rusefi
96bcd0f3a7
Revert "Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656""
...
This reverts commit bba5f7f9e3
.
2019-04-15 21:37:54 -04:00
rusefi
bba5f7f9e3
Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656"
...
This reverts commit 05f6aabe
2019-04-15 20:42:22 -04:00
rusefi
05f6aabe32
The Big Refactoring of 2019: configuration version should not be a global variable fix #656
2019-04-15 20:27:19 -04:00
andreika-git
ca255a90c2
More config portability: TLE6240, Trigger_input, UART/Serial ( #759 )
...
* Add fields to UART/Serial configs
* trigger_input: can be both HAL_USE_PAL and HAL_USE_COMP
* tle6240 config: local temporary solution
* Fix for custom_engine::setFsio
* EFI_ACTIVE_CONFIGURATION_IN_FLASH
2019-04-15 08:40:12 -04:00
rusefi
884c54a185
defined(__DOXYGEN__) ? #748
2019-04-12 22:07:03 -04:00
dron0gus
0212cf644c
Subaru EJ20G ECU: initial support ( #751 )
2019-04-13 01:23:48 +02:00
rusEfi
c130b249ba
cleanup #4
2019-04-11 22:15:06 -04:00
dron0gus
12e07bc3ab
Some more include fixes for linux ( #738 )
...
* Some more include fixes for linux
* Pass cross-compile path through CROSS_COMPILE
* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi
acf1216ab0
rusEfi settings editor is broken for one byte enums fix #709
2019-04-08 11:57:16 -04:00
rusefi
d5fd0f0f86
we need TLE8888 driver #714
2019-04-04 21:34:33 -04:00
rusefi
6fc05ee07c
cranking base_fuel reform
2019-04-04 08:26:57 -04:00
rusefi
0121a7bc5b
The Big Refactoring of 2019: folder structure #723
2019-04-02 23:19:21 -04:00
rusefi
bceec323c2
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
removing startConsoleInBinaryMode
2019-04-01 11:45:06 -04:00
rusefi
c29e6d99c4
The Big Refactoring of 2019: folder structure #723
2019-03-31 16:56:13 -04:00
andreika-git
c7b1bb1ff1
More portability & bootloader fix ( #720 )
...
* fix bootloader
* EFI_FSIO
* EFI_EMULATE_POSITION_SENSORS, EFI_BOARD_TEST, EFI_AUX_PID, EFI_JOYSTICK
2019-03-29 15:46:15 +01:00
andreika-git
a79175f6ef
More portability & small fixes ( #719 )
...
* Use hw_stm32.mk
* Fix bootloader
* Use more common hw_ports.mk filename instead of hw_stm32.mk
* More CPU compatibility for Makefile
* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE
* Move lockAnyContext()/unlockAnyContext() to rfiutil.c
* USE_FATFS
* EFI_LCD
* Less compilation errors
* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE
* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS
* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()
* merge
* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
andreika-git
b7a9cc13bb
Idle timing PID control & TPS-based VE table ( #713 )
...
* Add new config settings for idleTimingPidControl & TPSBasedVeTable
* Add dialogs for idleTimingPidControl settings
* Add dialogs for TPSBasedVeTable settings
* Share the code for getTargetRpmForIdleCorrection() and move it from idle_thread.cpp
* Implement TPSBasedVeTable
* Add PID to advance_map.cpp
* Implement idleTimingPidControl
* Make getAdvanceCorrections() visible to unit-tests
* Unit-tests! Yeah!
2019-03-22 22:55:51 -04:00
rusefi
9e46bbf519
better Electronic Throttle body control #493
...
two ETBs
2019-03-10 12:02:25 -04:00
rusefi
78c87195c8
ETB_BENCH_ENGINE
2019-02-27 08:55:56 -05:00
rusefi
742bc38665
NA6 base tune
2019-02-26 21:50:58 -05:00
rusefi
55729a1aa6
F7
2019-02-24 09:49:46 -05:00
rusefi
34aa05cda9
refactoring: reducing code duplication
2019-02-23 12:33:49 -05:00
rusefi
c60c8ce777
better (?) variable names
2019-02-10 22:47:49 -05:00
Matthew Kennedy
a0c130b81c
Fix dwell default, improve TS field names ( #689 )
...
* improve message
* clarify cranking dwell settings
* change default
* fix unit test that made assumption
2019-02-07 07:44:07 -05:00
rusefi
4e95a6c002
dwell docs & better command name
2019-02-06 00:05:14 -05:00
rusefi
1e12cbefd5
dwell docs
2019-02-05 23:49:19 -05:00
rusefi
aba0f44df5
NA6 progress
...
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi
b1d8bf0dbf
minimal pin configuration & EFI_COMMUNICATION_PIN fix
2019-01-26 11:38:14 -05:00
rusefi
0fbc62ec5c
STM32F407VET6 Mini first steps
2019-01-25 23:42:49 -05:00
rusefi
69d65ce044
stage 0 configuration
2019-01-19 20:27:14 -05:00
rusefi
d4443164e8
The Big Refactoring of 2019: configuration version should not be a global variable #656
2019-01-15 21:51:09 -05:00
rusefi
d959e58578
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-10 21:10:46 -05:00
rusefi
c1509dd0b7
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-10 19:25:07 -05:00
rusefi
6682a7def2
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-10 17:07:29 -05:00
rusefi
b9f28b43aa
Revert "The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657"
...
This reverts commit 4e5cbe3
2019-01-10 00:56:08 -05:00
rusefi
4e5cbe3764
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 23:38:59 -05:00
rusefi
7151749c4a
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 21:31:59 -05:00
rusefi
daeaa925f2
refacoting: making code more consistent
2019-01-05 00:57:09 -05:00
rusefi
9afe619652
making either Matt or compiler or both happier
2019-01-05 00:11:17 -05:00
rusefi
dc5fe620ee
Saab CDM knock signal integration #647
2019-01-04 23:47:39 -05:00
rusEfi
c3380c4ef3
#35
2019-01-04 17:18:43 -05:00
rusefi
968fdd2913
#635
2019-01-01 14:14:09 -05:00
rusefi
e6a139b044
#625
2018-12-25 21:05:06 -05:00