Commit Graph

6355 Commits

Author SHA1 Message Date
rusefi 1785517286 simpler API? 2020-03-24 02:33:20 -04:00
rusefi 3232aeb80c progress 2020-03-23 23:51:51 -04:00
rusefi 44b2cd1254 date 2020-03-23 23:28:17 -04:00
rusefi 42834ba5ec launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi 9e9c4249e2 progress 2020-03-23 23:16:57 -04:00
rusefi bd4cf816e8 progress 2020-03-23 23:15:44 -04:00
rusefi a5c9457eb9 progress 2020-03-23 23:06:52 -04:00
rusefi ff663692c0 code style 2020-03-23 22:31:24 -04:00
rusefi d770290d0e launch control #203 2020-03-23 22:30:47 -04:00
rusefi 205fdcee66 launch control #203 2020-03-23 20:44:34 -04:00
rusefi e58f00692e start/stop progress 2020-03-23 10:32:41 -04:00
rusefi 4d617aa0fe random header clean-up 2020-03-23 09:00:57 -04:00
rusefi 7c991fedce moving a bit of crazy aside 2020-03-23 00:01:59 -04:00
rusefi ce1a11ead5 code style 2020-03-23 00:00:11 -04:00
rusefi d3071ea348 start/stop progress debug mode 2020-03-22 20:43:27 -04:00
Matthew Kennedy 61c4d0fe83 save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
Matthew Kennedy 8731c0100f Proxy sensor for extra magic (#1210)
* proxy sensor

* header
2020-03-22 17:29:01 -04:00
Matthew Kennedy 3840440e97 Accelerator pedal with new sensors (#1208)
* add pedal sensor

* update status loop

* add bit to ts

* fix math

* divide at config time

* this used a little bit of ram
2020-03-22 17:09:46 -04:00
Matthew Kennedy fefb5e3b1a Pedal rx shim (#1207)
* rx pedal over can

* guard

* guard

* don't cast away qualifiers
2020-03-21 22:35:27 -04:00
rusefi fb115578dc start/stop 2020-03-20 20:45:35 -04:00
rusefi a6c3b220d6 At least read all TPS inputs 2020-03-20 19:55:36 -04:00
rusefi b55a892e3a At least read all TPS inputs 2020-03-20 09:53:45 -04:00
rusEfi fbbac83010 v12 progress 2020-03-20 00:36:22 -04:00
Matthew Kennedy fa8036e4b6 fix (#1202)
* fix test

* shrink memory
2020-03-19 20:02:49 -04:00
Matthew Kennedy 2ae689073a Grow CAN TX stack (#1201)
* grow

* check mock first
2020-03-19 19:29:56 -04:00
Matthew Kennedy 4096483aec custom verbose can format (#1200)
* config

* ts

* default cfg

* hand generate

* tx struct helper

* add data sending

* wire up

* value_or helper

* add file

* more sensors

* header

* compactify

* add status frame

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 17:58:46 -04:00
Matthew Kennedy 9f5eece62d split out can tx logic (#1197)
* move to can folder

* split out can rx

* only print in debug mode

* guard on feature flag

* split out tx

* headers

* headers

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 14:01:07 -04:00
rusefi 37bdc68ff5 "rusefi CAN" config #1198 2020-03-19 09:22:16 -04:00
Matthew Kennedy f2994d6889 split out can rx logic (#1196)
* move to can folder

* split out can rx

* only print in debug mode

* guard on feature flag

* headers

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-19 08:43:37 -04:00
Matthew Kennedy 3ecedc8ccc move to can folder (#1195)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 23:20:00 -04:00
Matthew Kennedy 1b4d98a7f0 Add new CanTxMessage class, consume in OBD2 (#1186)
* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right

* add can_msg

* convert obd2

* guard properly

* better include order

* docs & headers

* inject CAN device

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-18 22:07:41 -04:00
Matthew Kennedy f43042d61b const (#1193) 2020-03-18 21:55:46 -04:00
rusefi 17b498a0f3 progress towards start/stop 2020-03-18 19:41:12 -04:00
rusEfi b9d6f33b82 v12 2020-03-18 17:46:46 -04:00
rusefi d9690bed3a progress towards start/stop 2020-03-18 16:32:03 -04:00
rusefi b442d16d87 progress towards start/stop 2020-03-18 15:56:17 -04:00
rusefi b7324c9a51 proteus-f4 was requested 2020-03-18 11:37:53 -04:00
rusefi d79148b4ea proteus-f4 was requested 2020-03-18 10:19:17 -04:00
rusefi ed947d5ce6 proteus-f4 was requested 2020-03-18 09:32:46 -04:00
rusEfi f2b3fe281e v12 & ETB progress 2020-03-18 00:24:10 -04:00
rusEfi 5a21db41a4 v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi 717400e1c4 hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusefi f44cda67bc docs 2020-03-17 13:40:14 -04:00
rusefi 782724fdd9 Merge remote-tracking branch 'origin/master' 2020-03-17 10:21:01 -04:00
rusefi ecfc8c250e cj125 usability 2020-03-17 10:20:29 -04:00
rusEfi e18fb9419d RemindMe! add 16 cylinder firing order on April 1st 2020-03-16 17:13:27 -04:00
rusEfi 0e3f8b1b5c docs 2020-03-16 16:39:42 -04:00
Matthew Kennedy 78c1a614cd Multispark configuration (#1190)
* multispark

* scaling, units

* hide in "broken stuff" menu for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-14 09:13:38 -04:00
Matthew Kennedy 1f57bdc556 bootloader ci (#1189)
* bootloader ci

* trailing slash

* Revert "progress?"

This reverts commit e5c3da2ab1.

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 22:12:52 -04:00
rusefi e5c3da2ab1 progress? 2020-03-13 21:23:58 -04:00
rusefi 61f7851264 progress 2020-03-13 20:36:07 -04:00
rusefi 0554e83d0c fixing build? 2020-03-13 20:30:07 -04:00
Matthew Kennedy 214285facc Deduplicate mpu_util headers (#1187)
* this flag did nothing

* header dedupe

* mre fix again

* get all dependencies in mpu_util.h

* guard can/spi

* more dedupe

* pragma once

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 18:48:22 -04:00
Matthew Kennedy f18e848d9c remove (#1188)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 17:19:29 -04:00
Matthew Kennedy 9a81b7d2c5 Move can_hw.cpp in to drivers folder (#1184)
* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right
2020-03-13 09:50:43 -04:00
rusefi 857f329b06 docs & wall 2020-03-13 02:27:44 -04:00
rusEfi 1430adcc33 docs 2020-03-12 00:20:05 -04:00
rusEfi b089596641 v12 2020-03-12 00:16:32 -04:00
rusEfi cb37a6f51d v12 2020-03-11 20:48:09 -04:00
rusEfi f2f1b63881 wall of text 2020-03-11 03:08:20 -04:00
rusEfi 8490fc731d TPS#2 gauge 2020-03-11 02:10:57 -04:00
rusefi 6e90dc6c1f Merge branch 'master' of https://github.com/rusefi/rusefi 2020-03-10 19:12:53 -04:00
rusefi bd34f5479a In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
Matthew Kennedy adac5fba78 Control stepper with dual H-bridges (#1121)
* divorce stepper from hw

* oops

* ptr not ref

* hbridge stepper

* typo

* hook up twin h

* hook up hardware

* use config field

* hook up motor repo

* guard tests

* whoops

* ok fix for real

* ok that's the right thing

* do full stepping

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.stagpad.local>
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
2020-03-10 15:18:29 -04:00
Matthew Kennedy 010de27f0b hbridge idle ui (#1178) 2020-03-10 14:31:00 -04:00
rusEfi a1fc53e269 more of the same 2020-03-09 19:29:10 -04:00
rusEfi c816317a0f stepper in TS should be output not any 2020-03-09 19:15:13 -04:00
rusefi 2ae15b5bab hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi aa5e6feb41 better message 2020-03-08 09:17:55 -04:00
rusefi 7bbe4f791a date 2020-03-08 09:17:43 -04:00
rusefi 98d402a66f logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
Matthew Kennedy 8ceb5c8996 fix icu trigger polarity (#1177)
* fix polarity

* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi a0e838467a date 2020-03-07 15:55:08 -05:00
Matthew Kennedy a7a7d90399 ignore vbus (#1175) 2020-03-07 15:53:38 -05:00
Matthew Kennedy 53a39f5e17 don't use standard sprintf/snprintf (#1174) 2020-03-07 10:28:18 -05:00
Matthew Kennedy 3c7ae8ca17 Simplify flash logic (#1154)
* simplify flash stuff

* put those back for now

* and those

* extra check

* fix

* crc the correct thing

* undo crc changes

* unwind
2020-03-07 10:23:30 -05:00
rusEfi bf6082b828 slow v12 progress 2020-03-07 00:45:45 -05:00
rusefi 0e8acf6514 CLT stops working when using 2-0 custom trigger wheel #1171 2020-03-06 01:31:04 -05:00
rusefi a5fb0e44c1 code style 2020-03-06 01:26:33 -05:00
rusefi 0865b7be2e better invalid configuration handling 2020-03-05 21:16:45 -05:00
Matthew Kennedy 6d8eedf9ca Split out EtbHardware (#1168)
* start tear out motor

* fix

* nuke reconfig

* guard for test

* test fixing

* format, condense headers

* fix todos

* undo todo

* format
2020-03-03 17:56:50 -05:00
Matthew Kennedy eb46d7bd58 warnings (#1169) 2020-03-03 08:37:02 -05:00
960 b93ea1b360 Update rusefi.input (#1165) 2020-03-02 20:54:47 -05:00
Matthew Kennedy 52c7d6dfbe proteus prepend (#1166) 2020-03-02 20:02:25 -05:00
rusefi 3a3d693cec useHbridges 2020-03-02 19:49:47 -05:00
rusefi 58cc442a18 better setting name and help? 2020-03-01 22:32:09 -05:00
rusefi 9e47bf2b02 hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusefi f298817af2 mapping docs 2020-02-29 23:22:39 -05:00
rusefi 4e03792b14 MRE PNP 2020-02-29 23:15:04 -05:00
rusefi b899e182c2 PC simulator: TS over HW VSP wants lower blockingFactor fix #794 2020-02-28 18:12:22 -05:00
rusefi e196e1c6b3 todo NB2 2020-02-27 21:28:31 -05:00
rusEfi e536bce7f2 v12 2020-02-27 03:29:03 -05:00
rusEfi c9ac205864 throttle2Position 2020-02-27 03:28:49 -05:00
rusEfi 7e07d18afe throttle2Position progress 2020-02-27 03:21:42 -05:00
rusEfi b866b57d23 we need tpsinfo especially when data is invalid! 2020-02-27 02:21:01 -05:00
rusEfi 040e040b4a verboseTLE8888 2020-02-27 02:11:20 -05:00
rusefi 1b2b89537c fixing build 2020-02-27 01:51:21 -05:00
rusEfi d11121b9a7 giving C code access to CONFIG 2020-02-27 01:32:26 -05:00
rusEfi a17403ada3 verboseTLE8888 2020-02-27 01:11:44 -05:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy d5034ab8c2 this flag did nothing (#1161) 2020-02-26 17:30:02 -05:00
Matthew Kennedy f513706b53 insert dsb on flash write (#1160) 2020-02-25 23:52:11 -05:00
rusEfi c2ab5f4871 more mc33816 2020-02-25 22:38:08 -05:00
rusEfi 45be5f4f16 fresh generated 2020-02-25 22:01:13 -05:00
rusefi 6b3228b9f1 TEST_33816 2020-02-25 21:35:21 -05:00
Matthew Kennedy 2437aaffc6 Omit canned configs from Proteus (#1159)
* omit presets from proteus

* ifdef guard
2020-02-25 19:46:22 -05:00
Matthew Kennedy c14381a393 default to O2 (#1155) 2020-02-24 21:49:04 -05:00
Matthew Kennedy 6db8978667 Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
Matthew Kennedy ef0dfc6ec4 split out scaled channel header (#1156)
* split out scaled channel header

* update header
2020-02-24 16:47:10 -05:00
rusefi d755e95768 v12 2020-02-24 00:20:36 -05:00
rusefi f1866f6792 migrate slow ADC to software timer so that TIM8 is also available for input capture #630 2020-02-24 00:12:51 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusefi ebb1980b50 v12 2020-02-23 09:16:11 -05:00
rusefi 923daaa3a1 ETB: expand automated testing #115 2020-02-22 23:18:02 -05:00
rusEfi 627fe4ba53 better trigger LiveDocs 2020-02-22 15:39:00 -05:00
rusEfi 76c9ecb715 better script name 2020-02-22 15:38:21 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusefi 2fb89b4676 explicit cross-referencing 2020-02-21 20:08:16 -05:00
rusefi 59fc61ccfd poke CI 2020-02-21 19:50:43 -05:00
Matthew Kennedy bcbac0b47f minor simplify spark (#1150)
* simplify

* rename
2020-02-21 19:35:11 -05:00
rusefi 94fc0451f9 "so I guess defaults are fine then, maybe add main relay = PB9" 2020-02-21 19:31:36 -05:00
rusefi 833f491f05 M73 2020-02-19 22:34:51 -05:00
rusefi 6d5734c40e proteus 2020-02-19 22:34:38 -05:00
rusEfi e9ac797ac9 reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi 84640f43f0 bugfix - new option was flipped in TS 2020-02-18 16:38:57 -05:00
rusefi f929301d18 my take on useRunningMathForCranking 2020-02-18 10:47:39 -05:00
rusefi 83d7085f40 code style & pleasing LGTM 2020-02-18 08:16:19 -05:00
rusEfi 4c5477f2cd vbatt MRE happiness 2020-02-16 16:59:33 -05:00
rusefi 1c4dfcab6e making migration seamless on useRunningMathForCranking 2020-02-16 16:13:15 -05:00
rusefi d722146e1e dreams about useFixedMsForCranking 2020-02-15 19:17:42 -05:00
rusefi 94c2f3a4cd he owes me one now 2020-02-14 23:03:26 -05:00
rusefi 2eec300251 miata vvt trigger decoding is broken #1145 2020-02-14 13:02:27 -05:00
rusefi f69bbba6a4 Merge remote-tracking branch 'remotes/origin/2019.12.25_release_1.19.12_xmas' 2020-02-14 10:50:50 -05:00
rusefi fc33789da7 miata vvt trigger decoding is broken #1145 2020-02-14 00:37:36 -05:00
rusEfi 6aa9e896a4 proper 'f' syntax 2020-02-12 23:16:46 -05:00
rusEfi 8ef58f8e79 MRE divider 2020-02-12 22:15:36 -05:00
rusefi 4cf0bfb03b TLE8888 watchdog #917 2020-02-12 19:32:40 -05:00
rusefi c5e69cedc4 #917 progress 2020-02-12 17:37:45 -05:00
rusefi 58e711d683 and fixing build now! 2020-02-12 17:23:22 -05:00
rusefi c78ea7da6c tle8888 refactoring already - extracting method 2020-02-12 17:19:58 -05:00
rusEfi 4ce7e42fc4 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-02-12 08:54:41 -05:00
rusEfi 94bdf39ed4 more commands 2020-02-12 08:53:50 -05:00
dron0gus 65bc3b1744 tle8888: disable diagnostic for outputs (#1144)
DS is not clear, may be tle8888 clears OE bit in case of error on
output.
2020-02-12 08:53:35 -05:00
rusEfi ea4714e0c2 tle8888 dump at init 2020-02-12 08:34:26 -05:00
rusEfi 37896cb927 have nothing else to do :( 2020-02-12 08:24:24 -05:00
rusEfi 61da49b3c5 tle8888 output fix 2020-02-12 08:15:55 -05:00
rusefi c2c98fbccd tle8888 output fix 2020-02-12 08:04:33 -05:00
rusEfi 41e10c177c FATAL error running MRE blinking test #1137
typo
2020-02-11 17:52:01 -05:00
rusEfi 9d5e4684b6 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-02-11 17:49:49 -05:00
rusEfi 21853eb500 FATAL error running MRE blinking test #1137
still not the fix?
2020-02-11 17:49:39 -05:00
dron0gus 919034ca3e Tle8888 wd (#1143)
* tle8888: watchdog: debug over TS: remove tailing register address

* tle8888: ann console command to dump all regs
2020-02-11 17:49:14 -05:00
dron0gus ee56957205 tle8888: watchdog: debug using TS (#1142) 2020-02-11 16:56:52 -05:00
dron0gus 9fe8fe86a0 tle8888: watchdog: use FWDRespSyncCmd for last response (#1140) 2020-02-11 15:49:17 -05:00
dron0gus 59bb70f638 tle8888: watchdog: do not overwrite defaults, response table fix (#1139) 2020-02-11 15:36:53 -05:00
rusEfi 0c2d00b455 TLE8888 watchdog #917
still no luck. responses 0x85c and 0xa5c
2020-02-11 00:54:15 -05:00
rusEfi 41f274b73c WdDiag 2020-02-10 21:28:55 -05:00
rusEfi edc7ad69ae TLE8888 watchdog #917
time to start working?!
2020-02-10 18:32:32 -05:00
rusEfi 948cc7743e TLE8888 watchdog #917
maybe better start-up sequence
2020-02-10 17:08:37 -05:00
rusEfi fdb9e97fd3 TLE8888 watchdog #917 2020-02-10 14:37:52 -05:00
rusEfi ce54ae9497 TLE8888 watchdog #917
window watchdog progress
2020-02-10 13:24:09 -05:00
rusefi 223fe8ab70 TLE8888 watchdog #917
first steps
2020-02-10 11:11:00 -05:00
rusefi bc118ecede code style 2020-02-10 09:29:11 -05:00
rusEfi cfd7397e46 FATAL error running MRE blinking test fix #1137 2020-02-09 21:16:31 -05:00
rusEfi 3c874398ff tle8888 start-up clean-up 2020-02-09 20:41:25 -05:00
Matthew Kennedy c9e439e650 we already have a timestamp, don't take another one (#1133) 2020-02-08 17:48:15 -05:00
Matthew Kennedy a08946c2f5 Fix master (#1134)
* Revert "something went very wrong."

This reverts commit e0fb325d5a.

* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131)""

This reverts commit 55e8ee5052.

* Revert "partial Revert of "Stricter compile options (#1132)""

This reverts commit b0d7cc9a22.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi e0fb325d5a something went very wrong.
first we have functional defects
that we do not write test to cover newly intdroduced defects
then attempts to fix defects do not compile
2020-02-08 08:15:46 -05:00
rusefi 55e8ee5052 trying to fix build broken by "Sensor reconfiguration while running (#1131)" 2020-02-08 07:26:54 -05:00
rusefi b0d7cc9a22 partial Revert of "Stricter compile options (#1132)" 2020-02-08 07:08:22 -05:00
Matthew Kennedy fa8553b00d Stricter compile options (#1132)
* stricter

* don't warn on that one

* this code was dead
2020-02-08 08:05:40 -03:00
Matthew Kennedy 52f565f874 Sensor reconfiguration while running (#1131)
* reconfigure sensors

* docs

* doc
2020-02-08 06:22:23 -03:00
Matthew Kennedy 5c4329dbf2 tps header cleanup (#1130)
* tps header cleanup

* dead code
2020-02-07 23:20:14 -03:00
Matthew Kennedy e04fc117e6 Consume new tps in status_loop.cpp, settings.cpp (#1129)
* new tps

* more

* settings.cpp too

* more

* comment
2020-02-07 06:05:15 -03:00
rusefi 910a4d6706 cam/vvt decoder 2020-02-05 01:49:33 -05:00
Matthew Kennedy 3a99dcd6dc move flash addr in to mpu_util (#1123)
* move flash addr in to mpu_util

* this _may_ work

* don't use offsetof

* proper header + defines
2020-02-05 08:06:38 +05:30
Matthew Kennedy b96d8f338e boost format & cleanup (#1126) 2020-02-05 06:47:31 +05:30
Matthew Kennedy 8965821f68 more signed vs. unsigned ts (#1124) 2020-02-04 11:47:01 -05:00
Matthew Kennedy eb472c49b2 Use new sensors for TPS (#1111)
* tps init

* fix init

* call init

* use correct sensors, scale using constant

* includes

* handle error
2020-02-04 01:54:05 -05:00
rusefi b47462b4de Three wire idle air valve #1122
ugly but should work to begin with
2020-02-04 01:22:04 -05:00
rusefi 14d2881810 Three wire idle air valve #1122
ugly but should work to begin with
2020-02-04 01:06:20 -05:00
rusefi 67de6fe6fd fixing build 2020-02-02 13:18:41 -05:00
ola b94ba38efc Some initial work at Launch/ALS
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
rusefi d645ea2d1e more Proteus CI 2020-02-02 08:42:05 -05:00
rusefi 791b816130 Boost Control is experimental/Alpha Version 2020-02-02 08:38:15 -05:00
960 580e725d11 Boost pr (#1114)
* boost control

* cleanup

* Delete rusefi_config.txt

* Add files via upload

* Delete rusefi_config.txt

* Add files via upload

* Update rusefi.input

* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
Matthew Kennedy a4e9d638b7 more proteus pins (#1118) 2020-02-02 02:38:15 -05:00
rusefi 3d3c4c38f4 looking forward 2020-02-01 17:55:58 -05:00
rusefi 097afd19c4 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-02-01 17:30:19 -05:00
Matthew Kennedy f5b90d3f30 Simplify fuel math again (#1117)
* return the scheduled time from scheduleByAngle

* simplify fueling math
2020-02-01 17:29:55 -05:00
rusefi f7c8580b11 reducing headers 2020-02-01 17:27:24 -05:00
Matthew Kennedy 734963343d Rescale TPS (#1112)
* fake adc ticks

* consumers

* fix test 1

* fix tests
2020-02-01 16:41:07 -05:00
rusefi d67976364a Matt does this look right? 2020-02-01 14:45:55 -05:00
rusefi 81e7a50174 proteus build into CI 2020-02-01 14:27:41 -05:00
rusefi f834f99245 opening the door to boost controller! 2020-01-31 14:29:52 -05:00
rusefi 6dd509a34b opening the door to boost controller! 2020-01-31 14:23:15 -05:00
rusefi f4d36f32fa VVT refactoring & assertions for VVT test 2020-01-31 01:49:10 -05:00
rusefi a124e0b934 date & VVT test progress 2020-01-31 01:23:01 -05:00
rusefi 1735529a6b refactoring: extracting DEEP_IN_THE_PAST_SECONDS contant 2020-01-31 01:21:56 -05:00
rusefi 5bb778381a lovely tiny bug which mostly affects NB2 with an impossible one tooth crank trigger wheel 2020-01-30 01:47:34 -05:00
rusefi 1b40819516 micro refactoring 2020-01-30 01:20:41 -05:00
Matthew Kennedy 4a1e17e535 minor proteus default config & mapping fixes (#1113)
* vbatt and can

* correct comment

* fix mapping
2020-01-29 23:32:48 -05:00
Matthew Kennedy c51f3ad303 Dont cache dma buffers (#1110)
* add no_cache

* don't disable cache

* conventions

* formatting
2020-01-29 00:32:43 -05:00
rusefi 4dd9edfcff reusing constant 2020-01-28 00:27:30 -05:00
rusefi 9bd819a18d extracting class & codes clean-up 2020-01-28 00:16:33 -05:00
rusefi 38afb582a1 reducing magic constants 2020-01-27 23:45:46 -05:00
rusefi ae228dff0e trigger refactoring 2020-01-26 14:20:55 -05:00
rusefi bc3797d9ef code style 2020-01-26 13:58:47 -05:00
rusefi 19d318c8ee trigger refactoring 2020-01-26 13:51:35 -05:00
rusefi 9bd796ab6b trigger refactoring 2020-01-26 12:02:54 -05:00
rusefi 6548964461 good thing we have CI - fixing build 2020-01-26 09:00:46 -05:00
rusefi 35e60bf607 reducing code duplication 2020-01-26 06:35:51 -05:00
rusefi 98c6198f1d reducing code duplication 2020-01-26 06:28:33 -05:00
rusefi 23631b5970 trigger refactoring 2020-01-26 06:12:01 -05:00
rusefi d1a4b39a5a refactoring: de-coupling trigger decoder and engine 2020-01-26 03:48:25 -05:00
rusefi dfa8d9ccc9 refactoring trigger 2020-01-26 03:33:45 -05:00
rusefi a5f3b3f33e SCB_DisableDCache rollback 2020-01-25 21:30:19 -05:00
rusefi 59c293b548 trigger refactoring 2020-01-25 11:22:25 -05:00
rusefi 4f5aeea301 trigger refactoring 2020-01-25 02:00:33 -05:00
rusefi c018e0bc0a clean-up 2020-01-25 01:42:48 -05:00
rusefi 5ec42fd6bc F7 SPI challenges 2020-01-24 23:52:56 -05:00
rusefi 43eb2ef9d0 refactoring trigger 2020-01-24 13:42:09 -05:00
rusefi ea82d82426 refactoring trigger 2020-01-23 13:39:50 -05:00
rusefi c7875876e5 refactoring - de-coupling trigger 2020-01-22 13:25:35 -05:00
rusefi f6ce9397db refactoring 2020-01-22 01:22:44 -05:00
rusefi 586eb9e6e3 code style: trying to get used to this syntax 2020-01-22 00:45:09 -05:00
rusefi a89e20a647 refactoring 2020-01-22 00:40:26 -05:00
rusefi 1a3bfa4b02 code style 2020-01-21 01:47:58 -05:00
rusefi d91a7a6a8f code style 2020-01-21 01:40:11 -05:00
Matthew Kennedy 9473e03a6a Inject timestamps for injection too (#1108)
* schedule by nt, not us

* inject timestamp
2020-01-20 00:12:18 -05:00
Matthew Kennedy f8cd2ad3ce use NT_PER_SECOND instead of convert from microseconds (#1107)
* add NT_PER_SECOND

* missed a few

* inject tooth logger timestamp

* inject
2020-01-19 22:23:41 -05:00
Matthew Kennedy 72a8a1c74a don't use us for pwm calculation (#1106) 2020-01-19 07:02:49 -05:00
rusefi a1e837d763 NT not US not MS
thank you Matt
2020-01-19 03:49:35 -05:00
rusefi 5529e7cebf date 2020-01-19 03:49:06 -05:00
rusefi 8e459e84ff one step back 2020-01-19 02:58:54 -05:00
rusefi 8165bfc8ed better constraint validation 2020-01-19 00:28:58 -05:00
rusefi 7927f7c035 better variable name & docs 2020-01-19 00:16:19 -05:00
Matthew Kennedy 94e30b0b38 Separate stepper control logic from hardware (#1101)
* divorce stepper from hw

* oops

* ptr not ref

* ptr not ref

* whitespace

* null check
2020-01-15 02:18:15 -05:00
Matthew Kennedy 049567f3e9 fix signed ignition timing (#1102) 2020-01-14 22:57:29 -05:00
rusefi 6c70f390da trigger shape constraint validation 2020-01-14 03:54:46 -05:00
rusefi 7fdd10b50c code style 2020-01-14 03:41:11 -05:00
rusefi 4e6d6e0625 reducing complexity? 2020-01-13 22:25:51 -05:00
rusefi 695da5486b reducing complexity 2020-01-13 22:23:46 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 5f5e4d92b0 header style 2020-01-13 02:30:49 -05:00
rusefi 12600a3b06 date 2020-01-13 02:03:42 -05:00
rusefi abe1b8c1f3 refactoring: no need to specify parameter manually 2020-01-12 10:43:02 -05:00
dron0gus 406703b1b5 Gpio diagnostic (#1100)
* enums: add brain_pin_diag_e enum for pin diagnostic

* gpio core: add pin diagnostic call

* gpio: mc33810: add diagnostic support

* gpio: mc33972: add diagnostic support

* gpio: tle6240: add diagnostic

* pin_repository: output diagnostic data for gpio chips

* enums: kinetis: add brain_pin_diag_e enum for pin diagnostic
2020-01-12 10:20:10 -05:00
rusefi 5fbe44c8b7 refactoring 2020-01-12 05:17:42 -05:00
rusefi 18e874ba7b refactoring 2020-01-12 05:12:09 -05:00
Matthew Kennedy 8200a3da64 AEM X-Series CAN Wideband Support (#1096)
* aem xseries

* parens to avoid operator precedence issues

* put in cfg

* disable that too

* fix sim/unit

* enough generated for ci

* this will guard correctly
2020-01-12 03:44:37 -05:00