Commit Graph

128 Commits

Author SHA1 Message Date
andreika-git 97191fda08 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 9c4da7d9f8 better location for spi pin modes
stm32-specific code would upset someone
2019-03-29 02:44:52 -04: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 1f028a5995 idle status improvement 2019-03-21 23:50:50 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusEfi ac92a0380e reducing warning noise 2019-03-02 13:04:26 -05:00
rusefi 742bc38665 NA6 base tune 2019-02-26 21:50:58 -05:00
dron0gus 2027977e2c warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 42bfe8cf28 wider usage of PeriodicController 2019-02-11 15:09:24 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi e7a694a87c #657 pulling global access down 2019-01-28 00:52:21 -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 53e8d10c55 refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi ad64e1b410 refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 35ed0fc2a3 better fields location, better initialization logic 2019-01-19 21:10:58 -05:00
rusefi d37c5c54a2 idle bench test from TS 2019-01-13 19:41:39 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi b09850c766 #635 better names 2018-12-25 10:13:00 -05:00
andreika-git 96dfebc542 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi a3e77d7b28 #616 idle for simulator 2018-11-01 15:57:50 -04:00
rusefi 8af9751beb #616 idle into simulator 2018-10-30 08:21:50 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi 7523f12194 #600 2018-07-29 18:02:37 -04:00
rusefi 6704806c04 #599 2018-07-29 16:49:42 -04:00
rusefi 52a1ac2b10 better idle debug info 2018-07-29 16:36:18 -04:00
rusefi 7abd2d9b0a additional IDLE verbose state 2018-07-29 12:23:55 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
andreika-git 3f5cae14c9 Idle PID Coasting & Amplification Improvements (#589)
* PID Error Amplification Coef

* Add settings: useIacTableForCoasting,pidExtraForLowRpm,iacCoasting

* Modify interface for the new settings

* Run gen_config.bat and generate configs

* idlePositionSensitivityThreshold

* Remove cltCorrection from autoIdle() & more verbose debug

* Impl. idlePidRpmDeadZone and pidExtraForLowRpm; reset PID when deactivated

* Impl. useIacTableForCoasting+iacCoasting and idlePidRpmUpperLimit
2018-03-30 08:42:13 -04:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
andreika-git 0e6cea5cdd Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC) (#520)
* Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC)

* typo

* Remove unused targetIdleRpm from TS config
2017-12-27 17:56:04 -05:00
rusefi fb6cb5b2cf switching to target RPM curve 2017-12-24 22:05:16 -05:00
andreika-git 1610f2922c Implement iacByTpsTaper (#486) 2017-11-03 18:04:24 -04:00
andreika-git 5e79c90caa Use RTC backup register to save Stepper IAC position (#471) 2017-08-07 07:28:21 -04:00
andreika-git db2d78c384 Iac cranking running taper (#465)
* IAC taper

* chibios sync

* fix for afterCrankingIACtaperDuration==0
2017-08-01 16:27:16 -04:00
rusefi a19ae1bdc4 docs 2017-07-31 14:36:01 -04:00
rusefi 675a8edf70 P parameter multiplier for logs 2017-07-23 12:12:35 -04:00
rusefi d00efdca14 minor progress 2017-07-23 10:29:10 -04:00
rusefi 956766754a improvement: IAC solenoid frequencty changeable on the fly 2017-07-10 22:24:03 -04:00
rusefi 7d96b15696 RPM refactoring done 2017-07-08 07:19:26 -04:00
rusefi d3c1710de3 RPM refactoring 2017-07-07 07:04:40 -04:00
andreika-git b7af346470 fix crankingIACposition on RPM=0 (#451) 2017-06-28 02:22:57 +03:00
Andrei 1146c3e8ac engineConfiguration->stepperDirectionPinMode 2017-06-13 21:32:34 +03:00
Andrei 56bddfb677 stepperDirectionPin Mode 2017-06-13 16:28:05 +03:00
rusefi 03a0b44e60 #4 2017-06-04 21:15:44 -04:00
rusEfi 013f30727f PID refactoring 2017-05-29 23:15:07 -04:00
rusefi b20d2a4728 better error handling 2017-05-29 12:40:02 -04:00