Commit Graph

1591 Commits

Author SHA1 Message Date
rusefi 6fc05ee07c cranking base_fuel reform 2019-04-04 08:26:57 -04:00
rusefi 62fb26a60c gen_config: add rusefi_config_custom.txt to override #defines #727 2019-04-03 19:05:41 -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 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -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
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
rusefi 4e334c1180 sync 2019-03-28 22:48:12 -04:00
andreika-git 887580f7e2 Tps-accel. fractional mode (#715)
* Add new config settings for tps_accel_fractional_mode

* Add new variables for the fractional algo

* Add resetFractionValues() method

* Call onEngineCycleTps() and fix onEngineCycle()

* Implement the fractional algo

* More debug outputs for tps-enrich

* Nice & juicy unit-test!
2019-03-28 22:47:20 -04:00
rusefi 76b7554491 we need TLE8888 driver #714 2019-03-26 12:30:30 -04:00
rusefi 9873606991 more SPI speeds and TLE8888 to full pinout 2019-03-26 10:35:33 -04:00
rusefi ddb0fc6510 better error handling for invalid SPI settings 2019-03-26 09:38:23 -04:00
rusefi 3ff5581e77 SPI prescaler refactoring 2019-03-25 22:41:31 -04:00
rusefi 1f81aa169a we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi 11e60e35bf we need TLE8888 driver #714 2019-03-25 15:08:32 -04:00
rusefi 9e5aab38c6 docs 2019-03-23 08:55:33 -04:00
rusefi b92259bfae get_config for #713 2019-03-22 23:00:21 -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 5d8a7697f7 TODO AEM WBO? 2019-03-21 22:21:30 -04:00
rusefi e6edc4942c cranking docs 2019-03-21 20:26:14 -04:00
rusefi 61b54b3f80 TPS acceleration docs 2019-03-16 11:14:52 -04:00
rusefi e43ae3092d random progress 2019-03-14 13:28:51 -04:00
rusefi dbfb040990 fuel gauges unification 2019-03-12 21:48:28 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusefi e7660a9090 overall usability progress 2019-03-12 14:35:49 -04:00
rusefi 9d851d59f4 hip9011 knock detection chip driver #35 2019-03-11 13:38:39 -04:00
rusefi 5b8dc728c8 hip9011 knock detection chip driver #35 2019-03-11 09:42:11 -04:00
rusefi 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusEfi 90bf18bcd7 better Electronic Throttle body control #493 2019-03-09 23:31:47 -05:00
rusefi 20bc4cc2b6 trigger docs pain #671 2019-03-05 18:10:20 -05:00
rusEfi 91e421ebae ETB iTerm limits 2019-03-02 14:00:32 -05:00
rusEfi c99c44102e "debug i4" & "debug i5" gauges 2019-03-02 13:26:20 -05:00
rusEfi e93c2b5efb TPS commands & compacting 2019-03-02 13:21:12 -05:00
rusefi 0fbc8c7adc #699 2019-02-28 21:17:35 -05:00
rusefi 7796c4e72c #699 2019-02-28 21:09:31 -05:00
rusefi 1f2ac36ca4 #699 2019-02-28 19:48:38 -05:00
rusefi 1d9720e5e5 #699 2019-02-28 19:42:15 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusEfi e1d9012dac docs 2019-02-27 09:43:49 -05:00
rusefi 78c87195c8 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00
rusefi d9489b9ad5 TS project clean-up 2019-02-26 22:32:17 -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 d8c0a5cf49 fix #688 2019-02-23 08:52:12 -05:00
rusefi 45e5913aa3 #688 2019-02-22 22:17:09 -05:00
rusefi e1ba29febd 688 brainpins (#694)
* GPIOF, GPIOG and GPIOH ports are not available #688
2019-02-22 22:10:41 -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 068bac893b v12 two coils mode 2019-02-15 03:44:09 -05:00
rusefi 23a8f5b526 wider usage of PeriodicController 2019-02-10 23:54:41 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 80173c3529 dead code 2019-02-09 21:37:02 -05:00
rusefi abd298a6bf docs 2019-02-09 17:17:23 -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 4fa48c0ca7 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 70f5d3e69c better conditional compilation 2019-01-31 11:57:15 -05:00
rusefi db9a99b0c5 #656 global is not great 2019-01-28 02:29:13 -05:00
rusefi f1485cf8b4 #657 2019-01-28 01:25:23 -05:00
rusefi 0cd324ecac better (?) location for files 2019-01-28 01:09:13 -05:00
rusefi 57c6b75e81 #657 pulling global access down 2019-01-28 00:44:30 -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 afc4f1da51 #669 renaming error code 2019-01-26 13:19:18 -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 6c5becdbdc docs 2019-01-25 22:19:44 -05:00
rusefi 4877931613 C++11 and unique method name 2019-01-22 19:07:36 -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 141e392a05 refactoring: reducing header tree hell 2019-01-20 23:44:05 -05:00
rusefi c0f4208f73 refactoring: reducing header tree hell 2019-01-20 23:38:41 -05:00
rusefi 37a47b1f25 refactoring: reducing header tree hell 2019-01-20 23:30:40 -05:00
rusefi 21e7bc2988 refactoring: reducing header tree hell 2019-01-20 23:25:39 -05:00
rusefi cd1760fafd docs 2019-01-20 20:03:15 -05:00
rusefi 6244cda6b4 better method name and docs related to improved craking logic 2019-01-20 11:33:40 -05:00
rusefi f487b9363c I like C++11 :) 2019-01-19 22:31:55 -05:00
rusefi 8beae89bcb FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00
rusefi 35ed0fc2a3 better fields location, better initialization logic 2019-01-19 21:10:58 -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 86a0d67d70 learning C++ 2019-01-15 20:24:36 -05:00
rusefi c581ea229c The Big Refactoring of 2019: configuration version should not be a global variable #656
making a global not global
2019-01-14 12:21:26 -05:00
rusefi 234677df36 Trigger: Question: something strange trigger errors #662
second attempt for CUSTOM_ERR_6696 implementation
2019-01-14 11:30:41 -05:00
rusefi be7df42f43 Trigger: Question: something strange trigger errors #662
refactoring towards an improvement
2019-01-14 10:58:38 -05:00
rusefi 3ba624e279 one step back - fixing tests 2019-01-14 10:23:52 -05:00
rusefi 479edff460 Trigger: Question: something strange trigger errors #662
hopefully CUSTOM_ERR_START_STACK fix
2019-01-14 08:57:08 -05:00
rusefi 9d1292715b enjoying C++11 2019-01-13 23:44:26 -05:00
rusefi 43735bffa0 enjoying C++11 2019-01-13 23:25:15 -05:00
rusefi 1a52fa3693 grouping trigger-related codes together 2019-01-13 20:12:48 -05:00
rusefi b76c015581 Question: something strange trigger errors #662
unit test progress
2019-01-12 21:36:50 -05:00
rusefi 61b2592c39 field name typo 2019-01-12 14:19:21 -05:00
rusefi 9e73d7bafe making warning codes more unit testable 2019-01-12 08:34:38 -05:00
rusefi a619600549 minor LCD progress 2019-01-12 04:53:06 -05:00
rusefi 7893486065 new unit test 2019-01-11 19:08:15 -05:00
rusefi f140c97ab2 BUG: FATAL in firmware with DEBUG mode #667 2019-01-11 17:40:44 -05:00