Commit Graph

5106 Commits

Author SHA1 Message Date
rusefi d788baaa09 learning C & C++ - explicit typedef vs struct 2019-05-27 19:35:30 -04:00
rusefi d6c6282819 refactoring 2019-05-27 19:05:59 -04:00
rusefi 8575e2f4d2 refactoring 2019-05-27 18:58:43 -04:00
rusefi 7750810362 refactoring: splitting huge header 2019-05-27 18:50:23 -04:00
rusefi 92c9ea2893 code generator progress 2019-05-27 17:44:10 -04:00
rusefi e736578452 docs 2019-05-27 17:02:46 -04:00
rusefi 85667cf843 docs 2019-05-27 16:13:19 -04:00
rusefi 19a6a27342 fix #799 2019-05-27 16:12:59 -04:00
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi e557a30193 messing with TPS mocking 2019-05-27 14:21:12 -04:00
rusefi 373b0c8f4a refactoring - fancier C++ 2019-05-27 11:43:34 -04:00
rusefi 6ce9bc8719 reality says "not so fast!" 2019-05-27 11:35:19 -04:00
rusefi c52e5aa465 refactoring: better variable names 2019-05-27 11:17:28 -04:00
rusefi 413d318da6 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2019-05-27 10:38:06 -04:00
rusefi 8d18d37719 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 71d55fd7bd recovering rom raider generation 2019-05-27 06:55:10 -04:00
rusefi f76619c0e2 generator now takes full file name 2019-05-26 20:54:44 -04:00
rusefi d38bea0dd3 named parameters & lazy build feature 2019-05-26 18:37:53 -04:00
rusefi dac10d23b0 MC33816 integraion #784 2019-05-25 17:18:16 -04:00
rusefi d2f6a37cba MC33816 integraion #784 2019-05-25 15:35:25 -04:00
rusefi 9c3292054c #784 2019-05-25 13:47:09 -04:00
rusefi 32601867fe fix #802 2019-05-25 13:36:29 -04:00
rusefi d159980f08 RU TS translation 2019-05-22 17:57:55 -04:00
rusefi 2901d9f902 nicer pin names for messages while same short names for engine sniffer 2019-05-15 04:26:41 -04:00
rusefi 8465d11df7 docs 2019-05-15 04:16:41 -04:00
rusefi 53f5229423 Multiple sync pattern for faster cranking #679 2019-05-14 19:24:18 -04:00
rusefi 100f9ccf14 Missing ADC Pins for ADC3, PF port #785
refactoring
2019-05-14 19:04:49 -04:00
rusefi bde091a840 Missing ADC Pins for ADC3, PF port #785 2019-05-14 16:38:14 -04:00
rusefi cbc1aef722 more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi deead8f8ff reducing code duplication with unit tests 2019-05-12 20:24:35 -04:00
rusefi 13e57187d7 OBD-II at least something? #214
docs
2019-05-12 13:21:50 -04:00
rusefi 71de08e20a Trigger: warning code on normal engine start up #669 2019-05-11 13:39:27 -04:00
rusefi cd85d485d0 gauges cleanup 2019-05-11 10:57:58 -04:00
rusefi 3a3444ab30 better gauge name 2019-05-11 10:51:38 -04:00
rusefi 93c182a269 Trigger: warning code on normal engine start up #669 2019-05-11 10:46:17 -04:00
rusefi 02cf200186 idle usability 2019-05-11 10:41:04 -04:00
rusefi 8b74476c1b BUG: phase sensor validation attending - detect missing CAM signal fix #659 2019-05-11 00:21:37 -04:00
rusefi 35964c064c BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi 6f3bc5f150 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 abc8545b47 typo 2019-05-10 22:43:03 -04:00
rusefi f89c326579 todo 2019-05-10 22:10:40 -04:00
rusefi b00af69c81 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 767418b93b refactoring unit test 2019-05-10 21:29:17 -04:00
rusefi 39d2915386 useTPSBasedVeTable logic has issues and needs a unit test #799 2019-05-10 21:09:01 -04:00
rusefi 52496870c5 USB pins are not registered in pin_repository #797 2019-05-10 19:34:28 -04:00
rusefi 759dfd989c USB pins are not registered in pin_repository fix #797 2019-05-10 19:06:28 -04:00
rusefi c985f6fc8f CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-05-10 18:58:05 -04:00
rusefi b0e1ad12be docs 2019-05-10 18:51:48 -04:00
rusefi 81a79561b1 refactoring 2019-05-10 17:53:41 -04:00
rusefi 5e8b28be49 docs 2019-05-10 17:53:17 -04:00
rusefi d00eea0678 refactoring 2019-05-10 17:51:12 -04:00
rusefi fd6376d22c USB pins are not registered in pin_repository #797 2019-05-10 17:44:43 -04:00
rusefi b01a902196 USB pins are not registered in pin_repository #797
first micro step
2019-05-10 15:36:55 -04:00
rusefi cd2fd0ab7f FEATURE REQ: aux temperature inputs #332 2019-05-10 14:43:46 -04:00
rusefi 36fed91e2c docs 2019-05-10 13:42:07 -04:00
rusefi 91c404b353 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
dron0gus 1b19a36b9e 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 277cdfe301 docs 2019-05-08 10:58:43 -04:00
rusefi 59e3a03d29 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 2d0d4bccb1 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778 2019-05-07 21:39:11 -04:00
rusefi 8a90297160 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi 7fc699fce2 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
metric progress
2019-05-07 19:16:01 -04:00
rusefi 8cbac692ad 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 af7b39154a Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
only renaming methods
2019-05-07 17:10:47 -04:00
rusefi cbea181183 Injection/Ignition angle inaccuracy on 60-2? EngineSniffer vs Real Hardware #778
refactoring only
2019-05-07 16:45:29 -04:00
rusefi 12c6e7bbd1 docs 2019-05-07 13:53:44 -04:00
rusefi eca2c711e7 docs 2019-05-07 10:10:15 -04:00
rusefi 74b5116101 fun stuff 2019-05-06 21:30:21 -04:00
rusefi a8c60c5b71 docs 2019-05-06 09:16:03 -04:00
rusefi a6fc10910a Saab CDM knock signal integration #647 2019-05-05 18:53:34 -04:00
rusefi 77b9685deb docs 2019-05-05 18:09:52 -04:00
rusefi cb14925229 allowing negative PID offset 2019-05-05 17:44:28 -04:00
rusefi 8794e72cd2 Saab CDM knock signal integration #647 2019-05-05 17:21:36 -04:00
rusefi c5087257ec the future is now :) 2019-05-05 16:43:07 -04:00
rusefi 3453181e11 typo 2019-05-05 13:29:16 -04:00
rusefi 8c7d758b34 8888 usability 2019-05-05 12:48:04 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 2ee08ec29e would it help BL? 2019-05-05 11:13:20 -04:00
andreika-git 20b6a17695 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 36f7588cef better message 2019-05-05 10:47:25 -04:00
rusefi dffa30059f #787 2019-05-05 10:26:16 -04:00
rusefi bd4ba2fa10 fix #787 2019-05-05 10:01:02 -04:00
rusefi dde0441c23 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-05-05 09:41:54 -04:00
rusefi 4a58920881 docs 2019-05-05 09:41:44 -04:00
Matthew Kennedy 507501aa21 gitignore, vscode settings (#792) 2019-05-05 01:39:56 -04:00
Matthew Kennedy ff5cdc05b6 rename enum (#791) 2019-05-05 00:53:24 -04:00
960 8466b4c75c Fixing build (#790) 2019-05-05 00:43:44 -04:00
Matthew Kennedy bdae379c1b fix etb (#789) 2019-05-05 00:42:50 -04:00
rusefi 962fd96cb7 helping build 2019-05-04 22:45:08 -04:00
rusefi 2c81628068 docs 2019-05-04 22:39:24 -04:00
rusefi 65a86a8dd6 helping build 2019-05-04 22:38:48 -04:00
960 520b003e16 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 559d7298b7 tiny ETB progress 2019-05-04 11:01:05 -04:00
rusEfi 9d4f6522e2 better handling of weird TPS values 2019-05-04 10:56:09 -04:00
rusEfi 8c1c892907 better handling of weird TPS values 2019-05-04 10:54:26 -04:00
rusEfi 40d5b047b2 proper void value 2019-05-04 10:46:48 -04:00
rusEfi 028a1af39b sorry 2019-05-04 10:31:04 -04:00
rusEfi defed58b19 docs 2019-05-04 10:18:49 -04:00
rusefi ea5ac54bee ETB monte carlo keeps track of best result 2019-05-04 09:57:57 -04:00
rusefi 913f887391 fixing F7 build 2019-05-03 22:12:57 -04:00
rusefi e359ddbb25 MC33816 integraion #784
progress
2019-05-03 21:54:38 -04:00
rusefi 18e0ab0d97 MC33816 integraion #784
progress
2019-05-03 21:38:34 -04:00
rusEfi 71976df42f MC33816 integraion #784
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi 1de32753e6 step towards me7pnp 2019-05-03 18:44:59 -04:00
rusefi 85b790edcf 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 c3b575cd09 enabling more stuff with default F7 firmware 2019-05-03 17:36:36 -04:00
rusefi 461d59768b docs 2019-05-03 09:27:11 -04:00
rusefi 231d1af489 idle using ETB #783
configuration fields
2019-05-02 22:12:43 -04:00
rusefi b1f5569b03 VAG coolang fan logic 2019-05-02 21:54:50 -04:00
rusefi 7558564583 VAG coolant fan logic 2019-05-02 21:53:27 -04:00
rusefi 762feb1b03 console usability: engine sniffer jitter fix #780 2019-05-02 18:42:59 -04:00
rusefi aefcbe0895 refactoring: better method name 2019-05-02 18:05:33 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
rusefi 7a8aa9a119 more pins to allow smart outputs 2019-05-02 11:21:35 -04:00
rusEfi 4c4951a910 ETB tiny progress 2019-05-02 00:01:21 -04:00
rusefi 14edab9de2 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-05-01 22:27:05 -04:00
rusefi 40e1995e7f FSIO to allow smart output pins 2019-05-01 22:26:07 -04:00
rusefi 588278e3da VAG_18_TURBO = 102 2019-05-01 14:31:44 -04:00
rusefi 86f894d3df fixing mock voltage controls 2019-05-01 09:36:29 -04:00
rusefi 5506e5a60a More CAN messages for VAG fix #779 2019-05-01 08:33:14 -04:00
rusEfi 892be38a03 ETB tiny progress 2019-04-30 19:22:12 -04:00
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
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