Commit Graph

5671 Commits

Author SHA1 Message Date
GitHub build-firmware Action 99430a2508 Auto-generated configs and docs 2021-01-08 18:43:44 +00:00
rusefillc 92615c7886 hellen72 2021-01-08 13:22:59 -05:00
GitHub build-firmware Action c0626f3012 Auto-generated configs and docs 2021-01-08 18:11:13 +00:00
GitHub build-firmware Action 7d63cf4e62 Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
andreika-git 11c358f65c
Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy 44b5427813
better error checking of thermistor config (#2199)
* add bounds check on result

* validate thermistor config

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 20:37:15 -05:00
GitHub set-date Action 0b601bb4a6 Update date 2021-01-08 01:09:32 +00:00
GitHub build-firmware Action 27e944f2bf Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
Matthew Kennedy 5f1a13aed4
Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -05:00
GitHub build-firmware Action d0090cb5d8 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
GitHub set-date Action d0cee36c91 Update date 2021-01-07 01:10:03 +00:00
Andrey G f96ae7525f
Gpio cleanup #2 (#1530)
* pin repository: PIN_USED size in now equal to brain_pin_e enum size

expect special values...

* smart gpios: register gpio chip to given base (no auto-allocation)

* drivers: gpio: core: add gpiochip_unregister()

* drivers: gpio: MC33810 intergation

* smart_gpio.cpp: cleanup ifdef mess, minor cleanups

* gpio: core: additional check for gpio ranges overlaps

* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
GitHub build-firmware Action 034412ef53 Auto-generated configs and docs 2021-01-06 19:42:58 +00:00
rusefillc eec8a723ee TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:16:45 -05:00
rusefillc a4e9319027 TS bench test trans solenoid buttons #2191
more fix
2021-01-06 14:04:37 -05:00
GitHub build-firmware Action 4a1246995f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
rusefillc 7393f13b8a TS bench test trans solenoid buttons #2191
fix?
2021-01-06 13:55:57 -05:00
GitHub build-firmware Action 6a32510a4c Auto-generated configs and docs 2021-01-06 18:49:08 +00:00
GitHub build-firmware Action a0aba69b9f Auto-generated configs and docs 2021-01-06 03:32:28 +00:00
David Holdeman 7117c6f5aa
TS bench test trans solenoid buttons (#2191)
* maybe

* semicolon stupid

* whoops

* whoops 2
2021-01-05 22:30:38 -05:00
GitHub set-date Action 54892662be Update date 2021-01-06 01:06:01 +00:00
Matthew Kennedy f4dcf0f397
generate triggers.txt from parametric test (#2186)
* add new test

* comment

* remove old

* main cleanup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:58:34 -05:00
Matthew Kennedy 20a967edf1
Implement flex sensor (#2189)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

* add sensor & init

* clamp

* update comment

* filter the resultant signal

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:13:56 -05:00
GitHub build-firmware Action f804aaf60f Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
Matthew Kennedy eabb5c7366
flex fuel AFR interpolation (#2190)
* config

* implement flex

* secondary fuel default

* test

* test works

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 16:27:23 -05:00
Andrey G b92e3086d0
Adc isAdcChannelValid helper (#2188)
* Guard define argument

* ADC: isAdcChannelValid

Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)

* Fix unit tests
2021-01-05 16:02:20 -05:00
GitHub build-firmware Action 0abfc7c9c1 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
Matthew Kennedy edee10ee1c
Flex fuel stubs (#2187)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
GitHub build-firmware Action 07abef8473 Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 6c01aedbb0 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:44:31 -05:00
rusefillc 8c38664084 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 23:34:19 -05:00
rusefillc 43f37c677a RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912

fixing build?
2021-01-04 22:13:59 -05:00
rusefillc 8c7ab1cbe3 RAM efficiency of VR crank trigger shapes #2182
Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
2021-01-04 22:00:37 -05:00
rusefillc 8fb32b517b Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:30:54 -05:00
rusefillc a3173e68d9 typo 2021-01-04 21:20:40 -05:00
rusefillc 9b5d45cb04 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-04 21:05:16 -05:00
GitHub set-date Action 66b8a98dc8 Update date 2021-01-05 01:05:48 +00:00
Matthew Kennedy de2b37accb
add obd stft bank 2 (#2183)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-04 07:35:21 -05:00
rusefillc b1499d8a7f RAM efficiency of VR crank trigger shapes #2182 2021-01-04 00:26:05 -05:00
GitHub build-firmware Action 428418f879 Auto-generated configs and docs 2021-01-04 04:54:24 +00:00
GitHub set-date Action 4d96794ff1 Update date 2021-01-04 01:06:44 +00:00
GitHub build-firmware Action 2445703cf9 Auto-generated configs and docs 2021-01-03 23:29:54 +00:00
rusefillc b3e3248d71 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 14:05:24 -05:00
rusefillc 15665484e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:52:53 -05:00
rusefillc 8f06008239 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:34:00 -05:00
GitHub build-firmware Action 1caeef7ca2 Auto-generated configs and docs 2021-01-03 18:08:09 +00:00
GitHub build-firmware Action ea34444e04 Auto-generated configs and docs 2021-01-03 14:57:29 +00:00
Matthew Kennedy f73b7123bb
rpm rate of change (#2159)
* compute rpm rate of change

* fix units on gauge

* oops

* correct order

* scaling and limits

* correct for engine cycle length

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -05:00
GitHub set-date Action 11e9bb5e88 Update date 2021-01-03 01:06:16 +00:00
Matthew Kennedy 92ea09b0a6
switch more map to read from sensor model (#2162)
* hook up map

* check for init

* switch some consumers

* that's the rest of them

* test

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
GitHub build-firmware Action c06fea083e Auto-generated configs and docs 2021-01-02 22:34:11 +00:00
David Holdeman a43bf01ecd
Solenoid test in console (#2178)
* give it a try

* create component

* add command maybe

* try

* try

* add pic

* try TCU_SOLENOID_COUNT

* try

* use injection and ignition count fields
2021-01-02 17:18:44 -05:00
GitHub build-firmware Action 077ba2bf9e Auto-generated configs and docs 2021-01-02 21:53:01 +00:00
rusefillc d213c01ca5 questionable progress 2021-01-02 16:51:14 -05:00
GitHub build-firmware Action eb458b2f3b Auto-generated configs and docs 2021-01-02 21:45:28 +00:00
GitHub build-firmware Action b764fd1586 Auto-generated configs and docs 2021-01-02 14:16:50 +00:00
GitHub set-date Action f6fc6521f0 Update date 2021-01-02 01:02:30 +00:00
rusefi 719ad92681 FATAL while bench testing VR #2153 2021-01-01 14:07:52 -05:00
GitHub build-firmware Action 1f30163348 Auto-generated configs and docs 2021-01-01 16:20:39 +00:00
GitHub build-firmware Action 8a0fa161ac Auto-generated configs and docs 2021-01-01 06:12:01 +00:00
rusefillc 9587b7bb54 hellen 2021-01-01 01:10:28 -05:00
GitHub build-firmware Action de3ecc50b0 Auto-generated configs and docs 2021-01-01 05:59:19 +00:00
GitHub set-date Action dc5e785daf Update date 2021-01-01 01:05:34 +00:00
GitHub build-firmware Action 10c0553038 Auto-generated configs and docs 2020-12-31 17:41:53 +00:00
rusefillc 46583b2a19 Revert "Idle timing PID uses phase logic (#2156)"
This reverts commit 9634a803
2020-12-31 12:22:54 -05:00
shadowm60 d49fc7fc71
Haltech as dash option (#2165)
* Haltech as dash option

* Update build-firmware.yaml

added generate enums for build-primary-bundle
2020-12-31 12:22:01 -05:00
GitHub set-date Action 314ac30f11 Update date 2020-12-31 01:04:00 +00:00
GitHub build-firmware Action 586ebc49f9 Auto-generated configs and docs 2020-12-30 13:45:30 +00:00
Matthew Kennedy acdf6fdc85
Put map in the sensor model (#2161)
* hook up map

* check for init

* switch some consumers

* don't do limp for now

* oops

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy 342414a5f7
show when idle is closed loop (#2160)
* show when idle is closed loop

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -05:00
GitHub build-firmware Action 5b638d3a87 Auto-generated configs and docs 2020-12-30 13:37:55 +00:00
Matthew Kennedy 9634a803f1
Idle timing PID uses phase logic (#2156)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 23:50:56 -05:00
GitHub set-date Action da2fecb7d1 Update date 2020-12-30 01:01:36 +00:00
Matthew Kennedy c8ee9fcf3f
use phase computation (#2152) 2020-12-29 07:49:10 -05:00
Matthew Kennedy 1d4ccfff3f
add idle timing defaults (#2155)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-29 07:47:18 -05:00
GitHub set-date Action ea22c7f952 Update date 2020-12-29 01:00:15 +00:00
rusefi 521e561d4b removing warning? 2020-12-28 19:19:11 -05:00
Matthew Kennedy ec508d8f9d
don't write settings if cal didn't work (#2154)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-28 08:03:10 -05:00
GitHub set-date Action 4555a98836 Update date 2020-12-28 00:59:46 +00:00
rusefillc f28f1e0f90 fine-grained check modes 2020-12-27 17:41:28 -05:00
Matthew Kennedy ba2c675ffa
progress to fsio type safety (#2137)
* rename

* packed type safe fsio value

* comment

* rename

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-27 17:22:11 -05:00
Matthew Kennedy 64d9b4b71a
limp manager can disable etb (#2143)
* move rev limit to limp manager

* call fatal error

* include order

* fix bug

* tests

* limp can disable etb

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 21:47:27 -05:00
Matthew Kennedy 898b7a82e0
move swtiches out of idle (#2148) 2020-12-26 21:31:41 -05:00
GitHub set-date Action 841d28744f Update date 2020-12-27 01:00:10 +00:00
Matthew Kennedy 4961a25ab4
start integratig (#2147) 2020-12-26 19:44:40 -05:00
Matthew Kennedy b9e96322c5
Idle refactor open loop (#2146)
* impl

* typo

* tests
2020-12-26 19:34:42 -05:00
Matthew Kennedy 19bf208cde
use limp mgr for trigger disable (#2145)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 18:12:36 -05:00
Matthew Kennedy ff4ce2fb1f
create limp manager (#2142)
* move rev limit to limp manager

* call fatal error

* include order

* fix bug

* tests

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:30:46 -05:00
GitHub build-firmware Action 041b84596f Auto-generated configs and docs 2020-12-26 21:18:18 +00:00
rusefi 2fac4cd732 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
GitHub build-firmware Action 62ba402b1a Auto-generated configs and docs 2020-12-26 18:43:55 +00:00
rusefillc 1ebce57721 proteusBoardTest 2020-12-26 10:41:33 -05:00
Matthew Kennedy 542cb6a420
more testable idle logic (#2140)
* header

* test

* impl
2020-12-26 08:32:01 -05:00
GitHub build-firmware Action b2b05659dc Auto-generated configs and docs 2020-12-26 06:20:12 +00:00
rusefi af6ad0757e PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
GitHub set-date Action 88105f0805 Update date 2020-12-26 00:56:34 +00:00
Matthew Kennedy 64c8d7c494
unused ivalue (#2138)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 09:47:33 -05:00
Matthew Kennedy 17554539d1
rename (#2136)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 08:40:54 -05:00
GitHub set-date Action 39b189a301 Update date 2020-12-25 00:59:18 +00:00
GitHub build-firmware Action a19537f47e Auto-generated configs and docs 2020-12-24 12:38:28 +00: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
GitHub set-date Action 3614cd3161 Update date 2020-12-24 01:01:04 +00:00
GitHub build-firmware Action b9c353ff62 Auto-generated configs and docs 2020-12-23 21:53:19 +00:00
rusefillc b806065939 David says it would be better like this 2020-12-22 22:35:29 -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
GitHub set-date Action 5b7d6fc59e Update date 2020-12-23 00:56:50 +00: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 bbf161752e TCU usability #2118 2020-12-22 14:03:54 -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
rusefillc af9bb07eba dead code 2020-12-22 07:10:09 -05:00
GitHub build-firmware Action b1ea05a46d Auto-generated configs and docs 2020-12-22 03:22:57 +00:00
GitHub set-date Action 49c39ed333 Update date 2020-12-22 00:55:02 +00:00
rusefillc c0cbc2a31f VR_HW_CHECK_MODE 2020-12-21 13:33:09 -05:00
GitHub set-date Action b0ab4bfcbe Update date 2020-12-21 00:54:32 +00:00
Matthew Kennedy f29ca22b99
fix (#2109) 2020-12-20 19:31:14 -05:00
rusefi 3bafda26cd proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
GitHub set-date Action e69460cdf9 Update date 2020-12-20 00:52:43 +00:00
GitHub build-firmware Action e48f6984d7 Auto-generated configs and docs 2020-12-19 04:07:37 +00:00
GitHub set-date Action 65850fda2a Update date 2020-12-19 00:50:49 +00:00
Matthew Kennedy 690ab7e917
gpio unit tests (#2099)
* fix unregister api for gpio

* consumers

* guard with a critical section

* index

* guard less

* unregister under lock

* fix reinit

* dead flag

* fix most tests

* initialize properly

* initialize properly

* assertions in tests

* fix message

* move gpio mocking

* test gpios

* we must lock earlier to be truly safe

* this was using huge memory

* devirtualize

* test deinit
2020-12-18 17:19:02 -05:00
Matthew Kennedy 6168bcea80
Fix gpio reinit race condition (#2098)
* fix unregister api for gpio

* consumers

* guard with a critical section

* index

* guard less

* unregister under lock

* fix reinit

* dead flag

* fix most tests

* initialize properly

* initialize properly

* assertions in tests

* fix message

* we must lock earlier to be truly safe

* this was using huge memory

* devirtualize
2020-12-18 17:18:12 -05:00
GitHub build-firmware Action 4d2d83c609 Auto-generated configs and docs 2020-12-18 20:22:51 +00:00
rusefillc 50e9dd6da7 generate java enum from C enum #2102
one step back
2020-12-18 14:21:08 -05:00
rusefillc 71ba1c529c generate java enum from C enum #2102 2020-12-18 13:33:01 -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
Matthew Kennedy 7790453342
format in tests (#2100) 2020-12-18 08:48:19 -05:00
Matthew Kennedy 7277b04039
force a pwm cycle start (skip cycles) if late (#2097)
* skip cycles if late

* fail at lower count

* start at -1
2020-12-18 08:21:18 -05:00
Matthew Kennedy ebc786bc94
init pins (#2095) 2020-12-18 01:30:17 -05:00
GitHub build-firmware Action 254179dd1e Auto-generated configs and docs 2020-12-18 03:24:53 +00:00
rusefillc ca79f99be5 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -05:00
rusefillc 99392d7951 More explicit handling of CPU exhaustion #2093 2020-12-17 21:15:28 -05:00
rusefillc 4eac7a7a5c Merge remote-tracking branch 'origin/master' into master 2020-12-17 20:22:15 -05:00
rusefillc ca0f3ba240 HW CI is flaky :( #2063
more detailed error messages
2020-12-17 20:22:04 -05:00
GitHub set-date Action 376ada3f4c Update date 2020-12-18 00:51:07 +00:00
Matthew Kennedy aeea50ada2
move target computation (#2091) 2020-12-17 17:46:51 -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
rusefi 2f690ca6b2 nicer "pins" names 2020-12-17 17:00:00 -05:00
rusefi 1327a872f8 Merge remote-tracking branch 'origin/master' 2020-12-17 16:59:18 -05:00
rusefi eb8b1ba325 docs 2020-12-17 16:59:02 -05:00
rusefillc 26fbf0527a trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:53:26 -05:00
rusefillc a47129693a trigger and start button pins not displayed by "pins" command #2084
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
GitHub set-date Action 4f69bb98bb Update date 2020-12-17 00:50:59 +00:00
GitHub build-firmware Action bf1b536565 Auto-generated configs and docs 2020-12-16 23:27:03 +00:00