Commit Graph

9265 Commits

Author SHA1 Message Date
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 0df5d0ae3d
actually use button name (#2126)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:30:56 -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 1446eabf00 up/down shift to all pins 2020-12-23 16:51:15 -05: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
rusefi 6032d0a26f Proteus is compiled without VSS feature #2122 2020-12-22 21:28:51 -05:00
rusefi a254c79d93 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:20:57 -05:00
rusefi 42c1fb7b5e trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:05:49 -05:00
rusefi f62bcca7ea trigger and start button pins not displayed by "pins" command #2084 2020-12-22 20:54:28 -05:00
rusefi c4650076cf trigger and start button pins not displayed by "pins" command #2084 2020-12-22 20:53:05 -05:00
rusefi d6b745e1c0 Proteus is compiled without VSS feature #2122 2020-12-22 20:50:01 -05:00
rusefi fd54e37358 trigger and start button pins not displayed by "pins" command fix #2084 2020-12-22 20:42:30 -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 ce4ab4d09c fixing master PROTEUS_DEFAULTS 2020-12-22 17:13: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 65e282f693 ET_PROTEUS_QC_TEST_BOARD 2020-12-22 07:24:30 -05: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
rusefillc e7471c28f2 ET_PROTEUS_QC_TEST_BOARD 2020-12-21 22:19:50 -05: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
rusefi f3b71d0ab8 VR_HW_CHECK_MODE 2020-12-21 12:30:15 -05:00
Matthew Kennedy 67d0d7b330
handle negative timer delta (#2110) 2020-12-21 06:16:58 -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
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
GitHub set-date Action e69460cdf9 Update date 2020-12-20 00:52:43 +00: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
GitHub build-firmware Action e48f6984d7 Auto-generated configs and docs 2020-12-19 04:07:37 +00:00
rusefi 053fcbe3e9 nicer layout 2020-12-18 23:05:44 -05:00
rusefillc bc5f32e4e2 Bake Cookies Day 2020-12-18 21:19:09 -05: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
rusefi 759e77461f Bake Cookies Day 2020-12-18 15:58:16 -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 4d2d83c609 Auto-generated configs and docs 2020-12-18 20:22:51 +00:00
rusefi 8c95923eba ET_PROTEUS_MIATA_NB2 2020-12-18 15:21:11 -05: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 1965510f7e https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05: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 f37c318c04
fix (#2094) 2020-12-18 01:30:51 -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
rusefillc df5b21ceb5 NB2 MRE closer to reality 2020-12-17 19:03:38 -05: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 8f2116921c trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:24:19 -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
rusefillc 9ab4c2af5b hello new wiki 2020-12-16 19:58:15 -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
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
rusefillc cbfc652f67 Merge remote-tracking branch 'origin/master' into master 2020-12-16 12:58:42 -05:00
rusefillc f16c77944b rusEFI is not approved for manned aircraft applications. 2020-12-16 12:58:34 -05:00
GitHub build-firmware Action dcd44fe1ff Auto-generated configs and docs 2020-12-16 13:33:34 +00: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
rusefillc 178e0a7f87 Merge remote-tracking branch 'origin/master' into master 2020-12-16 01:33:25 -05:00
rusefillc 02f68decf5 rusEFI is not approved for manned aircraft applications. 2020-12-16 01:33:14 -05:00
GitHub set-date Action bf570af4ea Update date 2020-12-16 00:49:39 +00:00
rusefillc 0899102b05 returning AT validation into QC 2020-12-15 15:43:36 -05:00
rusefillc db2632b861 rusEFI is not approved for manned aircraft applications. 2020-12-15 15:05:49 -05:00
rusefillc 245b762f45 Merge remote-tracking branch 'origin/master' into master 2020-12-15 15:01:18 -05:00
rusefillc b914c8229e rusEFI is not approved for manned aircraft applications. 2020-12-15 15:01:10 -05:00
shadowm60 92247c58db
Logic analyzer ts report (#2080)
* Logic analyzer

progress of integration with debug channels

* Update logic_analyzer.cpp

fixed duty report in %

* Update logic_analyzer.cpp

* Update logic_analyzer.cpp

fix for setting one channel to unused, and use the same pin for another channel. this way we clear out hw pointer and we do not have the risk of reporting wrong values.
2020-12-15 14:52:48 -05:00
GitHub build-firmware Action 7c2f8707f2 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc 0c9c23f9b2 pnp progress 2020-12-15 00:17:09 -05: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
rusefillc e98dcfd2f8 more PnP 2020-12-14 23:16:50 -05:00
Andrey G cd546cf932
TLE8888: temp fix of #2065 (#2079) 2020-12-14 15:33:27 -05: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 aadccbdbdf Auto-generated configs and docs 2020-12-14 04:05:25 +00:00
rusefillc 42fc199303 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
GitHub build-firmware Action d616892eab Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
rusefillc c97e850c8d "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
GitHub build-firmware Action 62d35df025 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
rusefillc 56a98b781e Merge remote-tracking branch 'origin/master' into master 2020-12-13 20:28:03 -05:00
GitHub set-date Action 958a346430 Update date 2020-12-14 00:51:09 +00:00
rusefi b3b5dfc398 fail fast! 2020-12-13 19:23:26 -05:00
rusefillc 951676e111 Merge remote-tracking branch 'origin/master' into master 2020-12-13 17:49:36 -05:00
rusefillc 49ee4ad78e trigger decode should pay to attention to what wheel signal is coming from #2073 2020-12-13 17:49:24 -05: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 eae865d4de subi ops 2020-12-13 16:41:53 -05:00
rusefi f36255108e subi 2020-12-13 16:38:09 -05:00
rusefi 3b16794ac6 Merge remote-tracking branch 'origin/master' 2020-12-13 16:33:14 -05:00
rusefi f8803da107 poke 2020-12-13 16:31:47 -05:00
GitHub build-firmware Action 48e26ec0a3 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
rusefi 38bcd63e13 maybe this would just work? 2020-12-13 16:22:02 -05:00
GitHub build-firmware Action b9fc438742 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
rusefi f8ba72cf8a subi 2020-12-13 16:17:31 -05: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
GitHub build-firmware Action 8f1ca90562 Auto-generated configs and docs 2020-12-13 18:19:40 +00:00
rusefi 4a3011601d subi 2020-12-13 13:16:39 -05:00
rusefi 7f65e95a65 subi 2020-12-13 11:39:10 -05:00
rusefillc f2bb2ce0c6 MRE issue with tle8888 - GP3 does not work? #2065 2020-12-13 11:29:19 -05:00
Matthew Kennedy 378d118118
test (#2071)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
GitHub build-firmware Action b14462ca65 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
rusefi c16b72d820 "Subaru" 2020-12-12 22:22:29 -05:00
rusefillc ba3a83667b https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
shadowm60 593be1c943
Fsio eval check (#2068)
* FSIO error signaling

- wrong keyword in FSIO now shows up as nice TS error message
- added f7 debug option for vsCode as well.

* Keep unit_test happy
2020-12-12 20:03:52 -05:00
GitHub set-date Action 9b3e4404cc Update date 2020-12-13 00:51:00 +00:00
Matthew Kennedy 360a8c7524
add support for ext ids (#2060)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 16:34:21 -05:00
GitHub build-firmware Action b75eb9ea81 Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
David Holdeman 1b59375425
Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc d375bfefac decompile_fsio_line 2020-12-12 10:40:55 -05:00
GitHub build-firmware Action c28a62d87d Auto-generated configs and docs 2020-12-12 01:28:20 +00:00
rusefillc f32036ee3e Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 4d5998f403 Merge remote-tracking branch 'origin/master' into master 2020-12-11 20:04:24 -05:00
rusefillc 72d02df6c4 throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
GitHub set-date Action 749256a5d5 Update date 2020-12-12 00:48:24 +00:00
Matthew Kennedy 83a65032d6
clang warnings again (#2055)
* s

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 13:59:28 -05:00
rusefillc b41ca74386 clang warnings again #2055 2020-12-11 12:50:10 -05:00
rusefillc f1c9f9d08e more better changelog 2020-12-11 10:34:28 -05:00
rusefillc ea8af5f921 Merge remote-tracking branch 'origin/master' into master 2020-12-11 10:33:34 -05:00
rusefillc 9b4a1fff7b clang warnings again #2055 2020-12-11 10:33:00 -05:00
GitHub build-firmware Action 61397928c7 Auto-generated configs and docs 2020-12-11 15:06:15 +00:00
rusefillc c56799172e TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
rusefillc 37df00dd3e correction #2054 2020-12-11 09:07:36 -05: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
rusefillc 64fdfba435 dead code 2020-12-10 21:45:25 -05:00
GitHub set-date Action 66b6138ad8 Update date 2020-12-11 00:48:18 +00:00
rusefillc 0912c9d871 GM x24 is a well defined trigger needs hard-coded tdcPosition #2054 2020-12-10 19:39:53 -05:00
rusefillc d26381d6c1 Merge remote-tracking branch 'origin/master' into master 2020-12-10 19:38:44 -05:00
rusefillc 9400af5452 GM x24 is a well defined trigger needs hard-coded tdcPosition fix #2054 2020-12-10 19:38:33 -05:00
Matthew Kennedy a159ecbf0a
reduce GPIO complexity (#2051) 2020-12-10 19:18:14 -05:00
Matthew Kennedy 3878cb9994
sd log afr 2 (#2052) 2020-12-10 14:05:52 -05:00
Matthew Kennedy f2426677db
start fuel pump as soon as trigger events happen (#2038)
* switch pump fsio logic

* value collision

* fuel pump in tests

* mock time since trigger

* test fp

* init pin in test

* fix gpio outputs in tests

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
Matthew Kennedy 5f69d23976
fix mock pins array (#2050)
* fix

* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy a08e79789d
second lambda (x-series CAN only, for now) (#2048)
* add sensor

* second sensor

* switch sensor name

* gobblin up your memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
GitHub set-date Action 53e481b6ef Update date 2020-12-10 00:48:05 +00:00
GitHub build-firmware Action a321ab76a7 Auto-generated configs and docs 2020-12-09 19:33:03 +00:00
Matthew Kennedy fadfc8d09b
config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc e6bfd9a2ed trigger lifecycle 2020-12-09 12:19:25 -05:00
GitHub build-firmware Action 247d608c1e Auto-generated configs and docs 2020-12-09 17:15:05 +00:00
rusefillc 1133b44fe4 Merge remote-tracking branch 'origin/master' into master 2020-12-09 12:08:57 -05:00
rusefillc 034cb0d173 trigger lifecycle 2020-12-09 12:08:38 -05:00
Matthew Kennedy 99b9391ae8
start peeling out ts commands (#2045)
* start peeling out commands

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 02:23:02 -05:00
rusefi ac186d2b85 Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp
2020-12-08 21:37:45 -05:00
rusefillc 8deff87b4f refactoring 2020-12-08 21:33:59 -05:00
GitHub build-firmware Action 5537b2035c Auto-generated configs and docs 2020-12-09 02:10:55 +00:00
shadowm60 adf0a97ffc
Prepare configurations for SW knock detection (#2046)
* Prepare configurations

- Configurations needed for base noise
- TS usability for base noise definition

* Update rusefi_config.txt

wrong data ype used for base noise
2020-12-08 21:08:59 -05:00
GitHub set-date Action 8ce7a984e4 Update date 2020-12-09 00:48:33 +00:00
rusefillc 511eefe400 Merge remote-tracking branch 'origin/master' into master 2020-12-08 13:59:47 -05:00
rusefillc ea8e09ba13 fix warnings found by clang #2014 2020-12-08 13:59:40 -05:00
Matthew Kennedy bad0e6b949
require redundant TPS for ETB (#2041)
* Require redundant tps for ETB (#2037)

* mod sensor api

* require redundancy

* fix tests

* check that it fails

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>

* add a test that fails but should not

* fix the bug

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 06:24:20 -05:00
rusefillc 7bdd047955 basic hw in the loop - pwm self validation #2028 2020-12-08 05:30:12 -05:00
GitHub build-firmware Action 9bf994e10f Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
rusefillc 8f5a4e4dae basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc 5cda628c8b basic hw in the loop - pwm self validation #2028 2020-12-08 05:07:03 -05:00
rusefillc 824f87c2d0 basic hw in the loop - pwm self validation #2028 2020-12-08 04:52:49 -05:00
GitHub build-firmware Action 1c6b53658e Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
rusefillc 36f72b56ef basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 08c13fab73 basic hw in the loop - pwm self validation #2028 2020-12-08 04:21:14 -05:00
Matthew Kennedy cc59a42e3f
start making TS protocol testable (#2043)
* start pulling out a class

* pull function out of loop

* there we go

* ok there we go for real

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefillc 96c29840ce basic hw in the loop - pwm self validation #2028 2020-12-07 20:42:47 -05:00
GitHub build-firmware Action 6b80297245 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
rusefillc 8ed1df4841 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc aca471273d basic hw in the loop - pwm self validation #2028 2020-12-07 20:26:47 -05:00
rusefillc 0126f4fb4b Merge remote-tracking branch 'origin/master' into master 2020-12-07 20:01:23 -05:00
rusefillc 6712c63160 basic hw in the loop - pwm self validation #2028 2020-12-07 20:01:05 -05:00
GitHub set-date Action 8a312cefef Update date 2020-12-08 00:47:47 +00:00
rusefi 2a1b585bfe Revert "Revert "Split ETB in to interface + implementation headers (#2040)""
This reverts commit 4f4bb957
2020-12-07 01:27:27 -05:00
rusefi bb3cb0ba22 Revert "Require redundant tps for ETB (#2037)"
This reverts commit 4f1085a8
2020-12-07 01:11:32 -05:00
rusefi 4f4bb95770 Revert "Split ETB in to interface + implementation headers (#2040)"
This reverts commit d9a82c09
2020-12-07 01:11:19 -05:00
Matthew Kennedy d9a82c09af
Split ETB in to interface + implementation headers (#2040)
* split etb interface

* mocks

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
Matthew Kennedy 4f1085a87a
Require redundant tps for ETB (#2037)
* mod sensor api

* require redundancy

* fix tests

* check that it fails

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:05:06 -05: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
Matthew Kennedy 22c74895a6
put back safe part of #2005 (#2036)
* put back some safe bits

* dumb typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
GitHub set-date Action 632430e929 Update date 2020-12-07 00:47:47 +00:00
rusefillc 81143d0820 range check covers 'ERROR_CODE' already 2020-12-06 19:29:37 -05:00
rusefillc 9efd231915 minor fixes 2020-12-06 19:25:48 -05:00
rusefillc 2e8ae3ca94 refactoring 2020-12-06 19:04:23 -05:00
rusefillc 8739e192f5 basic hw in the loop - pwm self validation #2028 2020-12-06 18:39:50 -05:00
rusefillc 1da9f35ac2 Merge remote-tracking branch 'origin/master' into master 2020-12-06 18:13:07 -05:00
rusefillc debec1107e subi 2020-12-06 18:08:55 -05:00
GitHub build-firmware Action d20d484fce Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
rusefillc b3d45b909f Revert "switch rpm calculator to use timer class (#2005)"
This reverts most of a26ed3eb5a commit.
2020-12-06 18:05:53 -05:00
rusefillc 13e692ff09 Merge remote-tracking branch 'origin/master' into master 2020-12-06 17:52:30 -05:00
rusefillc 5192ffc64f docs 2020-12-06 17:39:33 -05:00
Matthew Kennedy a26ed3eb5a
switch rpm calculator to use timer class (#2005)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy c5e3657d45
don't duplicate sensor error logic (#2032)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 15:00:30 -05:00
Matthew Kennedy 9ccda6bbe7
add isRedundant (#2031)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 14:55:06 -05: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
rusefillc f6691eb4aa one step back #2017 2020-12-06 08:34:10 -05:00
rusefillc bcf404cdae code formatting & more info into message 2020-12-06 08:30:31 -05:00
Matthew Kennedy 9238aa454e
fix button shift inheritance (#2027)
* fix button shift inheritance

* extra

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 07:32:38 -05:00
Matthew Kennedy 2d9be1077b
require TPS values to be different (#2017)
* require values to be different

* fix not

* oops

* missed another spot

* test negative cases too

* resets

* test no sensor case

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:41:49 -05:00
Matthew Kennedy ffae0cd335
round rpm instead of truncating (#2023)
* round rpm instead of truncating

* efiround is expensive

* Revert "efiround is expensive"

This reverts commit e5690f89e1b1988aacf5ced1f024d576465a7cd6.

* round is better than rintf

* testing

* it works now?!

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
GitHub build-firmware Action c492d5b6af Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
rusefillc edce475841 suby 2020-12-05 22:04:07 -05:00
rusefillc 75ffe1f38e making console happier 2020-12-05 21:56:39 -05:00
GitHub set-date Action 400411dedd Update date 2020-12-06 00:47:59 +00:00
Andrey G 7c6974ab43
Fixes after clenup (#2019)
* We still need consoleEventListener for boards with EFI_CONSOLE_SERIAL_DEVICE

* MC33810: add MC_ prefix for command defines

As CMD_PWM define is now used by console command
2020-12-05 11:54:09 -05:00
Matthew Kennedy de4990bfa2
encapsulate entry logic in to entry (#2018)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 10:16:52 -05:00
Andrey G 2b5fc79aa7
ADC: correctly calculate cache invalidate range for STM32F7xxx (#2021)
Bug was introduced in 2312b0ae57 when
sample buffer was moved out of class. So sample become adcsample_t*
instead of adcsample_t[] and sizeof returns 4.
2020-12-05 10:14:33 -05:00
Andrey G 852fdcd4d1
adc: fix CPU temperature read for STM32F76x/77x (#2020) 2020-12-05 09:58:23 -05:00
GitHub build-firmware Action 9892f0fa48 Auto-generated configs and docs 2020-12-05 05:05:04 +00:00
Matthew Kennedy 27fee86923
add indicator for tps2 fail (#2016)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefillc e5ef8de2ae unit tests in clang #2012 2020-12-04 23:59:21 -05:00
rusefi 07a8e237a5 Merge remote-tracking branch 'origin/master' into master 2020-12-04 21:52:22 -05: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 set-date Action 1bc89fe59c Update date 2020-12-05 00:45:22 +00:00
rusefillc dd902cc707 hemi trigger decoder took some RAM 2020-12-04 18:46:35 -05:00
rusefillc d8264cf2ce hemi trigger decoder took some RAM 2020-12-04 18:22:59 -05:00
rusefillc 6200569f28 6.1 Hemi V8 decoder fix #2010 2020-12-04 16:50:26 -05:00
rusefillc eaba91e1fd 6.1 Hemi V8 decoder #2010 2020-12-04 16:33:29 -05:00
rusefillc be2a34a956 refactoring: magic constants 2020-12-04 16:24:19 -05:00
rusefillc 2524b7b8c2 6.1 Hemi V8 decoder #2010 2020-12-04 16:03:27 -05:00
rusefillc e730c2c0b1 6.1 Hemi V8 decoder #2010 2020-12-04 15:33:07 -05:00
rusefillc 9221a12d95 6.1 Hemi V8 decoder #2010 2020-12-04 15:22:53 -05:00
rusefillc 61925aad15 all triggers should be documented way nicer #2001 2020-12-04 14:00:49 -05:00
rusefillc 6496fd5a64 all triggers should be documented way nicer #2001 2020-12-04 13:54:16 -05:00
rusefillc e138621202 all triggers should be documented way nicer #2001 2020-12-04 11:58:26 -05:00
rusefillc db5e30edf5 all triggers should be documented way nicer #2001 2020-12-04 11:44:27 -05:00
GitHub build-firmware Action be55246188 Auto-generated configs and docs 2020-12-04 16:39:14 +00:00
rusefillc 479dc8598d all triggers should be documented way nicer #2001 2020-12-04 11:37:15 -05:00