Commit Graph

1948 Commits

Author SHA1 Message Date
rusefi cfbf5e0b12 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:43:00 -04:00
rusefi f65fc4fec1 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 17:39:13 -04:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi 13fd4c2fc5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-09-22 08:45:03 -04:00
rusefi 7710df4fed ETB target is using integer values #945
refactoring
2019-09-22 08:44:51 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
Matthew Kennedy dfcc9dba04 add sensor framework, tests (#929)
* add framework, tests

* move oil pressure to new way

* add init logic

* brackets on the same line

* spaces -> tabs

* spaces -> tabs for tests

* bracket on same line

* hook up sensor mocking

* add nan check

* fix nan check

* I wrote an essay

* casing

* only init if we have a sensor to init

* style, actually call init

* format

* fix casing

* typo

* implement linear sensor

* wire up producer

* smarter limiting

* setup comments

* add reporting

* doxyfile

* oops

* add adc subscription

* clarity

* fix logic

* multiply voltage

* test styling

* test guards

* remove dependencies

* linear sensor test

* remove unused

* fix merge

* format, implicit convert op

* explicit

* format tests

* fix merge
2019-09-21 14:33:38 -04:00
rusefi 50850ca0c9 fixing bug from yesterday 2019-09-21 11:09:03 -04:00
rusefi aa8d0eb640 configurable SD card logging speed 2019-09-20 20:18:22 -04:00
rusefi f2e67b05c0 unit tests progress 2019-09-20 00:25:43 -04:00
rusefi 0b5a49392f refactoring 2019-09-20 00:17:00 -04:00
rusefi d83ed085e8 unit tests progress 2019-09-19 22:56:54 -04:00
rusefi 317ec8d752 unit tests progress 2019-09-19 08:05:23 -04:00
Matthew Kennedy eb885c33bf kill (#935) 2019-09-14 21:20:36 -04:00
rusefi 0a92693729 Most important feature: VAG W12 firing order 2019-09-14 14:47:22 -04:00
rusefi f0427360bf Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 3389caa1e4 one step back :) instant RPM does not look right 2019-09-10 21:35:10 -04:00
rusefi 3d85de7ee5 fatalErrorPin setting is not used #926 2019-09-09 21:34:15 -04:00
rusefi 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 2b64e34313 Reinitialize TLE8888 if it resets #904
nasty "solution"
2019-09-06 20:30:27 -04:00
rusEfi d5dfc3e658 NB2 progress, ETB Live Docs progress 2019-09-01 19:37:58 -04:00
rusefi 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi e885079de1 unified names for generated headers 2019-08-31 23:12:39 -04:00
rusEfi 9ce7c4d7da NB2 MRE 2019-08-31 18:36:44 -04:00
rusefi f533617b29 LiveData progress: isChanking & hasEtbPedalPositionSensor 2019-08-31 17:07:21 -04:00
rusefi afdeecb87e progress towards idle unit test 2019-08-29 23:50:20 -04:00
rusefi 6df2afface cranking fuel live data fix #911 2019-08-28 00:29:55 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusEfi 92f371c121 new feature: check engine light to blink on trigger synchronization 2019-08-18 15:53:38 -04:00
rusEfi 81cd1df0cc refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusefi 5ffa32185f refactoring: extracting common magic constants 2019-08-18 12:14:33 -04:00
rusefi 15258503aa WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
actually ignoring setting for well known triggers
2019-08-17 22:00:01 -04:00
rusefi eb35cf3deb TLE8888 should be re-initialized every time we get +12 volts #901
extremely ugly solution but it it works at least with LED blinking test
2019-08-16 23:00:28 -04:00
rusefi 6c45dfbc50 new 4 cylinder firing order! 2019-08-15 19:36:16 -04:00
rusEfi 714af981e4 MRE_MIATA_NB2 2019-08-13 19:15:24 -04:00
rusefi 946374184e WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898 2019-08-08 23:11:56 -04:00
rusefi 9112b7f797 WTF is wrong with MRE_miata_na6 config? operationMode complexity #898
fatal error is the best I can come up with quickly
2019-08-08 22:57:22 -04:00
rusefi dfeac28299 current toolchain does not work great with current rusEfi code, two methods with same name are hard for full text search :( 2019-08-08 22:33:52 -04:00
rusefi eef4fbde9b fixing build & taking a safer route 2019-08-08 22:12:51 -04:00
rusefi 6043c93372 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
fancy smansy unit test with some C++11
2019-08-08 21:27:57 -04:00
rusefi 81d41f091d poke 2019-08-08 20:32:00 -04:00
rusefi 334f021137 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:32:31 -04:00
rusefi f6971c2bea WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
rusefi ca1ca643d0 refactoring: better enum name 2019-08-07 22:20:16 -04:00
rusEfi a3dfd5f8c6 NA6 MRE details 2019-08-06 17:59:02 -04:00
rusefi 67637cb1b5 better method name 2019-08-06 17:12:15 -04:00
rusefi 456cc84181 fixing unit tests build 2019-08-05 23:36:18 -04:00
rusEfi 1e64c5a67f MRE test setup 2019-08-05 23:00:35 -04:00
rusefi d57779b686 F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
Matthew Kennedy 9d3e201193 microRusefi Default Configuration (#895)
* poke

* working MRE

* why was this on?

* comment, cleanup

* default silent trigger error on

* comment

* remove extra

* sensible default
2019-08-01 22:27:23 -04:00
rusEfi efb5e0377a MRE is getting closer! 2019-07-25 21:39:39 -04:00
rusefi 24e580f4b9 removing least useful engine configurations 2019-07-25 00:03:57 -04:00
rusefi e01d1f1560 fixing build? 2019-07-24 23:41:26 -04:00
rusefi f2e1858a95 fixing build? 2019-07-24 23:16:17 -04:00
rusefi d253d07732 nevermind 2019-07-24 22:37:27 -04:00
rusefi d4c28ecc69 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:33:30 -04:00
rusefi 00ff37947d setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:00:48 -04:00
rusefi ac18459e3f setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
rusefi ffdd37021f setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 21:15:18 -04:00
rusefi 733478bd8a live docs for idle state 2019-07-21 18:34:37 -04:00
rusefi 48fe6c2d5d nicer status codes for future human-readable status set 2019-07-21 14:06:51 -04:00
Matthew Kennedy a2f2a677b4 Remove warmup afr pid (#879)
* config changes

* actually remove from config

* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi 7cacc37fcc FIRMWARE_ID 2019-07-13 14:08:08 -04:00
rusefi 94f970ff13 one dead line 2019-07-13 09:18:09 -04:00
rusefi fd8f70d8c4 Annotations in C++ code to produce formulas in rusEfi console #807 2019-07-13 09:00:03 -04:00
rusefi 705df36b0e better variable names & fixing build 2019-07-13 08:19:00 -04:00
rusefi fbea3cba7d a bit of dead code 2019-07-13 08:03:13 -04:00
rusefi c8e3378ff7 Annotations in C++ code to produce formulas in rusEfi console #807
typo & refactoring: splitting class
2019-07-12 23:15:52 -04:00
rusefi 7c4ff20a1d Annotations in C++ code to produce formulas in rusEfi console #807
wall wetting
2019-07-12 22:51:59 -04:00
rusefi 3b670a4107 Annotations in C++ code to produce formulas in rusEfi console #807
refactoring wall wetting
2019-07-12 22:34:38 -04:00
rusefi 756dec106a support multiple VVT sensors #885
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
rusefi 4633f032ed refactoring - type/macro name/docs 2019-07-12 07:48:28 -04:00
Matthew Kennedy e4a0a0ae91 Fix some maf logic (#880)
* fix maf

* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03:00
andreika-git 56fb8531a4 More portability (GPIO_F/G + auto_generated_enums) (#876)
* GPIO ports F and G are not everywhere

* auto_generated_enums path flexibility
2019-07-09 05:29:03 -04:00
rusefi 2c515f13a9 user is unable to start with zero fuel - at least showing a warning
https://rusefi.com/forum/viewtopic.php?p=33761#p33760
2019-07-06 20:45:47 -04:00
rusefi 5d2afd2331 refactoring: better file name 2019-07-06 20:15:49 -04:00
rusefi e309e223aa Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi f2a034b5aa Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 22:34:11 -04:00
rusefi 35d3cc0ac4 docs/type safety 2019-06-19 21:24:09 -04:00
rusefi e6b0e0625a Utility class which writes same line both to stdout and file 2019-06-17 20:21:32 -04:00
rusefi d90c6ee1a3 Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi b8b62d3cf1 The Big Refactoring of 2019: folder structure #723 2019-06-15 22:11:43 -04:00
rusefi 69a3b45b3d ETB: TPS should be f(RPM, pedal) - target table #835 2019-06-15 14:11:38 -04:00
rusefi 8ea5d687aa idle using ETB #783 2019-06-15 13:33:14 -04:00
rusefi bd80315737 bumping configuration version in light of #773 2019-06-14 13:04:04 -04:00
rusefi e0e00d5634 typo 2019-06-14 00:57:24 -04:00
rusefi f3855a931b fresh stuff 2019-06-13 14:56:13 -04:00
Matthew Kennedy 89f59db75f Fix tunerstudio ratio vs. percent (#838)
* fix ratio vs pct

* fix idle cranking clt position

* fix defaults

* fix typo

* fix baro corr gauge

* baro default

* fix degree symbols

* fix testFuelMap

* fix testPlainCrankingWithoutAdvancedFeatures

* test testFasterEngineSpinningUp
2019-06-13 09:05:22 -04:00
rusefi 7faf861960 typo 2019-06-11 22:01:07 -04:00
rusefi e4231b0819 refactoring: extracting constant 2019-06-11 21:44:16 -04:00
rusefi cda681e280 bias resistor clarification 2019-06-11 20:32:27 -04:00
rusefi 48796a6763 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 23:57:35 -04:00
rusefi 2639214285 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 23:38:44 -04:00
rusefi 58be63f5a9 https://github.com/rusefi/hw_microRusEfi/issues/57 2019-06-10 17:33:05 -04:00
rusefi 81a68f59b7 input has sizes hard-coded #836 2019-06-10 15:45:18 -04:00
rusefi 9110d0f167 input has sizes hard-coded #836 2019-06-10 15:11:53 -04:00
rusefi fb7f72eab8 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 13:07:42 -04:00
rusefi 3b1361de37 ETB: TPS should be f(RPM, pedal) #835 2019-06-10 12:52:26 -04:00
rusefi bc5154694b adding support for smaller table axis 2019-06-10 12:38:32 -04:00
rusefi 6a002beb8f refactoring 2019-06-10 11:17:36 -04:00
Matthew Kennedy 515ab03688 const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi 135ff2d50d MRE 2019-06-07 18:02:28 -04:00
rusefi 9292efadbe TS flexibility for MRE 2019-06-07 17:38:12 -04:00
rusefi 50e3f4e671 hiding GPS 2019-06-06 19:20:00 -04:00
rusefi 5ea3151da3 board-specific usability #808
hiding more stuff from MRE
2019-06-05 00:36:35 -04:00
rusefi 6d169c014d board-specific usability #808
docs
2019-06-04 23:54:34 -04:00
rusefi c577f50079 board-specific usability #808
fixing enum range
2019-06-04 23:45:41 -04:00
rusefi 9f72307961 I am a a Sun Certified Java Developer 2019-06-04 12:46:55 -04:00
rusefi 60253de5f9 extracting hw-specific enums 2019-06-04 12:27:34 -04:00
rusefi 7792618672 extracting hw-specific enums 2019-06-04 12:21:28 -04:00
rusefi 59ad3f9d12 board-specific usability #808
hiding cj125
2019-06-04 12:13:59 -04:00
rusefi 3ede8a1bd9 real MAF to TS 2019-06-03 10:02:29 -04:00
rusefi 27b8c6d771 getting ready for enum file split 2019-06-02 16:16:06 -04:00
rusefi 844c5a9c1b pins mapping logic fix & pins kind fix 2019-06-02 14:10:21 -04:00
rusefi 50b2522088 board-specific usability #808
toolset
2019-06-01 18:27:34 -04:00
rusefi 4c75ebde21 Usability: TS project rework #811
trying to address encoding nightmare
2019-06-01 17:15:01 -04:00
rusefi cd36259258 incremental code generation 2019-06-01 16:51:32 -04:00
rusefi 483c891e16 board-specific usability #808 2019-05-30 00:18:41 -04:00
rusefi 811da95cef minor technical debt 2019-05-29 23:15:31 -04:00
rusefi b9cc20366f board-specific usability #808
extracting enum reader
2019-05-28 22:24:29 -04:00
rusefi 93a90f5e7f generator progress 2019-05-27 20:06:01 -04:00
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 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 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 f76619c0e2 generator now takes full file name 2019-05-26 20:54:44 -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 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 02cf200186 idle usability 2019-05-11 10:41:04 -04:00
rusefi 35964c064c BUG: phase sensor validation attending - detect missing CAM signal #659
preparation
2019-05-10 23:52:55 -04:00
rusefi c985f6fc8f CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-05-10 18:58:05 -04:00
rusefi 91c404b353 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -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 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 a8c60c5b71 docs 2019-05-06 09:16:03 -04:00
rusefi 8794e72cd2 Saab CDM knock signal integration #647 2019-05-05 17:21:36 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -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 71976df42f MC33816 integraion #784
bare bones skeleton
2019-05-03 21:13:25 -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 231d1af489 idle using ETB #783
configuration fields
2019-05-02 22:12:43 -04:00
rusefi 762feb1b03 console usability: engine sniffer jitter fix #780 2019-05-02 18:42:59 -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 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 f6c5f8764a fixing build & refactoring 2019-04-28 23:42:49 -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 ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi 0292df332c reducing analog_inputs debug confusion :) 2019-04-25 08:32:20 -04:00
rusefi b8ae3810b3 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi f4bb936243 tiny progress 2019-04-21 14:21:47 -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 0b1620feb2 USB and TLE8888 not working for F4 or F767 #764 2019-04-20 23:39:06 -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 1de81b44be TPS/TPS TS confusion reduction 2019-04-20 14:54:16 -04:00
rusefi e4bb98b779 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:57:40 -04:00
andreika-git b5f87ae584 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -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 7c7889cb71 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:42 -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 2badaa4f73 we need TLE8888 driver #714 2019-04-15 19:15:53 -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
rusefi 220e72fdc5 SPI progress 2019-04-14 18:12:15 -04:00
rusefi 50c481924e steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusefi b973379a35 docs 2019-04-12 18:24:43 -04:00
rusefi 76d3630588 ETB using tle7209 #746 2019-04-11 23:21:16 -04:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
rusefi dca031cbe7 fixing EnumToString in light of __packed__ 2019-04-10 19:07:16 -04:00
rusefi 0a341e668d SPI-controlled outputs #697
better spot for this code
2019-04-10 18:23:31 -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 f554572c54 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:01:45 -04:00
dron0gus 69df5d4b50 gpios rework (#739)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux

* Rename unmarkPin to brain_pin_markUnused

This is part of external gpiochip integration

* Add gpio_pin prefix to markUsed and markUnused

To distinguish from similar functions using brain_pin

* pin_repository: add helpers

this is part of gpio chips integration

* efi_gpio: simplify getHwPin using brain_pin_is_onchip
2019-04-10 01:31:10 +02:00
dron0gus 12e07bc3ab Some more include fixes for linux (#738)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi acf1216ab0 rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi dae6638b62 rusEfi settings editor is broken for one byte enums #709 2019-04-08 11:19:07 -04:00
rusefi df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi e84ad495db docs 2019-04-04 21:45:18 -04:00
rusefi d5fd0f0f86 we need TLE8888 driver #714 2019-04-04 21:34:33 -04:00
rusefi 6fc05ee07c cranking base_fuel reform 2019-04-04 08:26:57 -04:00
rusefi 62fb26a60c gen_config: add rusefi_config_custom.txt to override #defines #727 2019-04-03 19:05:41 -04:00
rusefi 0121a7bc5b The Big Refactoring of 2019: folder structure #723 2019-04-02 23:19:21 -04:00
rusefi bceec323c2 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
removing startConsoleInBinaryMode
2019-04-01 11:45:06 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
andreika-git c7b1bb1ff1 More portability & bootloader fix (#720)
* fix bootloader

* EFI_FSIO

* EFI_EMULATE_POSITION_SENSORS, EFI_BOARD_TEST, EFI_AUX_PID, EFI_JOYSTICK
2019-03-29 15:46:15 +01:00
andreika-git a79175f6ef More portability & small fixes (#719)
* Use hw_stm32.mk

* Fix bootloader

* Use more common hw_ports.mk filename instead of hw_stm32.mk

* More CPU compatibility for Makefile

* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE

* Move lockAnyContext()/unlockAnyContext() to rfiutil.c

* USE_FATFS

* EFI_LCD

* Less compilation errors

* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE

* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS

* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()

* merge

* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 9c4da7d9f8 better location for spi pin modes
stm32-specific code would upset someone
2019-03-29 02:44:52 -04:00
rusefi 4e334c1180 sync 2019-03-28 22:48:12 -04:00
andreika-git 887580f7e2 Tps-accel. fractional mode (#715)
* Add new config settings for tps_accel_fractional_mode

* Add new variables for the fractional algo

* Add resetFractionValues() method

* Call onEngineCycleTps() and fix onEngineCycle()

* Implement the fractional algo

* More debug outputs for tps-enrich

* Nice & juicy unit-test!
2019-03-28 22:47:20 -04:00
rusefi 76b7554491 we need TLE8888 driver #714 2019-03-26 12:30:30 -04:00
rusefi 9873606991 more SPI speeds and TLE8888 to full pinout 2019-03-26 10:35:33 -04:00
rusefi ddb0fc6510 better error handling for invalid SPI settings 2019-03-26 09:38:23 -04:00
rusefi 3ff5581e77 SPI prescaler refactoring 2019-03-25 22:41:31 -04:00
rusefi 1f81aa169a we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi 11e60e35bf we need TLE8888 driver #714 2019-03-25 15:08:32 -04:00
rusefi 9e5aab38c6 docs 2019-03-23 08:55:33 -04:00
rusefi b92259bfae get_config for #713 2019-03-22 23:00:21 -04:00
andreika-git b7a9cc13bb Idle timing PID control & TPS-based VE table (#713)
* Add new config settings for idleTimingPidControl & TPSBasedVeTable

* Add dialogs for idleTimingPidControl settings

* Add dialogs for TPSBasedVeTable settings

* Share the code for getTargetRpmForIdleCorrection() and move it from idle_thread.cpp

* Implement TPSBasedVeTable

* Add PID to advance_map.cpp

* Implement idleTimingPidControl

* Make getAdvanceCorrections() visible to unit-tests

* Unit-tests! Yeah!
2019-03-22 22:55:51 -04:00
rusefi 5d8a7697f7 TODO AEM WBO? 2019-03-21 22:21:30 -04:00
rusefi e6edc4942c cranking docs 2019-03-21 20:26:14 -04:00
rusefi 61b54b3f80 TPS acceleration docs 2019-03-16 11:14:52 -04:00
rusefi e43ae3092d random progress 2019-03-14 13:28:51 -04:00
rusefi dbfb040990 fuel gauges unification 2019-03-12 21:48:28 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusefi e7660a9090 overall usability progress 2019-03-12 14:35:49 -04:00
rusefi 9d851d59f4 hip9011 knock detection chip driver #35 2019-03-11 13:38:39 -04:00
rusefi 5b8dc728c8 hip9011 knock detection chip driver #35 2019-03-11 09:42:11 -04:00
rusefi 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusEfi 90bf18bcd7 better Electronic Throttle body control #493 2019-03-09 23:31:47 -05:00
rusefi 20bc4cc2b6 trigger docs pain #671 2019-03-05 18:10:20 -05:00
rusEfi 91e421ebae ETB iTerm limits 2019-03-02 14:00:32 -05:00
rusEfi c99c44102e "debug i4" & "debug i5" gauges 2019-03-02 13:26:20 -05:00
rusEfi e93c2b5efb TPS commands & compacting 2019-03-02 13:21:12 -05:00
rusefi 0fbc8c7adc #699 2019-02-28 21:17:35 -05:00
rusefi 7796c4e72c #699 2019-02-28 21:09:31 -05:00
rusefi 1f2ac36ca4 #699 2019-02-28 19:48:38 -05:00
rusefi 1d9720e5e5 #699 2019-02-28 19:42:15 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusEfi e1d9012dac docs 2019-02-27 09:43:49 -05:00
rusefi 78c87195c8 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00