Commit Graph

3089 Commits

Author SHA1 Message Date
rusEfi 892be38a03 ETB tiny progress 2019-04-30 19:22:12 -04:00
rusefi 899b96eec2 ETB tiny progress 2019-04-30 18:46:39 -04:00
rusEfi 67e8adf6f5 ETB micro progress 2019-04-30 01:21:09 -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 f9802b8542 ETB pause feature - useful while playing on the bench 2019-04-26 13:46:58 -04:00
rusefi ded9b017e1 PID - fix dTime usages fix #776 2019-04-26 00:45:53 -04:00
rusefi 65fb45c8a6 The Big Refactoring of 2019: folder structure #723 2019-04-25 22:10:58 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi 0a3a75ae79 PID - fix dTime usages #776 2019-04-25 18:49:16 -04:00
rusefi 0292df332c reducing analog_inputs debug confusion :) 2019-04-25 08:32:20 -04:00
rusefi 304e8600e5 electrical noise during tuning ETB causes full tune reset #775 2019-04-25 00:18:37 -04:00
rusefi 8e6aa49aa7 electrical noise during tuning ETB causes full tune reset #775
this fix did not seem to work :(
2019-04-25 00:10:39 -04:00
rusefi 0b0ef9e094 ETB progress 2019-04-24 23:46:49 -04:00
rusefi b8ae3810b3 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi ea9624b472 docs 2019-04-24 20:47:38 -04:00
rusefi dacf305011 docs 2019-04-24 17:00:05 -04:00
rusefi f478e83783 ETB progress 2019-04-23 23:20:14 -04:00
rusefi 09fea8b7f9 progress 2019-04-23 23:19:12 -04:00
rusefi f100a701a1 ETB progress 2019-04-23 23:18:48 -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
rusefi 14bee909bc docs 2019-04-21 12:24:31 -04:00
rusefi 0b1620feb2 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:39:06 -04:00
rusefi fb30089d89 USB and TLE8888 not working for F4 or F767 #764
this RAM would be needed to run three smart SPI threads
2019-04-20 17:35:24 -04:00
rusefi 9f64e1c73e TPS/TPS logging delta TPS not consistent with actual logic fix #768 2019-04-20 17:34:23 -04:00
rusefi 1de81b44be TPS/TPS TS confusion reduction 2019-04-20 14:54:16 -04:00
rusefi e4bb98b779 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:57:40 -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 3732eedbf0 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:09:43 -04:00
rusefi 7c7889cb71 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -04:00
rusefi 0171e00231 PWM parameter validation fix #594 2019-04-15 20:47:06 -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
rusefi 2badaa4f73 we need TLE8888 driver #714 2019-04-15 19:15:53 -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 220e72fdc5 SPI progress 2019-04-14 18:12:15 -04:00
rusefi 6bda683fba random cleanup 2019-04-14 13:52:27 -04:00
rusefi d67f3dc6e1 we need TLE8888 driver #714 2019-04-14 08:20:25 -04:00
dron0gus d0945b9449 Smart gpios (#752)
* efi_gpio: update cached pin value for ext gpios to

* tle6240: update and fix

* gpiochips_init should be called after all gpio chips are added

or we can lost calls to _init of chips

* smart_gpio.c: fix for tle6240 and mc33972

now config structs are not const. waste of ram...
2019-04-14 01:32:46 +02:00
rusefi 334b5d1992 steps towards smarter gpio 2019-04-13 12:02:34 -04:00
rusefi 50c481924e steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi c018341591 ETB using tle7209 fix #746 2019-04-13 01:03:12 -04:00
rusefi 6d2d603a35 TODO 2019-04-12 23:31:20 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi 8f4795d9fa smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:15:18 -04:00
rusefi 54f83a431e smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:11:27 -04:00
rusefi cad2297a72 smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:06:09 -04:00
rusefi 522dcd4766 learning C++ 2019-04-12 19:56:34 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusefi b973379a35 docs 2019-04-12 18:24:43 -04:00
rusefi 76d3630588 ETB using tle7209 #746 2019-04-11 23:21:16 -04:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
rusefi dca031cbe7 fixing EnumToString in light of __packed__ 2019-04-10 19:07:16 -04:00
rusefi ab100d3380 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-10 18:24:03 -04:00
rusefi 0a341e668d SPI-controlled outputs #697
better spot for this code
2019-04-10 18:23:31 -04:00
dron0gus 715d225cf4 gpiochips integration: remove incorrect code (rebase issue) (#742) 2019-04-10 16:25:50 +02:00
dron0gus 551f2f5883 Gpiochips integration (#740)
* gpio-chips core function renames

* efi_gpio, pin_repository: add support for external gpios

* gpio-chips update

* gpio-chips: add api to name each pin of gpiochip

* tle6240: provide individual names for each pin
2019-04-10 14:43:54 +02:00
rusefi 4011372da8 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:17:09 -04:00
rusefi f554572c54 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:01:45 -04:00
rusefi c0a8c2e80f The Big Refactoring of 2019: folder structure #723 2019-04-09 23:00:17 -04:00
rusefi 757832c91b The Big Refactoring of 2019: folder structure #723 2019-04-09 22:52:03 -04:00
rusefi 19917361a2 FATAL error loading TS project
fix #736
2019-04-09 22:15:55 -04:00
rusefi 3f3c9dba40 fixing continues integraion? 2019-04-09 21:36:53 -04:00
dron0gus 69df5d4b50 gpios rework (#739)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux

* Rename unmarkPin to brain_pin_markUnused

This is part of external gpiochip integration

* Add gpio_pin prefix to markUsed and markUnused

To distinguish from similar functions using brain_pin

* pin_repository: add helpers

this is part of gpio chips integration

* efi_gpio: simplify getHwPin using brain_pin_is_onchip
2019-04-10 01:31:10 +02: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 dae6638b62 rusEfi settings editor is broken for one byte enums #709 2019-04-08 11:19:07 -04:00
rusefi 82028b29f8 better ICU error handling 2019-04-07 18:25:46 -04:00
rusefi 9a84db26af release notes 2019-04-07 12:27:59 -04:00
rusefi df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi c993e1f429 The Big Refactoring of 2019: folder structure #723 2019-04-05 01:02:34 -04:00
rusefi 259ff0141a we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
rusefi e84ad495db docs 2019-04-04 21:45:18 -04:00
rusefi d5fd0f0f86 we need TLE8888 driver #714 2019-04-04 21:34:33 -04:00
rusefi b23f9e9cf4 we need TLE8888 driver #714 2019-04-04 19:56:03 -04:00
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 6a72593bc3 Reduce RAM used for trigger shape definition #731 2019-04-03 12:39:01 -04:00
rusefi 541d0b8a9f Reduce RAM used for trigger shape definition #731 2019-04-03 12:16:27 -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 540e0a2c85 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725 2019-04-01 11:16:19 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
andreika-git 03a8e68b2d trigger_input_icu, EFI_ENABLE_MOCK_ADC, HALINC_CONTRIB (#724)
* trigger_input_icu.cpp

* EFI_ENABLE_MOCK_ADC

* $(HALINC_CONTRIB)
2019-03-31 23:15:32 +02:00
rusefi 581d3d0c1b The Big Refactoring of 2019: folder structure #723 2019-03-31 17:14:53 -04:00
rusefi c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
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 9cad2ba299 docs 2019-03-29 10:49:56 -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
rusefi cf8d3666a2 docs 2019-03-29 10:37:33 -04: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 1f028a5995 idle status improvement 2019-03-21 23:50:50 -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 df420322f8 docs 2019-03-17 18:11:03 -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 24e6f13d6a TS command to reset firmware 2019-03-12 20:33:13 -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 0afb571bfb fixing build? 2019-03-11 15:02:27 -04:00
rusefi 141d13ec8d command line progress? 2019-03-11 13:51:03 -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 849846e4ec better Electronic Throttle body control #493 2019-03-11 00:31:06 -04:00
rusefi 843d887ed7 better Electronic Throttle body control #493 2019-03-10 12:58:27 -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
dron0gus 19cdfab5f5 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusefi 20bc4cc2b6 trigger docs pain #671 2019-03-05 18:10:20 -05:00
rusefi cf55432c5c ETB quality instrumentation #494
set10K_4050K(ThermistorConf *thermistorConf)
2019-03-04 14:37:23 -05:00
rusefi 4873082017 refactoring trigger simulation 2019-03-04 01:10:31 -05:00
rusefi 485b915499 reducing code duplication 2019-03-04 00:40:22 -05:00
rusefi 079d1447a9 refactoring: removing unused variables 2019-03-04 00:21:02 -05:00
rusEfi 9cfbb8d1e1 ETB progress 2019-03-03 15:27:49 -05:00
rusefi 72a8346587 code style 2019-03-02 22:54:28 -05:00
rusEfi c5be9840e9 new 'etbreset' command 2019-03-02 15:04:42 -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 ac92a0380e reducing warning noise 2019-03-02 13:04:26 -05:00
rusEfi 5b2476f37f ETB 2019-03-01 23:09:33 -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 0cac08b657 ETB 2019-02-27 17:54:25 -05:00
rusEfi 3aa1944ec0 typo 2019-02-27 17:13:05 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusEfi b0377cec8e ETB 2019-02-27 09:57:03 -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