Commit Graph

2353 Commits

Author SHA1 Message Date
rusefillc fe1d3911fe proteusBoardTest 2020-12-26 10:46:45 -05:00
rusefillc 1ebce57721 proteusBoardTest 2020-12-26 10:41:33 -05:00
rusefi af6ad0757e PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
GitHub build-firmware Action c1198421a6 Auto-generated configs and docs 2020-12-24 12:33:20 +00:00
Matthew Kennedy 3d13d03424
Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
Matthew Kennedy 55ebe223a7
Partition configs by board type (#2106)
* remove old flag

* flags

* reorder switch

* oops
2020-12-22 21:54:40 -05:00
rusefi 6032d0a26f Proteus is compiled without VSS feature #2122 2020-12-22 21:28:51 -05:00
rusefi d6b745e1c0 Proteus is compiled without VSS feature #2122 2020-12-22 20:50:01 -05:00
GitHub build-firmware Action 6e62865f20 Auto-generated configs and docs 2020-12-22 22:24:02 +00:00
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc ce4ab4d09c fixing master PROTEUS_DEFAULTS 2020-12-22 17:13:05 -05:00
rusefillc 2d2225bfdb PROTEUS_QC_TEST_BOARD 2020-12-22 10:13:27 -05:00
GitHub build-firmware Action 29f321a9aa Auto-generated configs and docs 2020-12-22 15:07:32 +00:00
Matthew Kennedy 8737ba62c2
Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
GitHub build-firmware Action 434877c6a7 Auto-generated configs and docs 2020-12-22 12:26:21 +00:00
GitHub build-firmware Action b1ea05a46d Auto-generated configs and docs 2020-12-22 03:22:57 +00:00
rusefillc c0cbc2a31f VR_HW_CHECK_MODE 2020-12-21 13:33:09 -05:00
rusefi f3b71d0ab8 VR_HW_CHECK_MODE 2020-12-21 12:30:15 -05:00
rusefillc 038eb00207 something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc fbab35bd56 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-20 12:51:20 -05:00
rusefi 3bafda26cd proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
rusefillc 0fe6bfad13 proteus_f4_hardware_QC_special_build 2020-12-20 09:14:14 -05:00
rusefillc afaef9ce8f proteus_f4_hardware_QC_special_build 2020-12-20 09:11:36 -05:00
rusefi 0213bfc606 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 17:06:42 -05:00
rusefillc 265ef38cb5 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 16:07:21 -05:00
rusefillc dff387929a something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
CrazyStriker 5f0fd4ed0a
Nb proteus config (#2104)
* Added proteus config and started working on it

* Update engine config

* corrected board config

* Completed pin attribution in proteus hardcoded nb2 miata

* Removed problematic call

* Corrected the blocking value

* Removed blocking equal sign

* Reworked indentation
2020-12-18 15:53:57 -05:00
GitHub build-firmware Action 4d26ad379f Auto-generated configs and docs 2020-12-18 17:41:54 +00:00
rusefillc 55b4e82615 naming consistency 2020-12-18 09:01:18 -05:00
rusefillc df5b21ceb5 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy 1838beadfa
only build in config for the correct board (#2088)
* only build in config for the correct board

* undo

* undo

* undo

* only touch proteus config

* include configs in tests
2020-12-17 17:12:24 -05:00
rusefillc 8f2116921c trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:24:19 -05:00
rusefillc 9ab4c2af5b hello new wiki 2020-12-16 19:58:15 -05:00
GitHub build-firmware Action bf1b536565 Auto-generated configs and docs 2020-12-16 23:27:03 +00:00
Matthew Kennedy 6151f8c334
extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
Matthew Kennedy d62618c5f8
prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
GitHub build-firmware Action 7c2f8707f2 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
GitHub build-firmware Action b6089a83ee Auto-generated configs and docs 2020-12-15 04:18:45 +00:00
GitHub build-firmware Action 431bdf8f94 Auto-generated configs and docs 2020-12-14 13:31:27 +00:00
shadowm60 9d36bab793
Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
GitHub build-firmware Action d616892eab Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
GitHub build-firmware Action 62d35df025 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
GitHub build-firmware Action 4ef5bf3d34 Auto-generated configs and docs 2020-12-13 22:48:42 +00:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi f36255108e subi 2020-12-13 16:38:09 -05:00
GitHub build-firmware Action 48e26ec0a3 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
GitHub build-firmware Action b9fc438742 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
rusefi 3da7463562 subi drama 2020-12-13 15:44:14 -05:00
rusefi 91aa8b80d7 this car has high-side main relay WOW 2020-12-13 14:49:14 -05:00
rusefi 7f65e95a65 subi 2020-12-13 11:39:10 -05:00
GitHub build-firmware Action b14462ca65 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
rusefillc ba3a83667b https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
GitHub build-firmware Action b75eb9ea81 Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
rusefillc c307b1b886 Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049 2020-12-11 09:07:23 -05:00
Matthew Kennedy 8ad2080df7
switch stm32 scheduling to use PWM driver (#1983)
* move to folder

* extract hardware part of microsecond_timer

* dead ST forum link

* de-volatile

* simulator build

* guard

* switch stm32 to pwm timer

* comments

* f7 mcuconf

* simulator

* guard

* warning

* header, cleanup

* constant

* less magic

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 00:44:40 -05:00
GitHub build-firmware Action a321ab76a7 Auto-generated configs and docs 2020-12-09 19:33:03 +00:00
GitHub build-firmware Action 247d608c1e Auto-generated configs and docs 2020-12-09 17:15:05 +00:00
GitHub build-firmware Action 5537b2035c Auto-generated configs and docs 2020-12-09 02:10:55 +00:00
GitHub build-firmware Action 9bf994e10f Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
GitHub build-firmware Action 1c6b53658e Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
GitHub build-firmware Action 6b80297245 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
Matthew Kennedy 67269aa637
maybe fix sensor init checks (#2034)
* enums

* don't collide

* auto_generated_enums

* check based on new enum val

* maybe this will make generate tool happy

* add a test

* fix test

* fix and add another test

* make clang happier

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
GitHub build-firmware Action d20d484fce Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
GitHub build-firmware Action 70467a0117 Auto-generated configs and docs 2020-12-06 19:19:09 +00:00
rusefillc 9f13d39003 MRE_SUBARU_EJ18 2020-12-06 14:16:40 -05:00
rusefillc 166f4fc381 MRE_SUBARU_EJ18 2020-12-06 13:08:09 -05:00
GitHub build-firmware Action c492d5b6af Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
shadowm60 864bd7fa73
Dyno view proposal (#1999)
* DynoView creation

module implementation and unit_tests

* update acc algo

we only calcualte new acceleration value if speed has changed, not on every callback.

* added acceleration ts_channel

* fixed broken unit tests

* fixed accel sign

* review updates

* Update test_dynoview.cpp

fix unit_tests

* Update engine_controller.cpp

Fix .ram4 unused size

* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
GitHub build-firmware Action be55246188 Auto-generated configs and docs 2020-12-04 16:39:14 +00:00
rusefillc 0a23e82baf 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
GitHub build-firmware Action 3a4942fd55 Auto-generated configs and docs 2020-12-04 05:21:17 +00:00
rusefillc 4c3eae5676 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
GitHub build-firmware Action 98583bfabb Auto-generated configs and docs 2020-12-04 04:26:34 +00:00
GitHub build-firmware Action 0b2e8755ee Auto-generated configs and docs 2020-12-04 02:59:40 +00:00
GitHub build-firmware Action 77914fb702 Auto-generated configs and docs 2020-12-04 02:33:46 +00:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
GitHub build-firmware Action 82c30dadf8 Auto-generated configs and docs 2020-12-03 15:51:02 +00:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
GitHub build-firmware Action d803115081 Auto-generated configs and docs 2020-12-03 14:36:32 +00:00
GitHub build-firmware Action b2e26a2e2b Auto-generated configs and docs 2020-12-03 06:38:53 +00:00
rusefillc dd9e431782 dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
GitHub build-firmware Action 896a96fb63 Auto-generated configs and docs 2020-12-03 06:34:34 +00:00
GitHub build-firmware Action b5b9554903 Auto-generated configs and docs 2020-12-03 06:25:01 +00:00
rusefillc a2036ebc70 dead trigger, this would now be vvt+60/2 2020-12-03 01:22:57 -05:00
GitHub build-firmware Action c7f951a2e9 Auto-generated configs and docs 2020-12-03 06:21:16 +00:00
GitHub build-firmware Action b943bb8e3d Auto-generated configs and docs 2020-12-03 06:04:08 +00:00
GitHub build-firmware Action e61c79c378 Auto-generated configs and docs 2020-12-03 05:21:30 +00:00
GitHub build-firmware Action 85637f01c7 Auto-generated configs and docs 2020-12-03 01:32:59 +00:00
GitHub build-firmware Action 5c9ac60b0b Auto-generated configs and docs 2020-12-03 01:22:05 +00:00
GitHub build-firmware Action a80a1fb5a2 Auto-generated configs and docs 2020-12-02 19:12:18 +00:00
GitHub build-firmware Action 177328e736 Auto-generated configs and docs 2020-12-02 18:40:45 +00:00
rusefi 425b47bdc6 isSdCardEnabled is set to 'true' a few lines below 2020-12-02 00:09:08 -05:00
GitHub build-firmware Action 94d2ab5ea2 Auto-generated configs and docs 2020-11-30 05:14:11 +00:00
rusefi c9e126f9e3 PnP miata 2020-11-30 00:12:06 -05:00
rusefi 6f3faaf808 PnP miata 2020-11-30 00:10:29 -05:00
rusefi 90f2b0f401 PnP miata 2020-11-30 00:00:36 -05:00
rusefillc c5718c555e 94 2020-11-29 18:09:11 -05:00
rusefillc 160f22984c 94 2020-11-29 12:07:56 -05:00
GitHub build-firmware Action 8e1674956d Auto-generated configs and docs 2020-11-29 03:51:15 +00:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
GitHub build-firmware Action 5087fc7c5a Auto-generated configs and docs 2020-11-29 03:22:29 +00:00
rusefi c9da8262f7 it's weird 2020-11-27 16:41:11 -05:00
rusefi 89eaae8234 LM_ALPHA_N_2 rename 2020-11-27 15:44:31 -05:00
rusefillc 0840b91f7f dead engine config
one step back
2020-11-26 21:21:25 -05:00
rusefillc 334f0a5a8a dead engine config 2020-11-26 21:07:34 -05:00
rusefillc 55b763f62e dead engine config 2020-11-26 20:26:12 -05:00
GitHub build-firmware Action fb0863a1be Auto-generated configs and docs 2020-11-26 22:30:00 +00:00
rusefillc 21acca2f47 Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:58:02 -05:00
rusefillc b75ab76f1f Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:56:18 -05:00
rusefillc 24c9e54cde Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 16:20:13 -05:00
Matthew Kennedy 1375b946ae
default to off (#1989) 2020-11-25 22:44:08 -05:00
rusefi 07de7aa46c GDB helper 2020-11-25 13:53:29 -05:00
GitHub build-firmware Action bbf29b0d40 Auto-generated configs and docs 2020-11-25 18:21:44 +00:00
GitHub build-firmware Action 9ac0391fb4 Auto-generated configs and docs 2020-11-22 23:32:36 +00:00
Andrey G a285ba6743
ADC: fixes: (#1979)
* ADC: fixes:

-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM

* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
rusefi fb98a3dffc GDI Epic #1448 2020-11-22 01:14:34 -05:00
GitHub build-firmware Action 3211c033ff Auto-generated configs and docs 2020-11-22 05:45:32 +00:00
GitHub build-firmware Action dc0d3242bf Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
GitHub build-firmware Action 85d2555d70 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
Matthew Kennedy f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
Matthew Kennedy 5d3d85d644
put getTimeNowLowerNt in to mpu_util (#1950)
* put getTimeNowLowerNt in to mpu_util

* move GPTDEVICE to port_mpu_util

* and remove from efifeatures
2020-11-18 14:17:00 -05:00
rusefi 71638c07ae toyota89281_33010_pedal_position_sensor 2020-11-16 23:38:23 -05:00
rusefillc cd7cefb669 DC not ETB refactoring 2020-11-16 20:05:35 -05:00
GitHub build-firmware Action e39133fef1 Auto-generated configs and docs 2020-11-17 00:54:02 +00:00
GitHub build-firmware Action f128f8b864 Auto-generated configs and docs 2020-11-17 00:45:34 +00:00
rusefi 081aaec862 B6 2020-11-15 20:56:16 -05:00
GitHub build-firmware Action ebf64223fd Auto-generated configs and docs 2020-11-15 22:33:48 +00:00
rusefi 1561015ab1 MRE mapping 2020-11-15 17:16:58 -05:00
rusefi 07aae5e10e GDI Epic #1448 2020-11-15 15:37:53 -05:00
GitHub build-firmware Action 1a73258778 Auto-generated configs and docs 2020-11-14 23:08:03 +00:00
rusefillc 07e25ccf3c https://rusefi.com/forum/viewtopic.php?p=38367#p38367
idle position/waste gate position sensor usability
2020-11-14 18:05:27 -05:00
Matthew Kennedy 0e3673e78c
remove idle thread; just call from periodicSlowCallback (#1924)
* remove thread

* remove ui
2020-11-11 21:47:19 -05:00
Matthew Kennedy bb8650179c
consolidate EFI_UNIT_TEST and friends (#1940)
* restructure

* guard c++

* idle too

* status_loop.h

* consolidate definitions

* use 1/0 instead, check for existence

* missed a few

* dead define

* defs for bootloader
2020-11-11 20:34:39 -05:00
rusefillc c15a4a22d2 GDI Epic #1448 2020-11-11 00:43:21 -05:00
GitHub build-firmware Action d6687a68e9 Auto-generated configs and docs 2020-11-11 04:13:06 +00:00
Matthew Kennedy 02c4d630f6
compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
Andrey G 62f441376c
Tle8888 stepper (#1936)
* TLE8888: enable PP mode for OUT21..24 in case of useTLE8888_stepper

* Lada Kalina is a test mule for stepper idle
2020-11-10 14:16:46 -05:00
GitHub build-firmware Action eada3c394c Auto-generated configs and docs 2020-11-10 17:39:01 +00:00
rusefillc 896a55d78e GDI Epic #1448 2020-11-09 22:53:23 -05:00
GitHub build-firmware Action 910a97726d Auto-generated configs and docs 2020-11-10 03:09:32 +00:00
GitHub build-firmware Action 2f59d771ec Auto-generated configs and docs 2020-11-10 02:20:33 +00:00
rusefi 75a77b06f4 debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927 2020-11-07 00:35:56 -05:00
rusefi 8a11920dec v12 & dual-channel PPS 2020-11-06 15:30:11 -05:00
GitHub build-firmware Action af0a777fad Auto-generated configs and docs 2020-11-06 19:37:34 +00:00
rusefi 86bdb79c5a v12 Proteus 2020-11-06 14:18:54 -05:00
GitHub build-firmware Action 061ca7f137 Auto-generated configs and docs 2020-11-05 20:37:03 +00:00
GitHub build-firmware Action 9a01d3a4a0 Auto-generated configs and docs 2020-11-05 13:06:37 +00:00
GitHub build-firmware Action afacf7eb1b Auto-generated configs and docs 2020-11-04 17:46:41 +00:00
rusefi d28504cb31 miata TCU 2020-11-04 12:42:30 -05:00
rusefi 3a17c61ae6 miata TCU 2020-11-03 23:59:00 -05:00
rusefi 0d1399f834 miata TCU 2020-11-03 23:21:47 -05:00
David Holdeman a7b5833f2a
set solenoids (#1925) 2020-11-03 22:18:40 -05:00
rusefillc df285c9328 TCU 2020-11-03 20:17:47 -05:00
Matthew Kennedy cf3dc9c2c3
convert cranking defaults to mg (#1921)
* convert cranking defaults to mg

* fix tests
2020-11-03 14:12:26 -05:00
GitHub build-firmware Action 885d28e0e4 Auto-generated configs and docs 2020-11-03 17:20:50 +00:00
GitHub build-firmware Action b37f9a0e24 Auto-generated configs and docs 2020-11-03 16:39:27 +00:00
GitHub build-firmware Action 06d4e727c8 Auto-generated configs and docs 2020-11-03 15:53:22 +00:00
rusefi 93d37634a8 B6 GDI 2020-11-01 00:33:18 -04:00
GitHub build-firmware Action 307c3fece1 Auto-generated configs and docs 2020-10-31 21:54:50 +00:00
GitHub build-firmware Action 1cb2cd6094 Auto-generated configs and docs 2020-10-30 21:44:34 +00:00
GitHub build-firmware Action 5d410e94f9 Auto-generated configs and docs 2020-10-29 19:28:08 +00:00
rusefi f527972670 b6 2020-10-29 01:15:55 -04:00
rusefi ee3879d4e1 b6 2020-10-28 18:53:30 -04:00
rusefillc 3635bac90a [EPIC] [Feature Request] Transmission Control #1454 2020-10-28 01:23:05 -04:00
rusefillc 2bd5f135d6 Merge remote-tracking branch 'origin/master' into master 2020-10-28 01:15:53 -04:00
GitHub build-firmware Action 8d0c537533 Auto-generated configs and docs 2020-10-28 05:06:20 +00:00
rusefillc 67789a4b2f GDI 2020-10-28 01:01:54 -04:00
GitHub build-firmware Action 60532606c1 Auto-generated configs and docs 2020-10-28 04:18:04 +00:00
GitHub build-firmware Action 6d10f2fb61 Auto-generated configs and docs 2020-10-27 12:24:46 +00:00
GitHub build-firmware Action 733be969ad Auto-generated configs and docs 2020-10-26 22:17:20 +00:00
Matthew Kennedy 09b41bb1bb
Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
GitHub build-firmware Action d5c929f5ba Auto-generated configs and docs 2020-10-26 11:25:24 +00:00
GitHub build-firmware Action ac9b8fee45 Auto-generated configs and docs 2020-10-26 02:28:28 +00:00
Matthew Kennedy 5a810218aa
fix MRE digital input mapping (#1910) 2020-10-25 19:26:04 -04:00
GitHub build-firmware Action 27207dde9c Auto-generated configs and docs 2020-10-23 19:48:01 +00:00
Andrey G 8e11675afd
Tle8888 big update 1 (#1892)
* smart gpio: fix tle8888 direct pin mapping for MRE

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888

* TLE8888: cleanup

* TLE8888: do not reset driver private data on WD/undervoltage reset

* TLE8888: diagnostic updates

* TLE8888 driver: BIG driver rework

* TLE8888: check SPI answers for abnormal states

Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed

Keep tracking last accessed register and check with the next reply.

* TLE8888: debug clean-up

* TLE8888: implement spi array write

This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS

* TLE8888: fix PP outputs in OD mode

* TLE8888: cleanup register definitions

* TLE8888: run separate driver thread for each chip instance

Calculating poll interval for few chips become more complex, avoid
this running thread for each device.

* TLE8888: fix cypress and kinetic compilation

Both platforms define its own MAX and cause redifination error if
common.h is included in driver.

* MRE: update mapping.yaml and fix direct pin mapping for TLE8888

* TLE8888: diagnnostic: disable switch off in case of overcurrent

For all output, use current limiting instead

* TLE8888: check for overvoltage on OUT8..OUT13

* TLE8888: add TODO note about how to recover from failure condition

Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.

* TLE8888: save few bytes of RAM

* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888

Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c

* TLE8888: reorder code, cleanup

* TLE8888: mode all debug/statisctic to per-chip struct

* TLE8888: rework poll interval calculation

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
GitHub build-firmware Action ec17daeee7 Auto-generated configs and docs 2020-10-23 16:25:10 +00:00
GitHub build-firmware Action 82587e97cf Auto-generated configs and docs 2020-10-23 11:33:40 +00:00
Matthew Kennedy 4e249889a6
implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefi a7a475a1df B6 2020-10-23 00:39:22 -04:00
rusefillc c0c1eefd55 GDI Epic #1448 2020-10-22 01:48:28 -04:00
rusefi 64ba8b3e99 Merge remote-tracking branch 'origin/master' 2020-10-22 01:12:14 -04:00
rusefi e12e3f9dc6 progress 2020-10-22 00:57:11 -04:00
GitHub build-firmware Action 3f9dd26478 Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
Matthew Kennedy e0bb7ad581
disable i2c, other unused features (#1891)
* dead

* more
2020-10-20 22:24:32 -04:00
rusefi 580872d88e VAG radiator control 2020-10-19 23:25:23 -04:00
GitHub build-firmware Action dbf3b68e33 Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
rusefi 15dcecb9c5 GDI Epic #1448 2020-10-17 20:17:53 -04:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
rusefillc bd7dcf1709 HW CI has failed 11 times since Oct 2 #1849 2020-10-16 13:54:12 -04:00
rusefillc ba906c2cee GDI Epic #1448 2020-10-13 00:35:04 -04:00
rusefi fc5f47a653 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
GitHub build-firmware Action 99923b17b7 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
rusefi 94a6399e56 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
GitHub build-firmware Action 2d9a63b8ef Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
GitHub build-firmware Action c15083efac Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
GitHub build-firmware Action 2638fb63fa Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
GitHub build-firmware Action d1ec5522ac Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
GitHub build-firmware Action 0f52622409 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
GitHub build-firmware Action c5d4150377 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
andreika-git d88c9c404c
Hellen says fix build-signature & usb (#1866)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix build-signature & usb

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-10-08 12:21:22 -04:00
rusefillc cd4c665ea0 SD enable 2020-10-06 01:15:17 -04:00
rusefillc 5f15b8e48b tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
Matthew Kennedy 3aa4f2bd97
trigger decode cleanup and perf (#1853)
* trigger decode cleanup

* test config ptr patchup

* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc efacf26554 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7f6a8311
2020-10-04 01:54:29 -04:00
GitHub build-firmware Action c047397cf7 Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc 7f6a831117 HW CI has failed 11 times since Oct 2 #1849
Revert "configure all sample times - fix MRE knock sampling (#1841)"

This reverts commit b3596f89
2020-10-03 21:36:09 -04:00
GitHub build-firmware Action 17c87dbd90 Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
GitHub build-firmware Action 2c0db8e970 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
GitHub build-firmware Action 71d603bcc9 Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
GitHub build-firmware Action 4c403fbb22 Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
GitHub build-firmware Action 1b37b2a0b8 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy b3596f8969
configure all sample times - fix MRE knock sampling (#1841)
* configure all sample times

* smpr 1 vs smpr 2

* man I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-02 20:49:56 -04:00
GitHub build-firmware Action 7a9a623b07 Auto-generated configs and docs 2020-10-01 04:06:05 +00:00
GitHub build-firmware Action 90b8c991da Auto-generated configs and docs 2020-10-01 00:21:49 +00:00
Matthew Kennedy c96b05fb47
show SD menu on proteus (#1837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 19:18:37 -04:00
rusefi a0ee746837 Cypress artifact needs .hex file #1835 2020-09-29 18:50:51 -04:00
David Holdeman 0359e17853
add hex to bundle (#1836) 2020-09-29 17:04:41 -04:00
GitHub build-firmware Action 5f72947d6f Auto-generated configs and docs 2020-09-29 10:36:50 +00:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action 6b7c42b85e Auto-generated configs and docs 2020-09-29 01:41:06 +00:00
GitHub build-firmware Action fb2fa9aa62 Auto-generated configs and docs 2020-09-29 01:20:53 +00:00
GitHub build-firmware Action 27570472cc Auto-generated configs and docs 2020-09-29 01:07:43 +00:00
David Holdeman ae9c60731a
move cd statements to common_make.sh (#1830)
* move cd to compile.sh

* rel path

* undo changes to compile.sh and move cd to common_make
2020-09-28 18:25:15 -04:00
GitHub build-firmware Action 589acfc7db Auto-generated configs and docs 2020-09-28 20:34:48 +00:00
GitHub build-firmware Action c8c673b8e0 Auto-generated configs and docs 2020-09-28 18:47:21 +00:00
Matthew Kennedy 747e78088b
add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
rusefi 1d884a1855 docs 2020-09-27 11:37:26 -04:00
GitHub build-firmware Action 17fc77de71 Auto-generated configs and docs 2020-09-27 15:03:29 +00:00
rusefi 4fdbd9fa1a Merge remote-tracking branch 'origin/master' into master 2020-09-27 10:15:08 -04:00
rusefi a1eeef0937 dead code 2020-09-27 10:14:46 -04:00
GitHub build-firmware Action 6ddaa0a334 Auto-generated configs and docs 2020-09-27 13:59:42 +00:00
andreika-git d299f13bec
Hellen says fix gen_config for Cypress (#1824)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix gen_config for Cypress

* Hellen says fix gen_config actions for Cypress

* Hellen says reset .h files

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-27 09:56:44 -04:00
GitHub build-firmware Action bf6b9e3bb2 Auto-generated configs and docs 2020-09-27 12:51:50 +00:00
GitHub build-firmware Action f5b1157d05 Auto-generated configs and docs 2020-09-27 11:38:53 +00:00
rusefi 8585767562 cypress into GHA #1819
code style match
2020-09-27 07:07:01 -04:00
rusefi 208670c3d5 cypress into GHA #1819 2020-09-27 06:43:32 -04:00
rusefi a801ecef16 cypress into GHA #1819 2020-09-27 06:27:50 -04:00
rusefi 553f4230a6 cypress into GHA #1819 2020-09-27 06:13:58 -04:00
andreika-git f5ec67a329
Hellen says Cypress build fix (usbdevice.h) (#1821)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* UsbDevice.h -> usbdevice.h

* build_cypress -> build

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-27 05:49:25 -04:00
David Holdeman 5e52f2da60
Cypress CI (#1820)
* try cypress in matrix

* add empty files

* underscore
2020-09-26 22:13:39 -04:00
andreika-git 6e5a3fbbe9
Hellen says fix cypress build (#1818)
* fix compilation

* fresh generated files

* more files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-23 14:06:22 -04:00
shadowm60 8d8e8ec260
Launch control - experimental (#1816)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* enable launch control

make use of already existent code + integration

* Delete compile_frankenso_all.sh

remove it since it is not part of the project

* Update main_trigger_callback.cpp

broke unit_Tests

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
GitHub build-firmware Action 91ea6cd91b Auto-generated configs and docs 2020-09-22 08:59:31 +00:00
shadowm60 a70e24bf6c
Mre sw knock detection (#1815)
* Add SW knock control to MRE on AT4

* Update software_knock.cpp

cleanup

* use knock only for final build

* adjust RAM

* Update engine_controller.cpp

Adjust RAM for HW QC special to build
2020-09-22 03:48:17 -04:00
rusefi c957541cf4 ADC progress 2020-09-21 06:10:25 -04:00
rusefi e69167c8f0 Revert "reorder ADC channel index #1763"
This reverts commit 67bc72eb
2020-09-20 14:04:24 -04:00
rusefi 67bc72ebd3 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:59:54 -04:00