Commit Graph

6544 Commits

Author SHA1 Message Date
rusefi cd7a1d1b77 trying again #764 2019-04-19 01:56:05 -04:00
dron0gus 71cc657f10 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 f09bc89508 ? 2019-04-19 00:10:26 -04:00
rusefi 9058742ba1 fixing bootloader 2019-04-18 09:05:58 -04:00
rusefi e086dbb96f would it work? 2019-04-18 08:57:59 -04:00
rusefi 8dfd8c8b40 Frankenstein "project_name-cache.lib" file fix #763 2019-04-18 08:20:27 -04:00
rusefi 83671592b6 poke 2019-04-17 19:07:21 -04:00
andreika-git 370b0dd003 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
dron0gus ec75c47b73 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 b4f87ee4a9 baro? 2019-04-16 01:55:15 -04:00
rusefi 0c233459c5 one step back 2019-04-16 01:32:24 -04:00
rusefi 2abd56770b running with BOARD_MC33972_COUNT 2019-04-15 23:15:16 -04:00
rusefi 45588e9f17 Revert "Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656""
This reverts commit 570ce62871.
2019-04-15 21:37:54 -04:00
rusefi 5ad1044d19 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:09:43 -04:00
rusefi c8766d901d The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:06:48 -04:00
rusefi 49841f1adb The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -04:00
rusefi 8a45420475 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:25 -04:00
rusefi 3afc72a458 PWM parameter validation fix #594 2019-04-15 20:47:06 -04:00
rusefi 570ce62871 Revert "The Big Refactoring of 2019: configuration version should not be a global variable fix #656"
This reverts commit 98a75d19
2019-04-15 20:42:22 -04:00
rusefi 98a75d19e7 The Big Refactoring of 2019: configuration version should not be a global variable fix #656 2019-04-15 20:27:19 -04:00
rusefi 858ca777a2 poke 2019-04-15 19:46:12 -04:00
rusefi 5340d9dce2 random cleanup 2019-04-15 19:24:46 -04:00
rusefi 37c12b573c we need TLE8888 driver #714 2019-04-15 19:15:53 -04:00
andreika-git c9c6022946 A tiny fix of EFI_ACTIVE_CONFIGURATION_IN_FLASH (#761) 2019-04-15 13:36:25 -04:00
andreika-git e9a57f4042 fix Simulator + HAL_USE_COMP (#760) 2019-04-15 08:59:29 -04:00
andreika-git ffd44bf0fe 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 2cf166373e Subaru EJ20G board: fix compilation after directory rename (#756) 2019-04-15 00:30:56 -04:00
rusefi e236a65525 cj125 and hip125 and else SPI broken with chibi18 migration fix #757 2019-04-14 18:35:39 -04:00
rusefi e39f77aa9e SPI progress 2019-04-14 18:12:15 -04:00
rusefi 04445b5713 cj125 and hip125 and else SPI broken with chibi18 migration #757 2019-04-14 18:09:58 -04:00
rusefi a2631d69b0 we need TLE8888 driver #714 2019-04-14 17:10:59 -04:00
rusefi 2f34edb0d4 we need TLE8888 driver #714 2019-04-14 16:08:39 -04:00
rusefi d61c61d95c random cleanup 2019-04-14 15:16:44 -04:00
rusefi 096eff8fac Merge remote-tracking branch 'origin/master' 2019-04-14 13:57:09 -04:00
rusefi 7be441a1bc random cleanup 2019-04-14 13:52:27 -04:00
andreika-git 21346c0063 Add more portability to smart_gpio & SPI (#754) 2019-04-14 13:35:30 -04:00
rusefi 3016f9a9bd random cleanup 2019-04-14 13:21:03 -04:00
rusefi 78e776dfb1 Merge remote-tracking branch 'origin/master' 2019-04-14 13:19:52 -04:00
rusefi 4ffd9638e6 random cleanup 2019-04-14 13:19:36 -04:00
rusefi f8afa29a0f we need TLE8888 driver #714 2019-04-14 08:20:25 -04:00
dron0gus c1593ea31e TLE8888: remove hacks (#753) 2019-04-14 08:15:01 -04:00
rusefi 623c07a1e4 last part of this typo 2019-04-14 07:45:28 -04:00
rusefi 2319cac76d poke 2019-04-13 22:56:58 -04:00
rusefi e2e44f923f typo 2019-04-13 22:56:33 -04:00
rusEfi f8fec2e2fb thank you Dron_gus fot the idea! 2019-04-13 19:55:18 -04:00
dron0gus 76cc822b1e 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 b04b1ce5c4 my hope is gone 2019-04-13 19:09:39 -04:00
rusEfi 519299ecc3 talk to me? 2019-04-13 18:47:32 -04:00
rusEfi e2645cbc3a reducing risks 2019-04-13 18:31:16 -04:00
rusEfi 265b70433e reducing risks 2019-04-13 18:26:29 -04:00