Commit Graph

6089 Commits

Author SHA1 Message Date
Matthew Kennedy 68813cda65 Dedupe (#1094)
* deduplicate

* yeah, the compiler is smart enough
2020-01-11 06:29:42 +03:00
Matthew Kennedy e25a93415f Schedule sparks with scheduleByAngle (#1092)
* injection

* injectors

* add edge timestamp to ShaftPositionListener

* scheduleByAngle require edgeTimestamp

* schedule with nt not us

* fix all schedulers

* schedule spark based on edge timestamp

* aux valves too

* update comments

* schedule dwell with new stamp

* format
2020-01-11 00:01:54 +03:00
rusefi 19df4661ab better method name 2020-01-10 02:02:22 -05:00
Matthew Kennedy a6a1335adb Require tooth reference time for scheduleByAngle (#1091)
* injection

* injectors

* add edge timestamp to ShaftPositionListener

* scheduleByAngle require edgeTimestamp

* schedule with nt not us

* oops, these were missing from this branch
2020-01-09 23:45:13 +03:00
Matthew Kennedy 851c6041b1 Inject timestamps in to hwHandleShaftSignal (#1090)
* injection

* injectors
2020-01-09 21:19:11 +03:00
Matthew Kennedy 859ef97607 stepper as thread task (#1089) 2020-01-09 09:03:23 +03:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
Matthew Kennedy 95a7a9a8e1 Strongly typed action constructor (#1087)
* strong typing

* maybe we needed that one
2020-01-07 18:10:31 -05:00
Matthew Kennedy bd029e27da remove concept of TS pages (#1075)
* remove pages

* unify validation

* these need to be unsigned or we can still overrun
2020-01-07 07:56:45 -05:00
dron0gus 9f0d84f338 Gpio fixes (#1086)
* drivers: gpio: add MC33810 driver (skeleton)

* pin_repository: debug: do not show absent chips
2020-01-07 07:55:50 -05:00
dron0gus a2fdc1128e triggers: fix coexistence of ICU and EXTI trigger drivers (#1085) 2020-01-07 03:42:08 -05:00
Matthew Kennedy 5c85d53e16 Pass action_s instead of callback/param (#1084)
* change action

* consumers

* fix test

* didn't mean to add those

* simplify

* fix simulator

* fix sim for real

* oy

* maybe this time the simulator will actually be fixed, for real

* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
dron0gus 1b42748e60 Spi fixes (#1083)
* spi: add support for SPI4

* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -05:00
rusefi feae6f95f2 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-01-03 21:41:51 -05:00
rusefi 30db7e3c26 typo 2020-01-03 21:41:11 -05:00
dron0gus eabde7079a icu trigger: do not crash on incorrect brainPin (#1082)
* icu trigger: do not crash on incorrect brainPin

* Update trigger_input_icu.cpp
2020-01-03 09:13:55 -05:00
dron0gus 4aba7756e2 scripts: add gen_config, gen_config_board and gen_enum_to_string for Linux (#1081) 2020-01-02 18:58:28 -05:00
rusefi 0075f9492c ETB documentation improvement? 2019-12-30 10:25:52 -05:00
rusefi 07222f68c0 E30 M3 Tach output solution #907 2019-12-30 01:41:23 -05:00
rusEfi 2d59d23ce2 docs 2019-12-29 14:58:39 -05:00
rusEfi 4126262aa6 improvements around weird engine types 2019-12-28 23:26:43 -05:00
rusEfi 6e881d53b7 improvements around weird engine types 2019-12-28 23:22:16 -05:00
rusefi 4192de8fcc TL,DR 2019-12-26 23:07:15 -05:00
rusefi a9229d08cb MC33816 default firmware 2019-12-26 23:06:31 -05:00
rusefi 8bc2dba054 would URLs work? 2019-12-26 22:30:18 -05:00
rusefi b83816b9ef laughable gdi progress 2019-12-26 22:30:12 -05:00
rusefi 0bd8a7e039 Frankenso does not use ETB 2019-12-25 15:58:54 -05:00
rusefi 3ab209fafc maybe improvent for trigger errors in TS and console, TS still does not know about order error counter 2019-12-25 15:57:47 -05:00
rusefi 6a193576be all pins improvement 2019-12-25 15:39:13 -05:00
rusefi 9956ee6c15 maybe improvement to console trigger messages 2019-12-25 15:05:02 -05:00
rusefi 5ef99a044b version compatibility validation fix 2019-12-25 14:15:44 -05:00
rusefi d575ffe5c1 enabling TIM8 ICU 2019-12-25 09:28:51 -05:00
rusefi cc466ad3ef de-coupling things a bit 2019-12-24 00:26:23 -05:00
rusefi 6f2cc0ef9b wow dead stuff? 2019-12-24 00:14:10 -05:00
rusefi 7cac985b8b oh this was OOOOLLLLLDDD 2019-12-24 00:10:28 -05:00
rusefi cb9fc19f92 that's not a worth a file 2019-12-24 00:03:53 -05:00
rusefi c38b4545eb refactoring 2019-12-23 23:32:43 -05:00
rusefi 3494f6ff9f adding simplicity 2019-12-23 23:25:08 -05:00
rusefi a08258ba8e style 2019-12-23 23:05:40 -05:00
rusefi 8ffbe768cd simplicity? 2019-12-23 22:50:04 -05:00
rusefi a81655216b adding simplicity 2019-12-23 22:40:23 -05:00
rusefi 1576a9f731 adding simplicity 2019-12-23 22:30:58 -05:00
rusefi 82f3972417 refactoring 2019-12-23 22:12:55 -05:00
rusefi cf0b12b203 refactoring 2019-12-23 21:58:06 -05:00
rusefi 537a95a9b4 removing legacy perf code 2019-12-23 21:56:16 -05:00
rusefi 0a7ec2cf59 Revert "couple of dead lines"
This reverts commit 831dbde5
2019-12-23 21:55:08 -05:00
rusefi 831dbde538 couple of dead lines 2019-12-23 21:44:38 -05:00
rusefi 84e732846b replacing probably unused engineSnifferHisto with new perf_trace 2019-12-23 20:22:17 -05:00
rusefi 65f5991b9e Merge remote-tracking branch 'origin/master' 2019-12-23 20:19:44 -05:00
rusefi a338f28396 removing one dead line 2019-12-23 20:19:13 -05:00
rusEfi aacb921fc2 TS project repair 2019-12-22 20:15:00 -05:00
Matthew Kennedy 868a2bb8ef Split CAN in to separate threads for rx/tx (#1078)
* rewrite can

* default parameters
2019-12-22 12:17:53 -05:00
rusefi 253f68cb61 date & fresh integration 2019-12-22 08:24:47 -05:00
Matthew Kennedy 9645130527 Shrink output channels, now with passing CI (#1077)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch

* rev signature

* correct map offset

* handle unsigned properly

* RPM is unsigned

* vss isn't scaled

* extract magic

* required generated for build

* de-scale rpm

* field type cases
2019-12-22 08:12:45 -05:00
rusefi b8733edf11 functional testing should not be that darn slow #1076
progress?
2019-12-22 01:03:58 -05:00
rusefi 73a4a92891 functional testing should not be that darn slow #1076
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi 609865da0f hopefully useful macro? 2019-12-21 21:18:38 -05:00
rusefi fde9a449cf random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS 2019-12-21 21:11:09 -05:00
rusefi 6ca549ca34 refactoring & fixing build 2019-12-21 20:43:11 -05:00
rusefi 31f4d3ade9 a bit of dead code 2019-12-21 20:35:13 -05:00
rusefi ce0921cb78 refactoring only #1076 2019-12-21 20:17:58 -05:00
rusefi b78e1b7a00 refactoring & docs update 2019-12-21 19:59:33 -05:00
rusefi 745348bf49 kinetis just started to suddenly work? #1061 2019-12-21 19:58:07 -05:00
rusefi 128e002896 docs :( 2019-12-21 19:50:16 -05:00
rusefi 7a08c18ad6 looks like UI options does not work yet :( trying to make command line option a bit more usable 2019-12-21 16:04:03 -05:00
rusefi 871f86967f Revert "DRAFT Shrink output channels, again (#1074)"
This reverts commit 562ce6cc
2019-12-21 15:02:49 -05:00
rusefi 86a3feb13f Revert "fresh integration & changing protocol versions & versions"
This reverts commit f6c3f120
2019-12-21 15:02:37 -05:00
rusefi b9338b4047 Revert "reducing magic constants"
This reverts commit 032d8240
2019-12-21 15:02:17 -05:00
rusefi 8602379a32 Revert "trying to save build. it's a useful PR overall but :("
This reverts commit 9f191f0d
2019-12-21 15:01:22 -05:00
rusefi 9f191f0dd8 trying to save build. it's a useful PR overall but :( 2019-12-21 14:34:50 -05:00
rusefi 032d824064 reducing magic constants 2019-12-21 13:30:47 -05:00
rusefi f6c3f12091 fresh integration & changing protocol versions & versions 2019-12-21 12:35:47 -05:00
Matthew Kennedy 562ce6ccaf DRAFT Shrink output channels, again (#1074)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch
2019-12-21 08:55:19 -05:00
rusefi 4a21203c05 docs 2019-12-19 22:40:27 -05:00
rusefi 22f2739764 Revert "Shrink output channels, use scaling (#1069)"
This reverts commit 89405014
2019-12-19 22:35:06 -05:00
rusefi d3da010088 Revert "fresh integration"
This reverts commit 9363d081
2019-12-19 22:34:58 -05:00
rusefi 320ff0972f Revert "hmm (#1073)"
This reverts commit f8c98cad
2019-12-19 22:34:52 -05:00
rusefi 88b04e374c Revert "fresh integration"
This reverts commit 5a160912
2019-12-19 22:34:47 -05:00
rusefi 5a160912f5 fresh integration 2019-12-19 22:05:19 -05:00
Matthew Kennedy f8c98cad07 hmm (#1073) 2019-12-19 21:09:59 -05:00
rusefi 9363d081c3 fresh integration 2019-12-19 20:38:48 -05:00
Matthew Kennedy 89405014cf Shrink output channels, use scaling (#1069)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order
2019-12-19 20:37:42 -05:00
rusefi bf8cdee62c fresh .ini 2019-12-18 19:37:51 -05:00
Matthew Kennedy 59dcc004ac add settings to log debug & errors list (#1071) 2019-12-18 19:35:08 -05:00
Matthew Kennedy 1fe3fee0d3 only log acc if enabled (#1070) 2019-12-18 19:34:08 -05:00
Matthew Kennedy 2f0b25a476 don't log if disabled (#1067) 2019-12-18 14:39:38 -05:00
Matthew Kennedy b9454790c7 Add new sensor function types (#1065)
* add functions

* add tests

* add chain tests

* float suffix
2019-12-17 09:06:29 -05:00
rusefi 62eb1ee22c Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-17 09:01:22 -05:00
rusefi eac3373645 docs 2019-12-17 08:56:08 -05:00
Matthew Kennedy eb27bcf3d6 Terrible ADC3 hack for Proteus vbatt support (#1066)
* this is a great idea!

* typo

* simplify

* simplify, cache coherency

* enable adc3 in board file

* copyright

* fix tests, probably
2019-12-17 08:34:56 -05:00
Matthew Kennedy 08a8fa8d1e Remove sensor reporting loc (#1064)
* remove raw rept loc

* remove normal reporting location

* fix up oil pressure

* format
2019-12-16 22:45:46 -05:00
Matthew Kennedy 0a7884241d one source of truth (#1063) 2019-12-16 21:44:11 -05:00
Matthew Kennedy f90a5e48eb const (#1062) 2019-12-16 20:36:40 -05:00
rusefi 2bff85ad16 notes to self 2019-12-16 01:47:34 -05:00
rusefi addfd692ce fixing build 2019-12-15 23:33:15 -05:00
rusefi f0a588a888 :( sad stuff 2019-12-15 23:21:38 -05:00
rusefi e9c95f30d2 fixing build 2019-12-15 22:58:10 -05:00
rusefi 0d0298ac98 boring test mule stuff 2019-12-15 22:21:49 -05:00
rusefi 1c7de824e2 typo 2019-12-14 18:33:08 -05:00
Matthew Kennedy db3ae5b03f DRAFT simplify dequeue logic (#1050)
* simplify dequeue logic

* unnecessary

* format

* doc
2019-12-14 18:00:39 -05:00