Commit Graph

5166 Commits

Author SHA1 Message Date
rusefi 8df2320432 docs 2019-05-27 17:02:46 -04:00
rusefi 18a2085491 docs 2019-05-27 16:13:19 -04:00
rusefi 886a88bad3 fix #799 2019-05-27 16:12:59 -04:00
rusefi 5f642ac254 unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi 7b36fc951f messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi d0644c3841 refactoring - fancier C++ 2019-05-27 11:43:34 -04:00
rusefi b0b9629f86 reality says "not so fast!" 2019-05-27 11:35:19 -04:00
rusefi 0dca6e6da1 refactoring: better variable names 2019-05-27 11:17:28 -04:00
rusefi 2b657e607e EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2019-05-27 10:38:06 -04:00
rusefi 5126397a89 lower 16 values are used on stm32 rusEfi, values above 16 are related to Kinetis work in progress 2019-05-27 06:55:53 -04:00
rusefi 54f9d77f46 recovering rom raider generation 2019-05-27 06:55:10 -04:00
rusefi 5db9eb44d9 generator now takes full file name 2019-05-26 20:54:44 -04:00
rusefi 2d0e59cdc5 named parameters & lazy build feature 2019-05-26 18:37:53 -04:00
rusefi 79bbbc8f45 MC33816 integraion #784 2019-05-25 17:18:16 -04:00
rusefi e3d139d4d4 MC33816 integraion #784 2019-05-25 15:35:25 -04:00
rusefi e1337793cc #784 2019-05-25 13:47:09 -04:00
rusefi 01e481db31 fix #802 2019-05-25 13:36:29 -04:00
rusefi 4158761704 RU TS translation 2019-05-22 17:57:55 -04:00
rusefi 1c36b89141 nicer pin names for messages while same short names for engine sniffer 2019-05-15 04:26:41 -04:00
rusefi 67a08fd91f docs 2019-05-15 04:16:41 -04:00
rusefi 266f8b5176 Multiple sync pattern for faster cranking #679 2019-05-14 19:24:18 -04:00
rusefi ac725cf303 Missing ADC Pins for ADC3, PF port #785
refactoring
2019-05-14 19:04:49 -04:00
rusefi f9f1e748dc Missing ADC Pins for ADC3, PF port #785 2019-05-14 16:38:14 -04:00
rusefi b11924952a more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi faba7ef136 reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi 30019fbd9f OBD-II at least something? #214
docs
2019-05-12 13:21:50 -04:00
rusefi ecf6a66634 Trigger: warning code on normal engine start up #669 2019-05-11 13:39:27 -04:00
rusefi 93b1473555 gauges cleanup 2019-05-11 10:57:58 -04:00
rusefi 5d8a12a8a7 better gauge name 2019-05-11 10:51:38 -04:00
rusefi f270ecaa76 Trigger: warning code on normal engine start up #669 2019-05-11 10:46:17 -04:00
rusefi e0f9ba8a2a idle usability 2019-05-11 10:41:04 -04:00
rusefi 812c61903a BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi ff1d10dd2e BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi 04afb87610 Trigger: warning code on normal engine start up #669
avoiding CUSTOM_OBD_SKIPPED_FUEL fot triggers without synchronizaiton
2019-05-10 22:55:08 -04:00
rusefi a2c4b1bde1 typo 2019-05-10 22:43:03 -04:00
rusefi 7bcaf8ee9c todo 2019-05-10 22:10:40 -04:00
rusefi c6198e34ec BUG: phase sensor validation attending - detect missing CAM signal #659
refactoring and unit test first phase
2019-05-10 21:56:33 -04:00
rusefi 4e61505620 refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi 0a28bb20dc useTPSBasedVeTable logic has issues and needs a unit test #799 2019-05-10 21:09:01 -04:00
rusefi 6dd8c421ef USB pins are not registered in pin_repository #797 2019-05-10 19:34:28 -04:00
rusefi 66f486c43b USB pins are not registered in pin_repository fix #797 2019-05-10 19:06:28 -04:00
rusefi f0350613da CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-05-10 18:58:05 -04:00
rusefi 8fd9fd6194 docs 2019-05-10 18:51:48 -04:00
rusefi bf7037d606 refactoring 2019-05-10 17:53:41 -04:00
rusefi 456a840841 docs 2019-05-10 17:53:17 -04:00
rusefi de571eee82 refactoring 2019-05-10 17:51:12 -04:00
rusefi 7764a4eaea USB pins are not registered in pin_repository #797 2019-05-10 17:44:43 -04:00
rusefi acecd63983 USB pins are not registered in pin_repository #797
first micro step
2019-05-10 15:36:55 -04:00
rusefi 89962a85c5 FEATURE REQ: aux temperature inputs #332 2019-05-10 14:43:46 -04:00
rusefi efe0e740dd docs 2019-05-10 13:42:07 -04:00
rusefi 8c00f9ebe8 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
dron0gus 04ee37548b Smart gpios fixes 3 (#795)
* pin_repository: provide readable pin names in error cases

* io_pins: remove getBrain_pin_eExt

We have getBrain_pin_eExt in io_pins.cpp and hwPortname in
pin_repository.cpp.
First uses auto-generated enums, second one uses runtime data to
provide name of hw pin.
Removing first saves us about 2K of flash couse big auto-generated
switch with pin names no more used by anyone and gets optimized out.

* gpios: mc33972: CS pin is now requested at smart_gpios.pcc

* getSpiDevice: support SPI4

* smart_gpios.cpp: startSmartCsPins set CSs to inactive state

OutputPin:initPin initializes pin with false value. This is active
state for SPI Chip Selects. Set to 1 to deselect all chips.
2019-05-09 18:09:24 -04:00
rusefi dd6e7642bd docs 2019-05-08 10:58:43 -04:00
rusefi 08197580bf Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
more flexibility for TS project
2019-05-08 09:51:18 -04:00
rusefi 22ec5da4bc Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778 2019-05-07 21:39:11 -04:00
rusefi d7fd0ce6c1 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi d647772b98 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
metric progress
2019-05-07 19:16:01 -04:00
rusefi 1220a1a1fb Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
first steps of scheduling metric
2019-05-07 17:22:26 -04:00
rusefi 5f70acab9f Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi 61231fb1af Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
refactoring only
2019-05-07 16:45:29 -04:00
rusefi ec58466ea4 docs 2019-05-07 13:53:44 -04:00
rusefi b455732112 docs 2019-05-07 10:10:15 -04:00
rusefi 11e4fe4c78 fun stuff 2019-05-06 21:30:21 -04:00
rusefi 8f1b1c52bc docs 2019-05-06 09:16:03 -04:00
rusefi 1350a94715 Saab CDM knock signal integration #647 2019-05-05 18:53:34 -04:00
rusefi 4faf9ff8fa docs 2019-05-05 18:09:52 -04:00
rusefi ad629c6d07 allowing negative PID offset 2019-05-05 17:44:28 -04:00
rusefi 5523caa536 Saab CDM knock signal integration #647 2019-05-05 17:21:36 -04:00
rusefi 58f92ae30d the future is now :) 2019-05-05 16:43:07 -04:00
rusefi f9bc42b8c6 typo 2019-05-05 13:29:16 -04:00
rusefi a59ac4ad0e 8888 usability 2019-05-05 12:48:04 -04:00
rusefi d09bcad3e7 dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 5da787f4b4 would it help BL? 2019-05-05 11:13:20 -04:00
andreika-git b80d95578d EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes (#793)
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE

* Impl. EFI_CONSOLE_UART_DEVICE

* Move flash source files to ports/stm32/ & hw_ports.mk

* Fix TLE6240

* Fix EFI_NO_CONFIG_WORKING_COPY

* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusefi 11f832306c better message 2019-05-05 10:47:25 -04:00
rusefi 28b6efa003 #787 2019-05-05 10:26:16 -04:00
rusefi d7a3cd2c15 fix #787 2019-05-05 10:01:02 -04:00
rusefi 737dbf0e5f Merge branch 'master' of https://github.com/rusefi/rusefi 2019-05-05 09:41:54 -04:00
rusefi 5fd895f1cf docs 2019-05-05 09:41:44 -04:00
Matthew Kennedy 717bdbf55f gitignore, vscode settings (#792) 2019-05-05 01:39:56 -04:00
Matthew Kennedy 5a15b449c0 rename enum (#791) 2019-05-05 00:53:24 -04:00
960 0bb8ab2aef Fixing build (#790) 2019-05-05 00:43:44 -04:00
Matthew Kennedy 6810aa3268 fix etb (#789) 2019-05-05 00:42:50 -04:00
rusefi c47fdc1bb8 helping build 2019-05-04 22:45:08 -04:00
rusefi c7b6f6f21f docs 2019-05-04 22:39:24 -04:00
rusefi a91ca3f9f0 helping build 2019-05-04 22:38:48 -04:00
960 c0ff11a9df Initial engine config, and cleanup. (#786)
* Add files via upload

Initial Engine Config

* Add files via upload

Cleanup

* Added Can coolant message for newer cars
2019-05-04 22:11:05 -04:00
rusEfi f5b247bb8f tiny ETB progress 2019-05-04 11:01:05 -04:00
rusEfi beaff52349 better handling of weird TPS values 2019-05-04 10:56:09 -04:00
rusEfi e27f5d36f6 better handling of weird TPS values 2019-05-04 10:54:26 -04:00
rusEfi bd512492cd proper void value 2019-05-04 10:46:48 -04:00
rusEfi 0bea626b42 sorry 2019-05-04 10:31:04 -04:00
rusEfi 7a79083cb4 docs 2019-05-04 10:18:49 -04:00
rusefi d2e2f817db ETB monte carlo keeps track of best result 2019-05-04 09:57:57 -04:00
rusefi d4c49fd8fa fixing F7 build 2019-05-03 22:12:57 -04:00
rusefi 153380c9f3 MC33816 integraion #784
progress
2019-05-03 21:54:38 -04:00
rusefi bbd703de21 MC33816 integraion #784
progress
2019-05-03 21:38:34 -04:00
rusEfi 8afee0fd90 MC33816 integraion #784
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi d8747359af step towards me7pnp 2019-05-03 18:44:59 -04:00
rusefi ac2a81d381 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi fb515f3fa3 enabling more stuff with default F7 firmware 2019-05-03 17:36:36 -04:00
rusefi ea5618dd30 docs 2019-05-03 09:27:11 -04:00
rusefi 8bbd5c0514 idle using ETB #783
configuration fields
2019-05-02 22:12:43 -04:00
rusefi cc8ff767f3 VAG coolang fan logic 2019-05-02 21:54:50 -04:00
rusefi 6737feeb12 VAG coolant fan logic 2019-05-02 21:53:27 -04:00
rusefi f534fd0e67 console usability: engine sniffer jitter fix #780 2019-05-02 18:42:59 -04:00
rusefi 1ec5baf57a refactoring: better method name 2019-05-02 18:05:33 -04:00
rusefi edb4e37505 docs 2019-05-02 17:52:48 -04:00
rusefi 17643f693f more pins to allow smart outputs 2019-05-02 11:21:35 -04:00
rusEfi 5663e7a118 ETB tiny progress 2019-05-02 00:01:21 -04:00
rusefi a3cbf1407d Merge branch 'master' of https://github.com/rusefi/rusefi 2019-05-01 22:27:05 -04:00
rusefi 64a7cad1a3 FSIO to allow smart output pins 2019-05-01 22:26:07 -04:00
rusefi f6cc825033 VAG_18_TURBO = 102 2019-05-01 14:31:44 -04:00
rusefi 1ad0df904e fixing mock voltage controls 2019-05-01 09:36:29 -04:00
rusefi 55cf1083f9 More CAN messages for VAG fix #779 2019-05-01 08:33:14 -04:00
rusEfi a555aaba4e ETB tiny progress 2019-04-30 19:22:12 -04:00
rusefi 5ea6ac01f9 ETB tiny progress 2019-04-30 18:46:39 -04:00
rusefi 895844b423 More CAN messages for VAG (#779) 2019-04-30 18:33:29 -04:00
rusEfi 7e099495c8 ETB micro progress 2019-04-30 01:21:09 -04:00
rusefi ff641d81e2 fixing build & refactoring 2019-04-28 23:42:49 -04:00
rusEfi 7ee1090ef2 LEDs to test configs 2019-04-28 23:18:51 -04:00
rusEfi 25c8284209 another typo 2019-04-28 23:18:37 -04:00
rusEfi 8138d137fe 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi e13193a832 ETB pause feature - useful while playing on the bench 2019-04-26 13:46:58 -04:00
rusefi 254af7695e PID - fix dTime usages fix #776 2019-04-26 00:45:53 -04:00
rusefi c6c47392d7 electrical noise during tuning ETB causes full tune reset fix #775 2019-04-25 22:28:46 -04:00
rusefi bc4d76a144 The Big Refactoring of 2019: folder structure #723 2019-04-25 22:10:58 -04:00
rusefi ff42d47c6b PID - fix dTime usages fix #776 2019-04-25 21:36:41 -04:00
rusefi f04732830f PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi 1123eb99ff PID - fix dTime usages #776 2019-04-25 20:50:28 -04:00
rusefi 05d43db76f PID - fix dTime usages #776 2019-04-25 18:49:16 -04:00
rusefi 3c09b8f1f5 reducing analog_inputs debug confusion :) 2019-04-25 08:32:20 -04:00
rusefi f6869e812c electrical noise during tuning ETB causes full tune reset #775 2019-04-25 00:18:37 -04:00
rusefi 14831e1da8 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 7a857ae298 ETB progress 2019-04-24 23:46:49 -04:00
rusefi 2baca12920 DBG_ANALOG_INFO 2019-04-24 23:46:13 -04:00
rusefi 3298b57932 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi 6706270c9d TPS is worth being FAST 2019-04-24 20:51:14 -04:00
rusefi 24818929d2 docs 2019-04-24 20:47:38 -04:00
rusefi c8859d651c docs 2019-04-24 17:00:05 -04:00
rusefi 921e493524 ETB progress 2019-04-23 23:20:14 -04:00
rusefi d3576e3e44 progress 2019-04-23 23:19:12 -04:00
rusefi 9f29f30950 ETB progress 2019-04-23 23:18:48 -04:00
rusefi de07a1dce8 All corrections should be ratio, 1.0 = no correction #773 2019-04-23 19:24:12 -04:00
rusefi 95cd53b234 All corrections should be ratio, 1.0 = no correction 2019-04-23 18:37:53 -04:00
rusefi 1ae93cbe69 All corrections should be ratio, 1.0 = no correction 2019-04-23 18:34:45 -04:00
rusefi 227e861e2c ETB progress? 2019-04-23 15:45:47 -04:00
rusefi 3bc891eb15 TS improvement 2019-04-23 09:10:18 -04:00
rusefi f09119b6fa ETB tiny progress 2019-04-22 21:32:55 -04:00
rusefi 2540aebf6e Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 14:22:05 -04:00
rusefi c096680ce6 tiny progress 2019-04-21 14:21:47 -04:00
rusefi b19370505d :( 2019-04-21 14:16:56 -04:00
rusefi c802e46be0 docs 2019-04-21 14:11:39 -04:00
rusefi 5b522dc8fd 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 919c973853 docs 2019-04-21 13:31:55 -04:00
rusefi 4ee5eddc8f Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 13:25:36 -04:00
rusefi 3d5338c1de docs 2019-04-21 12:24:31 -04:00
dron0gus e9aed8dd7a 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 14f3c6ad0c USB and TLE8888 not working for F4 or F767 #764 2019-04-21 10:13:34 -04:00
rusefi 70eb581594 fixing build? 2019-04-21 10:00:14 -04:00
dron0gus def0123503 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 1599e34d57 poke 2019-04-21 09:14:39 -04:00
rusefi 9403142773 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-04-21 08:54:22 -04:00
rusefi 0ccd37d964 fixing build? 2019-04-21 08:51:52 -04:00
dron0gus ba118e61f2 tle8888: fix pin names array (#771) 2019-04-21 08:50:07 -04:00
rusefi bed7dd5684 refactoring - reducing duplication 2019-04-21 00:04:46 -04:00
rusefi 6ca7fd5927 progress 2019-04-20 23:55:23 -04:00
rusefi f3a6ce0769 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:49:26 -04:00
rusefi f62731cc99 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:39:06 -04:00
rusefi 537b0963dc USB and TLE8888 not working for F4 or F767 #764 2019-04-20 22:38:56 -04:00
rusefi 723a54021e 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 7c3e88c7dc Try ccache #769 2019-04-20 21:44:00 -04:00
rusefi d0a8a87b37 Try ccache #769 2019-04-20 21:35:14 -04:00
rusefi 3ea876f849 Try ccache #769 2019-04-20 21:31:24 -04:00
rusefi 73bc740967 USB and TLE8888 not working for F4 or F767 #764
ready to try anything
2019-04-20 18:15:05 -04:00
rusefi 97c4b84545 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 bc86783b45 TPS/TPS logging delta TPS not consistent with actual logic fix #768 2019-04-20 17:34:23 -04:00
rusefi 8c62395a10 more timestamps into CI logs also parallel simulator compilation 2019-04-20 17:27:04 -04:00
rusefi bb04ec40f9 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 fff7ec8a01 USB and TLE8888 not working for F4 or F767 #764
continuing the guessing game
2019-04-20 14:58:01 -04:00
rusefi 99de0fcbd5 TPS/TPS TS confusion reduction 2019-04-20 14:54:16 -04:00
rusefi 4964112053 fixing build? 2019-04-20 13:42:31 -04:00
rusefi 5d3d571514 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 5a522cf81e USB and TLE8888 not working for F4 or F767 #764
nope, still fails :(
2019-04-20 12:48:01 -04:00
rusefi 18493a54f3 USB and TLE8888 not working for F4 or F767 #764
interesting?!
2019-04-20 12:23:16 -04:00
rusefi cd13a36a6a input mode control and other pin mode control #767
TODO
2019-04-20 10:59:07 -04:00
rusefi 0a4d48b377 input mode control and other pin mode control #767 2019-04-20 10:54:55 -04:00
rusefi c6d90cae6b input mode control and other pin mode control #767
only renaming here
2019-04-20 10:45:24 -04:00
rusefi b71ec07238 docs 2019-04-20 10:21:45 -04:00
rusefi 4253801267 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 10:19:26 -04:00
rusefi 0677d61f1f USB and TLE8888 not working for F4 or F767 #764 2019-04-19 18:17:04 -04:00
rusefi 2501d69b04 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 15:11:00 -04:00
rusefi b0cdd1d532 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 14:22:49 -04:00
rusefi 8c510868d2 non-default CI issues 2019-04-19 14:16:34 -04:00
rusefi 43b8588126 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 14:12:13 -04:00
rusefi dcff861918 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:57:40 -04:00
rusefi ccf52ec21a non-default CI issues 2019-04-19 13:52:13 -04:00
rusefi 1dd36f996e non-default CI issues 2019-04-19 13:38:13 -04:00
rusefi 251710ecd8 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:01:06 -04:00
rusefi 54b2f311fe USB and TLE8888 not working for F4 or F767 #764 2019-04-19 12:42:21 -04:00
rusefi f7ea6c8cbe USB and TLE8888 not working for F4 or F767 #764 2019-04-19 06:33:49 -04:00
rusefi f54887320e USB not working for F4 or F767 #764 2019-04-19 06:07:40 -04:00
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 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 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 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 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 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
rusEfi 41a56b0d85 I am in macro hell :( 2019-04-13 17:34:26 -04:00
rusefi 360759b063 fail faster 2019-04-13 17:20:02 -04:00
rusefi 177296bb35 more messages for build server 2019-04-13 16:50:24 -04:00