Commit Graph

4835 Commits

Author SHA1 Message Date
rusefi 899b96eec2 ETB tiny progress 2019-04-30 18:46:39 -04:00
rusefi 7825c2d0b1 More CAN messages for VAG (#779) 2019-04-30 18:33:29 -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 2c78d10a7b LEDs to test configs 2019-04-28 23:18:51 -04:00
rusEfi d3094a00b7 another typo 2019-04-28 23:18:37 -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 c0d27913e2 electrical noise during tuning ETB causes full tune reset fix #775 2019-04-25 22:28:46 -04:00
rusefi 65fb45c8a6 The Big Refactoring of 2019: folder structure #723 2019-04-25 22:10:58 -04:00
rusefi 0a1b8b068b PID - fix dTime usages fix #776 2019-04-25 21:36:41 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi f7ad56fda7 PID - fix dTime usages #776 2019-04-25 20:50:28 -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 7c534d28bc DBG_ANALOG_INFO 2019-04-24 23:46:13 -04:00
rusefi b8ae3810b3 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi a37efe21a9 TPS is worth being FAST 2019-04-24 20:51:14 -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 081a63367b All corrections should be ratio, 1.0 = no correction #773 2019-04-23 19:24:12 -04:00
rusefi fe8899f562 All corrections should be ratio, 1.0 = no correction 2019-04-23 18:37:53 -04:00
rusefi 41e096aa13 All corrections should be ratio, 1.0 = no correction 2019-04-23 18:34:45 -04:00
rusefi 5f22b8697e ETB progress? 2019-04-23 15:45:47 -04:00
rusefi 5c0fb85ed8 TS improvement 2019-04-23 09:10:18 -04:00
rusefi 1504dfd4f7 ETB tiny progress 2019-04-22 21:32:55 -04:00
rusefi b4a2b299e8 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 14:22:05 -04:00
rusefi f4bb936243 tiny progress 2019-04-21 14:21:47 -04:00
rusefi cb5f3af977 :( 2019-04-21 14:16:56 -04:00
rusefi 1fd1bf1300 docs 2019-04-21 14:11:39 -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 04631d58d8 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 13:25:36 -04:00
rusefi 14bee909bc docs 2019-04-21 12:24:31 -04:00
dron0gus 12e14e5ff7 Smart gpio error path and minor fixes (#772)
* smart_gpio: fix error path

If chip driver disable in FW, disabled in settings or failed to init
we still need to ocupy its gpio range.

* smart_gpio: get tle6240 CS from config

* smart_gpio: fix debug messaging
2019-04-21 10:35:13 -04:00
rusefi e2182a7fa4 USB and TLE8888 not working for F4 or F767 #764 2019-04-21 10:13:34 -04:00
rusefi 568a5a5fea fixing build? 2019-04-21 10:00:14 -04:00
dron0gus 83d1f254a1 Exti rework (#770)
* io_pins: implement efiSetPadUnused

When pin becomes unused it should be switched to safe mode and
disconnected from any IP block. Assume that gpio input mode with
pull-up is safe enough.

* trigger_input: switch triggers pins to safe mode on stop/reinit

* digital_input_exti: rework

* rename enableExti to efiExtiEnablePin
* add efiExtiDisablePin
* keep track of used exti channels

* trigger_input: use digital_input_exti functions
2019-04-21 09:28:49 -04:00
rusefi f59ddc740d poke 2019-04-21 09:14:39 -04:00
rusefi 51317518c8 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 08:54:22 -04:00
rusefi 165a20c88b fixing build? 2019-04-21 08:51:52 -04:00
dron0gus 986a4d1748 tle8888: fix pin names array (#771) 2019-04-21 08:50:07 -04:00
rusefi 255a25974d refactoring - reducing duplication 2019-04-21 00:04:46 -04:00
rusefi 71f891947d progress 2019-04-20 23:55:23 -04:00
rusefi d6cccf7615 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:49:26 -04:00
rusefi 0b1620feb2 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:39:06 -04:00
rusefi 1d7c3f5b07 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 22:38:56 -04:00
rusefi 600a6c5b9b USB and TLE8888 not working for F4 or F767 #764
changing order of compilation in order to change which version is hw_tested
2019-04-20 22:13:50 -04:00
rusefi 4627cc9c8f Try ccache #769 2019-04-20 21:44:00 -04:00
rusefi 5be8a99ca0 Try ccache #769 2019-04-20 21:35:14 -04:00
rusefi eb5926e39a Try ccache #769 2019-04-20 21:31:24 -04:00
rusefi 7dbf33a177 USB and TLE8888 not working for F4 or F767 #764
ready to try anything
2019-04-20 18:15:05 -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 1584a36e28 more timestamps into CI logs also parallel simulator compilation 2019-04-20 17:27:04 -04:00
rusefi af365a8f71 USB and TLE8888 not working for F4 or F767 #764
starting not to like smart chips
2019-04-20 16:50:03 -04:00
rusefi cee91fa378 USB and TLE8888 not working for F4 or F767 #764
continuing the guessing game
2019-04-20 14:58:01 -04:00
rusefi 1de81b44be TPS/TPS TS confusion reduction 2019-04-20 14:54:16 -04:00
rusefi 4807f39435 fixing build? 2019-04-20 13:42:31 -04:00
rusefi fd4929e586 input mode control and other pin mode control #767
taking a step back with PAL trigger
2019-04-20 13:19:23 -04:00
rusefi 2f80486d24 USB and TLE8888 not working for F4 or F767 #764
nope, still fails :(
2019-04-20 12:48:01 -04:00
rusefi c305c29984 USB and TLE8888 not working for F4 or F767 #764
interesting?!
2019-04-20 12:23:16 -04:00
rusefi 56511da9e1 input mode control and other pin mode control #767
TODO
2019-04-20 10:59:07 -04:00
rusefi 4e891de0d1 input mode control and other pin mode control #767 2019-04-20 10:54:55 -04:00
rusefi 5c2b49e915 input mode control and other pin mode control #767
only renaming here
2019-04-20 10:45:24 -04:00
rusefi 16c68ef5d1 docs 2019-04-20 10:21:45 -04:00
rusefi 1878fd4e34 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 10:19:26 -04:00
rusefi 766d7b6e28 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 18:17:04 -04:00
rusefi c12be46861 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 15:11:00 -04:00
rusefi 4ac6fb2216 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 14:22:49 -04:00
rusefi e1fb90fc75 non-default CI issues 2019-04-19 14:16:34 -04:00
rusefi a2bb2a2eb8 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 14:12:13 -04:00
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