Commit Graph

5106 Commits

Author SHA1 Message Date
rusefi e4bb98b779 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:57:40 -04:00
rusefi d4137ed1b9 non-default CI issues 2019-04-19 13:52:13 -04:00
rusefi 89dfd605eb non-default CI issues 2019-04-19 13:38:13 -04:00
rusefi c55300df7d USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:01:06 -04:00
rusefi 476db0c857 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 12:42:21 -04:00
rusefi 6d673b4bd8 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 06:33:49 -04:00
rusefi 1bca671537 USB not working for F4 or F767 #764 2019-04-19 06:07:40 -04:00
rusefi a43ab0b9da trying again #764 2019-04-19 01:56:05 -04:00
dron0gus aaad44dfa1 Smart gpio fixes 2 (#765)
* gpio chips: relax error checking on _add

Do not halt whole system if wrong or nulled config is passed.
In current smart-gpio implementation this can happen and it is not
as error. Let smart-gpio handle this, kust reurn negative.

* tle8888: return back includes needed for debug

* smar-gpio: -Werror=missing-field-initializers fix
2019-04-19 01:42:24 -04:00
rusefi f874a809d0 ? 2019-04-19 00:10:26 -04:00
rusefi ca7fe4fffa fixing bootloader 2019-04-18 09:05:58 -04:00
rusefi befc01a601 would it work? 2019-04-18 08:57:59 -04:00
rusefi db49398838 poke 2019-04-17 19:07:21 -04:00
andreika-git b5f87ae584 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
dron0gus e0796d673b Smart gpios fixes - now without cleanup of smart_gpio.cpp (#758)
* smart_gpio.cpp: check _add return values

And occupy gpiochip's pin range if disabled of failed. So base will
align with enum.

* TLE8888: cleanup, move high level code to smart_gpio.cpp

* smart_gpio.cpp: fix compilation when BOARD_EXT_GPIOCHIPS == 0

* board-subaru: fix compilation after latest smart_gpio updates

* tle8888: now we have all 28 pins supported
2019-04-16 09:23:24 -04:00
rusefi c4a0de35d5 baro? 2019-04-16 01:55:15 -04:00
rusefi 57bdac9118 one step back 2019-04-16 01:32:24 -04:00
rusefi adceeaff8d running with BOARD_MC33972_COUNT 2019-04-15 23:15:16 -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 eecc3ec3b6 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:06:48 -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 877ac257fe The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:25 -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 f171675151 poke 2019-04-15 19:46:12 -04:00
rusefi 2badaa4f73 we need TLE8888 driver #714 2019-04-15 19:15:53 -04:00
andreika-git 4c00b4c6fb A tiny fix of EFI_ACTIVE_CONFIGURATION_IN_FLASH (#761) 2019-04-15 13:36:25 -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
dron0gus f572067772 Subaru EJ20G board: fix compilation after directory rename (#756) 2019-04-15 00:30:56 -04:00
rusefi 220e72fdc5 SPI progress 2019-04-14 18:12:15 -04:00
rusefi f6eb829fef cj125 and hip125 and else SPI broken with chibi18 migration #757 2019-04-14 18:09:58 -04:00
rusefi cedcd5fcf2 we need TLE8888 driver #714 2019-04-14 17:10:59 -04:00
rusefi 48f6d9529c we need TLE8888 driver #714 2019-04-14 16:08:39 -04:00
rusefi 7d976323a0 Merge remote-tracking branch 'origin/master' 2019-04-14 13:57:09 -04:00
rusefi 6bda683fba random cleanup 2019-04-14 13:52:27 -04:00
andreika-git 4e7715fab2 Add more portability to smart_gpio & SPI (#754) 2019-04-14 13:35:30 -04:00
rusefi d4413a79b9 random cleanup 2019-04-14 13:21:03 -04:00
rusefi b552b8c47d Merge remote-tracking branch 'origin/master' 2019-04-14 13:19:52 -04:00
rusefi dfe3fbe9dd random cleanup 2019-04-14 13:19:36 -04:00
rusefi d67f3dc6e1 we need TLE8888 driver #714 2019-04-14 08:20:25 -04:00
dron0gus 527cba3e35 TLE8888: remove hacks (#753) 2019-04-14 08:15:01 -04:00
rusefi d4d9fb2721 last part of this typo 2019-04-14 07:45:28 -04:00
rusefi 3c90bb7656 poke 2019-04-13 22:56:58 -04:00
rusefi 7a2fa62635 typo 2019-04-13 22:56:33 -04:00
rusEfi ad50909f18 thank you Dron_gus fot the idea! 2019-04-13 19:55:18 -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 8d587ed3c9 my hope is gone 2019-04-13 19:09:39 -04:00
rusEfi 7a96c42d86 talk to me? 2019-04-13 18:47:32 -04:00
rusEfi 7a2856c0fb reducing risks 2019-04-13 18:31:16 -04:00
rusEfi 45df0b0eba reducing risks 2019-04-13 18:26:29 -04:00
rusEfi 6cec2dcabf I am in macro hell :( 2019-04-13 17:34:26 -04:00
rusefi 8deabecd48 fail faster 2019-04-13 17:20:02 -04:00
rusefi a1ea65ed22 more messages for build server 2019-04-13 16:50:24 -04:00
rusefi 4adf3e0ff7 we need TLE8888 driver #714
reviving build
2019-04-13 16:35:45 -04:00
rusefi 45c8c194e1 we need TLE8888 driver #714 2019-04-13 12:43:19 -04:00
rusefi 334b5d1992 steps towards smarter gpio 2019-04-13 12:02:34 -04:00
rusefi fb1dd5a3ca steps towards smarter gpio 2019-04-13 11:22:40 -04:00
rusefi c53433801c 'pins' fix 2019-04-13 10:59:29 -04:00
rusefi 50c481924e steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi 834fce0828 steps towards smarter gpio 2019-04-13 10:11:28 -04:00
rusefi 2f5c20e4da progress? 2019-04-13 01:05:01 -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 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi fe1f871a69 defined(__DOXYGEN__) ? #748 2019-04-12 20:52:51 -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
rusefi 1c96f971ce ? 2019-04-12 19:38:06 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
dron0gus 3c0d91e94b gpio-chips: TLE8888 add initial support of spi-driven outputs (#750) 2019-04-13 01:22:16 +02:00
rusefi 9d3fb9f379 how about now? 2019-04-12 19:03:02 -04:00
rusefi abeb1165fd makes little sense 2019-04-12 19:01:04 -04:00
rusefi 14fe3f02e0 what is wrong with CI? 2019-04-12 18:50:18 -04:00
rusefi b973379a35 docs 2019-04-12 18:24:43 -04:00
rusefi 484e9ff7a4 fix or safer code? 2019-04-12 18:10:47 -04:00
rusefi 174fd2d0be progress 2019-04-12 17:39:49 -04:00
dron0gus e895593e67 Simulator (#749)
* Hide trigger_input.cpp if EFI_SHAFT_POSITION_INPUT == FALSE

* hide some hw-specific code under EFI_PROD_CODE
2019-04-12 23:28:19 +02:00
rusefi 071c46df76 defined(__DOXYGEN__) ? #748 2019-04-12 17:18:33 -04:00
dron0gus da452aafa7 gpio chips (#744)
* tle8888: fix building for stm32f765

* gpio-chips: add mc33972 driver
2019-04-12 22:14:25 +02:00
rusefi b71a7ef2a4 steps towards prometheus CI 2019-04-12 15:07:17 -04:00
rusefi d890830e93 fixing at least unit tests 2019-04-12 08:33:40 -04:00
dron0gus eee9a5c867 trigger input: add PAL support (#743) 2019-04-12 14:05:53 +02:00
rusefi 76d3630588 ETB using tle7209 #746 2019-04-11 23:21:16 -04:00
rusefi 07dc854809 clean-up 2019-04-11 22:40:43 -04:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
dron0gus b3a161fce6 Cleanup 3 (#745)
* status leds: pick warning LED pin from configuration

* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02: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
rusefi e002f141fa fixing build - BOOTLOADER has it's special limitations 2019-04-10 09:02:32 -04: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 3e656803e8 folder name consistency 2019-04-09 18:47:38 -04:00
rusefi e30dfaf333 reducing duplication
removing unused (?) defines
removing value space overlap between PROJECT_BOARD and PROJECT_CPU
2019-04-09 18:37:25 -04:00
rusefi 989af6e16e Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-09 18:13:32 -04:00
rusefi f3942334f7 helping linux build a little bit 2019-04-09 18:13:11 -04:00
andreika-git c932fed64a Fix Prometheus config (#737) 2019-04-09 15:34:02 +02:00
rusEfi df455b43c5 docs 2019-04-08 18:09:07 -04:00
rusEfi da5990a9a2 docs 2019-04-08 18:05:16 -04: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 23d3ac0a84 we need TLE8888 driver #714 2019-04-07 08:35:04 -04:00
rusefi 3cc32a5c09 we need TLE8888 driver #714
F7 support
2019-04-06 22:04:35 -04:00
rusefi 33b0bee2cd we need TLE8888 driver #714 2019-04-06 13:11:46 -04:00
rusefi 131533cc13 we need TLE8888 driver #714 2019-04-06 12:26:37 -04:00
rusefi dd09ea7d90 we need TLE8888 driver #714
it works now! all SPI/CS pins in 'default' mode
2019-04-06 10:30:20 -04:00
rusefi 05c7baa7a1 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi b4077d72ba we need TLE8888 driver #714 2019-04-06 07:38:02 -04:00
dron0gus 878b75f575 tle8888: fix spi confog for STM32F4 (#735)
* tle8888: fix spi confog for STM32F4

* TLE8888: fix array out of bounds access due to incorrect define used in loop
2019-04-06 00:37:00 +02:00
rusefi df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi bbdd19fb26 The Big Refactoring of 2019: folder structure #723 2019-04-05 01:24:42 -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 ab601820e0 we need TLE8888 driver #714 2019-04-04 20:57:51 -04:00
rusefi 53f5a60ff5 we need TLE8888 driver #714 2019-04-04 20:03:31 -04:00
rusefi b23f9e9cf4 we need TLE8888 driver #714 2019-04-04 19:56:03 -04:00
rusefi 9c05a42b1b we need TLE8888 driver #714 2019-04-04 19:29:33 -04:00
dron0gus ea1f2527cb Extgpios integration 1 (#734)
* pin repository: add brain_pin_markUsed and brain_pin_markUnused

This is part of external gpio chips integration

* pin repository: simplify getPinFunction()

* pin repository: add brain_pin_is_onchip()

This is part of external gpio chips integration

* pin repository: kill signed vs unsigned warning
2019-04-05 00:53:27 +02:00
rusefi 72251d6a24 fixing build 2019-04-04 18:52:00 -04:00
rusefi 386aed5c2d fixing unit tests 2019-04-04 10:08:50 -04:00
dron0gus fde76155f2 TLE8888: initial support (#733) 2019-04-04 15:55:18 +02: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
dron0gus a7a5ec1aa6 save some CPU ticks if console is not ready (#730) 2019-04-02 10:19:05 +02:00
dron0gus 85519107b2 Fix build if no TS_UART_DMA_MODE, TS_UART_MODE and TS_SERIAL_DEVICE defined (#729) 2019-04-01 23:39:07 +02:00
rusefi c1a0ed0d43 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-01 17:20:56 -04:00
rusefi 18b3c34cfb docs 2019-04-01 17:20:17 -04:00
dron0gus 3163d04dfb console vs ts cleanup and compilation fix for linux (#728)
* console vs ts cleanup

* include is case-sensetive in linux
2019-04-01 23:04:49 +02:00
rusefi 7807651412 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
sweet progress!
2019-04-01 14:18:21 -04:00
andreika-git 7d123b0507 ADC_CHANNEL_SENSOR & EFI_INTERNAL_ADC (#726) 2019-04-01 20:02:19 +02:00
rusefi 1c1216cb53 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 12:11:57 -04:00
rusefi 69917e5781 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 11:57:30 -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 05c70b1a9f The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
few lines of dead code
2019-04-01 11:39:25 -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 f60928f406 TPS docs into TS 2019-04-01 03:43:12 -04:00
rusefi 105d82bdf5 Firmware Update via UART and/or USB #398
default bootloader
2019-04-01 02:51:34 -04:00
rusefi 5fa493e38f fixing build 2019-04-01 02:23:18 -04:00
rusefi 361a83d36b .txt > .md 2019-04-01 02:16:30 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 5c5014d09d The Big Refactoring of 2019: folder structure #723 2019-03-31 17:31:24 -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
rusefi 583d189e3b The Big Refactoring of 2019: folder structure #723 2019-03-31 16:33:16 -04:00
rusefi b5bf730d15 fixing build - simulator 2019-03-30 18:04:22 -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 4da9e93107 version into file 2019-03-29 11:24:53 -04:00
rusefi f40eed3cfd naming convention 2019-03-29 11:24:25 -04: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 5311bfa502 unifying_file_naming 2019-03-29 09:40:43 -04:00
rusefi ad46204200 git 2019-03-29 09:38:08 -04:00
rusefi 0ce89735a5 unifying_file_naming 2019-03-29 09:18:10 -04: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 0c05462810 Firmware Update via UART and/or USB #398 2019-03-29 01:52:58 -04:00
andreika-git 2363d1b4ae Fix bootloader (#717)
* Use hw_stm32.mk

* Fix bootloader
2019-03-29 06:46:48 +01:00
rusefi e61a6136a3 poke 2019-03-28 23:39:23 -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
andreika-git a3f33f3f0d More compatibility for ADC_inputs, etc. (#716)
* Move STM32-specific ADC pinouts to ports/stm32/stm32_common.cpp

* Move STM32-specific files to ports/*

* setAdcChannelOverrides()

* Add #ifdefs for adc_inputs (PWM_FREQ_*, PWM_PERIOD_*, ADC_*_DEVICE)

* addChannel(), removeChannel()

* fix tle6240 compilation

* Add stm32_common.cpp to Makefile

* More ports/stm32/* paths

* More ports/stm32/* paths

* More flexible GPIO ports

* Add #ifdef for GPTDEVICE

* EFI_BOARD_TEST and EFI_JOYSTICK

* EFI_TLE8888

* Fix HIP9011_logic compilation

* ADC_CHANNEL_SENSOR

* Move ioportid_t PORTS[] to ports/*

* Fix simulator
2019-03-28 22:46:10 -04:00
rusefi aa794255eb Firmware Update via UART and/or USB #398
bootloader into jenkins
2019-03-28 07:38:15 -04:00
rusefi fc45b894bd Firmware Update via UART and/or USB #398 2019-03-28 05:49:09 -04:00
rusefi b5f6e169ee bootloader progress 2019-03-27 23:45:35 -04:00
rusefi 6015be0bec MD is pretty much same thing as TXT 2019-03-27 20:40:46 -04:00
rusefi 740d18fc0f we need TLE8888 driver #714 2019-03-27 04:02:34 -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 5739d94dae we need TLE8888 driver #714 2019-03-25 20:39:10 -04:00
rusefi 1f81aa169a we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi fb860c37cb we need TLE8888 driver #714 2019-03-25 15:50:14 -04:00
rusefi 9a8f31e12f we need TLE8888 driver #714 2019-03-25 15:14:22 -04:00
rusefi 11e60e35bf we need TLE8888 driver #714 2019-03-25 15:08:32 -04:00
rusefi defdacd895 typos and better parameter name 2019-03-25 14:29:34 -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 86dda3c70c NA6 idle settings 2019-03-22 21:39:38 -04:00
rusefi 34926074c1 baro 2019-03-22 15:54:12 -04:00
andreika-git 0431bddd6b Prometheus 405 and bootloader fix+update (#712)
* Fix Prometheus-405 compilation

* Add more bootloader bat-files for some board configs

* Fix Prometheus compilation for new ChibiOS

* Fix Bootloader compilation for new ChibiOS

* Update pre-generated bootloader files for Prometheus 405/469
2019-03-22 11:38:18 -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 f212d4af74 ve gauge into fuel category 2019-03-21 22:11:11 -04:00
rusefi 0f89c39ca5 this tune started 20C cold engine 2019-03-21 21:57:49 -04:00
rusefi 3522187f36 fixing stop_engine TS command 2019-03-21 21:57:12 -04:00
rusefi e6edc4942c cranking docs 2019-03-21 20:26:14 -04:00
rusefi bf9debac7e fresh Chibi 18 2019-03-21 18:27:59 -04:00
rusefi babbcbe868 H7 2019-03-20 20:27:02 -04:00
rusefi fab5b3e68e rusEfi F767 does not start on my custom board #708 2019-03-20 16:54:09 -04:00
rusefi 5903fc0e3d fixing legacy folder name 2019-03-20 08:45:15 -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 13521eec0b "60/2 with variable cam location" trigger #707 2019-03-15 13:35:44 -04:00
rusefi 79c9a2956e #705 (#706) 2019-03-15 09:13:54 -04:00
rusefi e43ae3092d random progress 2019-03-14 13:28:51 -04:00
dron0gus 726f84f5ee tle6240 gpio driver implementation (#704)
* TLE6240: move to gpio drivers directory

* TLE6240: add gpiochip driver code
2019-03-13 08:03:22 -04:00
rusefi b9027a2923 docs 2019-03-12 22:04:52 -04:00
rusefi dbfb040990 fuel gauges unification 2019-03-12 21:48:28 -04:00
rusefi 13f360a588 I am lazy 2019-03-12 20:34:10 -04:00
rusefi 24e6f13d6a TS command to reset firmware 2019-03-12 20:33:13 -04:00
rusefi 1776ed64c3 TS project help 2019-03-12 20:22:40 -04:00
rusefi 402d6a20bd docs 2019-03-12 20:09:33 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusefi 4d823c3692 ME7 pnp 2019-03-12 17:41:30 -04:00
rusefi 4313619b8b refactoring? 2019-03-12 17:40:07 -04:00
rusefi e7660a9090 overall usability progress 2019-03-12 14:35:49 -04:00
rusefi 0e356b7c5e allowing bigger injectors 2019-03-12 10:16:50 -04:00
dron0gus 68884cc4ae gpiochips API, core and unit test (#703)
* Add external gpiochips driver API and core

* gpiochips: add unit test
2019-03-12 10:12:37 -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 22910b819d dead code 2019-03-10 01:06:32 -05: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 0eb033e042 ETB_BENCH_ENGINE 2019-03-02 22:42:11 -05:00
rusefi 7f725b6d60 making gcc8 happier? 2019-03-02 18:41:25 -05:00
rusEfi 11e45a5f72 debug int fields type fix 2019-03-02 15:08:29 -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 479115423b Merge branch 'master' of https://github.com/rusefi/rusefi 2019-02-26 22:35:47 -05:00
rusefi d9489b9ad5 TS project clean-up 2019-02-26 22:32:17 -05:00
rusEfi aab441ad21 NA6 base tune 2019-02-26 21:59:19 -05:00
rusefi 742bc38665 NA6 base tune 2019-02-26 21:50:58 -05:00
rusefi d5ed794d28 refactoring - using proper enum 2019-02-24 10:04:00 -05:00
rusefi 55729a1aa6 F7 2019-02-24 09:49:46 -05:00
rusefi 723c7fe889 F7 2019-02-24 09:39:25 -05:00
rusefi ee2ac27900 F767 DFU 2019-02-23 18:00:56 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi d2cfbf9279 Why do we use so much stack? #695
docs
2019-02-23 12:12:34 -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
rusefi 292acc7790 this is kind of needed, right? 2019-02-21 23:07:18 -05:00
rusefi aa20e2a4b3 F7 2019-02-21 20:51:30 -05:00
rusefi 898f8ed1de poke 2019-02-21 16:27:41 -05:00
rusefi 0dfb21a1ff F7 progress 2019-02-21 08:27:08 -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 78969f00c8 ETB progress 2019-02-17 18:00:41 -05:00
rusefi 54f5f07056 F746 CI 2019-02-17 12:54:02 -05:00
rusefi 068bac893b v12 two coils mode 2019-02-15 03:44:09 -05:00
rusefi 214d65b8b5 getMaxUsedStack() - stack usage reseach mini progress 2019-02-12 19:05:06 -05:00
rusefi 6e57cae396 getMaxUsedStack() - stack usage reseach mini progress 2019-02-12 18:47:16 -05:00
rusefi b13da10a67 getRemainingStack() is back! 2019-02-12 01:24:42 -05:00
rusefi 0a87ad28ce linker files duplication #691 fix 2019-02-12 00:16:24 -05:00
rusefi b9c0c245b0 fixing Prometheus 2019-02-12 00:00:45 -05:00
rusefi 42bfe8cf28 wider usage of PeriodicController 2019-02-11 15:09:24 -05:00
rusefi 92ca39a75a docs 2019-02-11 01:20:14 -05:00
rusefi 23a8f5b526 wider usage of PeriodicController 2019-02-10 23:54:41 -05:00
rusefi d8930651e6 worth it's own command 2019-02-10 23:26:00 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 9a6446c654 ETB PeriodicController refactoring 2019-02-10 19:52:06 -05:00
rusefi ff727a8072 ETB progress 2019-02-10 19:13:04 -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
rusefi 1ebc49ee09 docs 2019-02-07 01:18:36 -05:00
rusefi 6dc7c41e43 F7 has different memory bank sizes 2019-02-07 01:06:39 -05:00
rusefi 07e2d10a27 code clean-up 2019-02-07 00:26:55 -05:00
rusefi c3988048dc F746 2019-02-07 00:14:45 -05:00
rusefi 851eae51fa so many years :( 2019-02-06 23:56:41 -05:00
rusefi f615e9361c F746 flexibility 2019-02-06 23:34:39 -05:00
rusefi c094176eaf flexibility 2019-02-06 23:30:53 -05:00
rusefi cd2043a9c9 F746 2019-02-06 23:13:44 -05:00
rusefi b54f34fff0 F7 2019-02-06 18:53:43 -05:00
rusefi 64d449e4f4 F7 2019-02-06 18:52:20 -05:00
rusefi 0a505d2bb1 F7 progress :) 2019-02-06 18:41:48 -05:00
rusefi 3dab001151 docs 2019-02-06 18:18:21 -05:00
rusefi 0b81388935 F7 for Chibi18 2019-02-06 18:05:32 -05:00
rusefi a89394a456 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-02-06 09:09:31 -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 0c920d21b1 F7 2019-02-06 09:06:56 -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 24c6e4d063 better blinking logic in case of software fatal error 2019-02-05 21:29:55 -05:00
rusefi 539f985cb9 better variable name 2019-02-05 21:13:38 -05:00
rusefi 0fe4efbee3 refactoring: duplicated import, already imported 2019-02-05 21:06:18 -05:00
rusefi f68e2a2d4b refactoring: same condition twice? 2019-02-05 21:05:45 -05:00
rusefi b49100853b #688 why access enums from mcuconf? 2019-02-05 19:01:20 -05:00
rusefi b745911d33 docs 2019-02-05 19:00:52 -05:00
rusefi 4fd80e10c8 minor steps forward with chibi18 and F7 2019-02-05 09:01:03 -05:00
rusefi 44fef15454 Migrate to Chibios 18 stable fix #631 2019-02-04 20:41:56 -05:00
rusefi a3b150a171 Migrating to chibios18 (#687)
* first step #631

* chconf #631

* no EXT driver

* #631 progress

* #631 WOW it already compiles?!

* #631 simulator progress

* #631 CAN is back

* more changes about 25MHz

* Migrate to Chibios 18 stable #631

* undoing some merge mistake?

* little mess

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631
joystick works!

* Migrate to Chibios 18 stable #631
done?!
2019-02-05 18:36:25 -05:00
rusefi bb40911bfa today is.. 2019-02-03 23:11:48 -05:00
rusefi 48ae7043fe Migrate to Chibios 18 stable #631 2019-02-03 22:17:46 -05:00
rusefi 8da36d53dd Revert "#631 ChibiOS 18 style"
This reverts commit cb858cf7
2019-02-03 21:42:44 -05:00
rusefi cb858cf752 #631 ChibiOS 18 style 2019-02-03 21:32:47 -05:00
rusefi 7c9d05a098 #631 ChibiOS 18 style 2019-02-03 21:00:18 -05:00
rusefi 788c3dad88 more pins to full pinout 2019-02-02 20:32:42 -05:00
rusefi 63efcb9a50 Festiva defaults fix 2019-02-02 20:20:30 -05:00
rusefi d4bbbc506d current GIT hash is now available to firmware source code 2019-02-02 19:51:39 -05:00
rusefi f6117c7783 current GIT hash is now available to firmware source code 2019-02-02 19:47:16 -05:00
rusefi 70dcc950c5 NA6 2019-02-03 17:49:04 -05:00
rusefi 1dc30dc503 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi 4fa48c0ca7 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:33:33 -05:00
rusefi 8fee275f53 Refactor Trigger System #635
better field names
2019-02-03 01:49:41 -05:00
rusefi 8d3d716d7f Refactor Trigger System #635 2019-02-03 01:34:20 -05:00
rusefi 8d43038981 Refactor Trigger System #635 2019-02-03 01:27:47 -05:00
rusefi 0b41d011b7 Refactor Trigger System #635 2019-02-03 01:19:16 -05:00
rusefi 8011d287c4 Refactor Trigger System #635 2019-02-03 01:14:19 -05:00
rusefi ac209bf8ac Refactor Trigger System #635 2019-02-03 01:11:50 -05:00
rusefi 4d368e0ca8 Refactor Trigger System #635 2019-02-03 01:04:24 -05:00
rusefi ad2af22d16 better parameter name 2019-02-03 00:50:45 -05:00
rusefi 01dc48ec00 Refactor Trigger System #635 2019-02-03 00:40:25 -05:00
rusefi a7e906a737 docs 2019-02-02 15:29:40 -05:00
rusefi 7549f7e0fc CJ125 unit-tests coverage #617 2019-02-02 01:45:26 -05:00
rusefi e4e47ae833 CJ125 unit-tests coverage #617 2019-02-02 01:06:45 -05:00
rusefi 4796942097 CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 6992480f74 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi cb559a3259 #657 fixing fresh defect 2019-02-01 22:55:35 -05:00
rusefi 6afabb6168 CJ125 heater zero PWM improvement 2019-02-01 22:37:21 -05:00
rusefi 26ae19c705 CJ125 heater zero PWM improvement 2019-02-01 22:27:17 -05:00
rusefi dd7add7a78 CJ125 heater zero PWM improvement 2019-02-01 22:20:15 -05:00
rusefi a9d39f760d #657 2019-02-01 21:24:07 -05:00
rusefi 3e953d5131 helping prometheus build 2019-02-01 18:22:16 -05:00
rusefi e8fe630af3 now USB does not work any more :( 2019-01-31 23:40:20 -05:00
rusefi 80e26f0575 still works #3?! 2019-01-31 23:05:00 -05:00
rusefi a306f6104c mini still works #2 2019-01-31 22:58:15 -05:00
rusefi bcc2e57fd0 mini board still works! 2019-01-31 22:51:10 -05:00
rusefi bc5cd34b3d it works, kind of :) 2019-01-31 22:36:47 -05:00
rusefi dfe6d8391f better conditional compilation 2019-01-31 19:14:29 -05:00
rusefi cffac9b28e better conditional compilation 2019-01-31 18:30:40 -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 16bd1b8012 mini board progress 2019-01-30 17:44:34 -05:00
rusefi 6ba7865833 405 option 2019-01-30 17:41:39 -05:00
rusefi 0e82173958 #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi 068bc5c25c #631 2019-01-28 19:50:37 -05:00
rusefi 8f08591510 #631 2019-01-28 19:33:51 -05:00
rusefi 175a9f8ca5 #656 trying a new idea 2019-01-28 03:25:28 -05:00
rusefi c50b16ba39 #657 2019-01-28 02:59:14 -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 e7a694a87c #657 pulling global access down 2019-01-28 00:52:21 -05:00
rusefi 57c6b75e81 #657 pulling global access down 2019-01-28 00:44:30 -05:00
rusefi 5c40815758 no comment 2019-01-28 00:00:19 -05:00
rusefi 6607b833f7 #657 2019-01-27 23:41:46 -05:00
rusefi b6a562be84 comment typo 2019-01-27 23:07:02 -05:00
rusefi 5ad24b9053 getting ready for #631 2019-01-27 21:32:41 -05:00
rusefi dc7418308d mini board 2019-01-27 20:33:05 -05:00
rusefi f104bdd17b actually firmeare is currently about 430KB 2019-01-27 18:04:59 -05:00
rusefi 9f2f9ccd3b configurable FLASH_ADDR 2019-01-27 17:53:11 -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 6f3803182f #147 2019-01-26 23:22:11 -05:00
rusefi b04214d791 black board 2019-01-26 13:20:01 -05:00
rusefi afc4f1da51 #669 renaming error code 2019-01-26 13:19:18 -05:00
rusefi 6b27afcf00 progress but still does not work 2019-01-26 12:13:35 -05:00
rusefi b1d8bf0dbf minimal pin configuration & EFI_COMMUNICATION_PIN fix 2019-01-26 11:38:14 -05:00
rusefi d6f563938c more pins to Full Pinout 2019-01-26 11:33:41 -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 9a42041723 docs 2019-01-25 21:04:33 -05:00
rusefi 58932fb151 refactoring: 'const' modifier 2019-01-24 23:44:29 -05:00
rusefi ae88cbf7eb Trigger rabbit hole (#682)
fix #681

* this did not work right

* progress: spinning is detected sooner now

* and now things are much better?

* and now reducing RAM usage
2019-01-24 21:12:55 -05:00
rusefi d2164a51a0 got deeper into the rabbit hole and now I am confused about something else 2019-01-24 00:19:01 -05:00
rusefi c7cf1d0151 trigger refactoring: extracting methods to improve readability 2019-01-23 22:31:16 -05:00
rusefi 352886e69c trigger refactoring: extracting methods to improve readability 2019-01-23 22:06:42 -05:00
rusefi e630b10503 trigger code minor clean-up 2019-01-23 21:43:27 -05:00
rusefi 8642195e10 state validation progress 2019-01-22 23:15:33 -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 9835a22fe8 refactoring: reducing header tree hell 2019-01-21 00:10:09 -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 114043243e fix #678 2019-01-20 22:50:00 -05:00
rusefi 08c4cf3701 'setEngineType' via TunerStudio 2019-01-20 22:17:06 -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 22d73f72e3 #674 fix? 2019-01-19 19:45:35 -05:00
rusefi d671f569c3 #35 progress 2019-01-19 11:28:37 -05:00
rusefi af7def0cba #35 unit tests 2019-01-19 09:40:39 -05:00
rusefi cd0b49fcfd #35 unit tests 2019-01-19 09:14:48 -05:00
Matthew Kennedy 2acdbd9416 const (#675) 2019-01-16 08:24:37 -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 eba0278fdd The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:18:44 -05:00
rusefi 36cb5e3238 making code better with "const" 2019-01-15 21:03:45 -05:00
rusefi 86a0d67d70 learning C++ 2019-01-15 20:24:36 -05:00
rusefi b84f4358a4 docs 2019-01-14 12:56:53 -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 10bb348d87 docs 2019-01-14 11:36:46 -05:00
andreika-git 32bd383b59 fix! (#673) 2019-01-14 11:33:58 -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 cc8bb4796e docs 2019-01-14 09:04:29 -05:00
rusefi 5dca790c8c TS project typo 2019-01-14 08:57:53 -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 7e7fe321b4 minor improvement 2019-01-14 00:21:08 -05:00
rusefi 689726c801 enjoying C++11 2019-01-14 00:20:50 -05:00
rusefi 7bdf2cdbbd fixing build 2019-01-14 00:09:40 -05:00
rusefi 4fdb965a70 something is not right here :( 2019-01-14 00:01:35 -05:00
rusefi 05ec17599f clean-up 2019-01-14 00:01:11 -05:00
rusefi 76a76fe805 enjoying C++11 2019-01-13 23:55:10 -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 02fcc40b8b enjoying C++11 2019-01-13 23:20:19 -05:00
rusefi 713c029918 minor clean-up 2019-01-13 23:05:03 -05:00
rusefi 08e11aac28 we shall log 8 last error codes #668 2019-01-13 20:51:36 -05:00
rusefi 9a4ded4018 Question: something strange trigger errors #662
logging 8 codes
2019-01-13 20:45:58 -05:00
rusefi 1a52fa3693 grouping trigger-related codes together 2019-01-13 20:12:48 -05:00
rusefi f912d3e554 minor standard miata progress 2019-01-13 19:42:08 -05:00
rusefi d37c5c54a2 idle bench test from TS 2019-01-13 19:41:39 -05:00
rusefi 1bcefa5690 MAF2MAP convestion #538 2019-01-13 01:53:58 -05:00
rusefi f531681a2d refactoring: calling out 'const' things 2019-01-13 01:27:03 -05:00
rusefi 8f592bf5af refactoring: calling out 'const' things 2019-01-13 01:25:53 -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 aa84b7da19 cyclic_buffer.contains method 2019-01-12 14:01:13 -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 cff8fa70b8 console title and LCD status showing trash data bugfix 2019-01-11 19:29:13 -05:00
rusefi 7893486065 new unit test 2019-01-11 19:08:15 -05:00
rusefi 4a2659e9d5 minor progress 2019-01-11 18:46:16 -05:00
rusefi f140c97ab2 BUG: FATAL in firmware with DEBUG mode #667 2019-01-11 17:40:44 -05:00
rusefi 4f4b72d24c Occasional halts on "Burn" in TunerStudio ("Red" LED is on) #640 2019-01-11 17:40:00 -05:00
rusefi 3acc936c6b #640 Occasional halts on "Burn" in TunerStudio ("Red" LED is on) 2019-01-11 15:44:24 -05:00
rusefi 937b78718e warning code refactoring related to
Question: something strange trigger errors #662
2019-01-11 09:58:48 -05:00
rusefi 615a83cc5e Question: something strange trigger errors #662 2019-01-11 09:24:24 -05:00
rusefi ecc5a48f5b #663 goes into release notes 2019-01-11 08:49:46 -05:00
rusefi e786bb684b comments for #663 #664 2019-01-11 08:37:02 -05:00
Matthew Kennedy dd905b23ea Implement ST-recommended workaround for #663 (#664)
* fix #663

* consistency
2019-01-11 08:34:34 -05:00
rusefi 55e74865b7 docs 2019-01-11 08:33:34 -05:00
Matthew Kennedy fd8c6a8906 idle CS pin fix #665 (#666) 2019-01-11 08:12:26 -05:00
rusefi fcea23b20a refactoring: more logical initialization sequence 2019-01-11 00:08:26 -05:00
rusefi 7ffb3a2be0 refactoring: better method name 2019-01-11 00:03:42 -05:00
rusefi fbaf5e183a refactoring: simpler FSIO initialization 2019-01-10 23:53:59 -05:00
rusefi 4ed1ec7067 refactoring: method name consistency 2019-01-10 23:48:05 -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 e383cabfbe #658 2019-01-10 17:05:03 -05:00
rusefi 66c6b6dc1a #658 2019-01-10 16:37:52 -05:00
rusefi ceba688e7e #658 2019-01-10 16:33:27 -05:00
rusefi 576622c9aa poke 2019-01-10 15:29:36 -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 1835c687c3 poke 2019-01-10 00:16:41 -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 fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -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 703dc30040 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-09 21:08:04 -05:00
rusefi 7989763ee9 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:17:35 -05:00
rusefi 3a52b14502 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:39:02 -05:00
rusefi 9f3b06311b fixing build 2019-01-09 09:38:23 -05:00