Commit Graph

1359 Commits

Author SHA1 Message Date
rusefi ca21d5b4c2 refactoring 2020-09-03 19:29:15 -04:00
David Holdeman 499a430347
[TCU] GearController and TransmissionController base classes (#1749)
* add tcu ts outputs

* accidental change?

* add tcu base classes

* rearrange

* accidental change?

* add files

* missing backslash

* undo accidental change

* buttonshift includes, targets, and init

* Revert "buttonshift includes, targets, and init"

This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.

* use unused bit

* add return documentation

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
dron0gus 182747e907
Adc cleanups (#1743)
* ADC: remove ADC_TwoSamplingDelay*

1. it is related to double or triple interlived mode only
2. it should be writen to CCR register, not CR1

* ADC: use designated initializers
2020-09-01 07:38:35 -04:00
Matthew Kennedy 5fc1b6902c
fix #1740 the right way (#1741)
* fix

* put that back
2020-08-31 21:05:04 -04:00
rusefi e3b41c2387 dead code 2020-08-31 20:52:25 -04:00
Matthew Kennedy 12efd2f6be
generated for pt2001 (#1666)
* generated for pt2001

* don't unicode
2020-08-30 15:38:56 -04:00
NOx-z e1e9e2caf0
Mc33 ucode (#1734)
* mc33 flash check

* DI sanity checks for setting HV config

* mc33816 microcodee source code update for what we got running on the r0.4 board w/ pt2001

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-08-29 22:24:11 -04:00
rusefi 2971230711 VVT support for VAG trigger #883 2020-08-29 18:13:00 -04:00
rusefi 94daeb7922 OBD CAN sensors #1733 2020-08-29 14:36:23 -04:00
Matthew Kennedy 1a55085bb6
Software knock detection (#1730)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* config enable switch
2020-08-28 21:13:50 -04:00
rusefi 7867e83e43 VVT support for VAG trigger #883 2020-08-24 02:01:50 -04:00
rusefi 938f40cbef more fixing build? 2020-08-21 22:07:55 -04:00
Matthew Kennedy 733008b9d0
Analog input filtering (#1680)
* improve biquad

* cleanup

* add filtering to subscriptions

* config sensors

* comment

* doesn't need to be that fast

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:47:12 -04:00
rusefi add49b0a5c bugfix - PPS second channel was not initialized 2020-08-19 00:46:57 -04:00
Andrei 068f21c616 vss_exti untested 2020-08-13 18:27:31 +03:00
rusefi f04149b489 disable trigger_hw_input should work for PAL and VVT 2020-08-09 00:20:01 -04:00
rusefi ba62727c25 trigger and VSS hw integrated testing #1668 2020-08-08 18:28:43 -04:00
rusefi 512d7c2c49 TS SD integration #1653 2020-08-07 17:20:16 -04:00
rusefi 3b8525b521 TS SD integration #1653 2020-08-07 16:37:36 -04:00
rusefi a8ba5311f2 TS SD integration #1653 2020-08-07 16:27:21 -04:00
rusefi 6efcd3a474 TS SD integration #1653 2020-08-07 15:53:11 -04:00
rusefi cc35325eb7 TS SD integration #1653 2020-08-07 15:01:25 -04:00
rusefi 8764693179 TS SD integration #1653 2020-08-07 00:59:00 -04:00
rusefi 8192247175 TS SD integration #1653 2020-08-06 23:34:47 -04:00
rusefi 526e02af53 TS SD integration #1653 2020-08-06 22:05:26 -04:00
rusefi ea7fed6a16 TS SD integration #1653 2020-08-06 01:15:41 -04:00
rusefi b208f592cd TS SD integration #1653 2020-08-02 23:09:38 -04:00
rusefi 10b8da525d TS SD integration #1653 2020-08-02 22:31:11 -04:00
rusefi 8f4aecf7ca The Big Refactoring of 2019: folder structure #723 2020-08-02 20:46:40 -04:00
rusefi aa2ee8a776 TS SD integration #1653 2020-08-02 17:58:57 -04:00
rusefi 55bf936cee typo 2020-08-01 18:59:09 -04:00
Matthew Kennedy cd696acbe2 init 2020-07-29 02:50:23 -07:00
Matthew Kennedy 8508be5ebd dead 2020-07-29 02:49:37 -07:00
Matthew Kennedy 727f6e78ba explicit 2020-07-29 02:49:31 -07:00
Matthew Kennedy 1f221043ed shadowed 2020-07-29 02:49:23 -07:00
rusefi 064c96836d SD logging 2020-07-09 20:08:18 -04:00
rusefi 0409087606 docs 2020-07-04 21:38:52 -04:00
dron0gus 6992a541f3
stm32/kinetis_pins.cpp: remove PORTS array - duplicates ports array (#1527) 2020-06-21 15:59:18 -04:00
rusefi 048e910957 refactoring 2020-06-21 15:40:59 -04:00
kon 03f4efa0b2
BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
Matthew Kennedy 3a7c6f242b
Hardware pwm (#1283)
* hard pwm

* fix, comments

* PC6-9 and PD12-15

* PB6-9

* dynamic frequency

* f7 mcuconf

* format

* relocate to common, support variable frequency

* error handling

* oops

* fix test build

* noop kinetis

* better guards

* guard for bl

* guards don't work if they have typos

* more mapping

* oops

* don't use for slow pwm

* enable pwm

* guard properly

* save a little memory

* use less mem

* correct timers

* all your ram are belong to us

* update limit & comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
rusefi a4329169e9 better file name 2020-05-25 13:02:05 -04:00
rusefi fc28692258 more readable error message thank you Matt! 2020-05-23 17:20:46 -04:00
rusefi f806ca091d partial rollback 2020-05-23 17:13:46 -04:00
Matthew Kennedy b11c5cd8c8
switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
rusefi 44b5e38d3a "TLE8888 SR Unexpected response" does not work as intended fix #1466 2020-05-22 22:56:19 -04:00
rusefi a0a1a9f9bb "TLE8888 SR Unexpected response" does not work as intended #1466 2020-05-22 08:23:49 -04:00
rusefi 1387ea7582 helping build 2020-05-22 01:14:42 -04:00
rusefi c95a4c552b more info into error message 2020-05-22 01:05:07 -04:00
rusefi 09ff35918b progress 2020-05-21 22:33:48 -04:00