Commit Graph

5144 Commits

Author SHA1 Message Date
rusefi 358ead33d3 fresh ChibiOS 18 2019-06-02 14:01:28 -04:00
rusefi dc9bf07414 need more DevOps :( trying with 'sleep' 2019-06-01 20:25:51 -04:00
rusefi 5b8dfbf444 board-specific usability #808
hiding menu items for specific boards
2019-06-01 18:29:50 -04:00
rusefi 5282e29d7c board-specific usability #808
toolset
2019-06-01 18:27:34 -04:00
rusefi c97d735fc0 Usability: TS project rework #811
trying to address encoding nightmare
2019-06-01 17:15:01 -04:00
rusefi 5588e8e323 incremental code generation 2019-06-01 16:51:32 -04:00
rusefi a09484f492 Usability: TS project rework #811 2019-06-01 16:33:15 -04:00
Matthew Kennedy 70531c84cb TS: Spelling and clarity improvements (#814)
* fixes

* whitespace
2019-05-31 21:25:00 -04:00
Matthew Kennedy 2387ae1ca3 missed one (#813) 2019-05-31 19:21:30 -04:00
Matthew Kennedy 24e86135e0 consolidate ign/inj outputs in to respective settings pages (#812) 2019-05-31 19:11:34 -04:00
rusefi 89aa64739f docs 2019-05-31 18:45:11 -04:00
rusefi 0ba7a916ba docs 2019-05-31 18:27:46 -04:00
rusefi e6ad77d6cd invalid CLT sensor handling fix #412 2019-05-31 16:20:33 -04:00
rusefi 0334f20fd1 board-specific usability #808 2019-05-30 20:41:54 -04:00
rusefi 67892959a3 board-specific usability #808 2019-05-30 19:22:16 -04:00
rusefi 2c844b551f board-specific usability #808 2019-05-30 18:19:27 -04:00
rusefi 0b5572d229 docs 2019-05-30 17:43:40 -04:00
rusefi 18b6eeef1a board-specific usability #808 2019-05-30 00:39:13 -04:00
rusefi f40e0be614 board-specific usability #808 2019-05-30 00:18:41 -04:00
rusefi 493bd4c677 minor technical debt 2019-05-29 23:15:31 -04:00
rusefi 83be45b83b board-specific usability #808
extracting enum reader
2019-05-28 22:24:29 -04:00
rusefi f696509531 typo 2019-05-28 18:19:51 -04:00
rusefi 489b115611 generator progress 2019-05-27 20:06:01 -04:00
rusefi e117bff3de learning C & C++ - explicit typedef vs struct 2019-05-27 19:35:30 -04:00
rusefi cfe1f06e65 refactoring 2019-05-27 19:05:59 -04:00
rusefi 2ac7d748ac refactoring 2019-05-27 18:58:43 -04:00
rusefi 5e296328c5 refactoring: splitting huge header 2019-05-27 18:50:23 -04:00
rusefi bf362f46b5 code generator progress 2019-05-27 17:44:10 -04:00
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