Commit Graph

3008 Commits

Author SHA1 Message Date
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