Commit Graph

8798 Commits

Author SHA1 Message Date
rusefi 99b5281454 nicer layout 2020-12-18 23:05:44 -05:00
rusefillc 19f4a4b851 Bake Cookies Day 2020-12-18 21:19:09 -05:00
GitHub set-date Action 0520b9d99d Update date 2020-12-19 00:50:49 +00:00
Matthew Kennedy d3a24c568a 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 30fd52d82d 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 21ca137b4e Bake Cookies Day 2020-12-18 15:58:16 -05:00
CrazyStriker b905a4aa5b 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 dee6604cce Auto-generated configs and docs 2020-12-18 20:22:51 +00:00
rusefi d66bbab377 ET_PROTEUS_MIATA_NB2 2020-12-18 15:21:11 -05:00
rusefillc d44e5cd667 generate java enum from C enum #2102
one step back
2020-12-18 14:21:08 -05:00
rusefillc 0af3216835 generate java enum from C enum #2102 2020-12-18 13:33:01 -05:00
GitHub build-firmware Action 2f14773979 Auto-generated configs and docs 2020-12-18 17:41:54 +00:00
rusefillc 3c6e4b4a50 https://github.com/rusefi/rusefi/issues/2102 2020-12-18 12:40:08 -05:00
rusefillc f5a5a54683 naming consistency 2020-12-18 09:01:18 -05:00
Matthew Kennedy c29f40bdf4 format in tests (#2100) 2020-12-18 08:48:19 -05:00
Matthew Kennedy 359b0d3fb5 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 59d725a113 fix (#2094) 2020-12-18 01:30:51 -05:00
Matthew Kennedy 08d77ffd32 init pins (#2095) 2020-12-18 01:30:17 -05:00
GitHub build-firmware Action e65fbd5e62 Auto-generated configs and docs 2020-12-18 03:24:53 +00:00
rusefillc 4e83514e83 More explicit handling of CPU exhaustion #2093 2020-12-17 22:21:12 -05:00
rusefillc 8a2c14c1de More explicit handling of CPU exhaustion #2093 2020-12-17 21:15:28 -05:00
rusefillc 8388bc833d Merge remote-tracking branch 'origin/master' into master 2020-12-17 20:22:15 -05:00
rusefillc 33bc6b7957 HW CI is flaky :( #2063
more detailed error messages
2020-12-17 20:22:04 -05:00
GitHub set-date Action 336f31ecb9 Update date 2020-12-18 00:51:07 +00:00
rusefillc d38195b206 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy d3cbed60af move target computation (#2091) 2020-12-17 17:46:51 -05:00
Matthew Kennedy 34edf34bf4 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 5c88a76036 nicer "pins" names 2020-12-17 17:00:00 -05:00
rusefi 719b405e10 Merge remote-tracking branch 'origin/master' 2020-12-17 16:59:18 -05:00
rusefi e5e931b5bf docs 2020-12-17 16:59:02 -05:00
rusefillc 39a292a46a trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:53:26 -05:00
rusefillc 88bb2f4569 trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:24:19 -05:00
rusefillc f147aabcd7 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 727a775049 hello new wiki 2020-12-16 19:58:15 -05:00
GitHub set-date Action 3fecc5b7eb Update date 2020-12-17 00:50:59 +00:00
GitHub build-firmware Action bcb0afe444 Auto-generated configs and docs 2020-12-16 23:27:03 +00:00
Matthew Kennedy 1a14746e97 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 41579f2c2b Merge remote-tracking branch 'origin/master' into master 2020-12-16 12:58:42 -05:00
rusefillc 4522f603ff rusEFI is not approved for manned aircraft applications. 2020-12-16 12:58:34 -05:00
GitHub build-firmware Action 8235b98c84 Auto-generated configs and docs 2020-12-16 13:33:34 +00:00
Matthew Kennedy 91d1acb50e 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 38dc4e5761 Merge remote-tracking branch 'origin/master' into master 2020-12-16 01:33:25 -05:00
rusefillc be82e238d3 rusEFI is not approved for manned aircraft applications. 2020-12-16 01:33:14 -05:00
GitHub set-date Action 910e57bdb4 Update date 2020-12-16 00:49:39 +00:00
rusefillc 2c3666d194 returning AT validation into QC 2020-12-15 15:43:36 -05:00
rusefillc 5a313f9a9c rusEFI is not approved for manned aircraft applications. 2020-12-15 15:05:49 -05:00
rusefillc fe2e516389 Merge remote-tracking branch 'origin/master' into master 2020-12-15 15:01:18 -05:00
rusefillc c1ca721c0b rusEFI is not approved for manned aircraft applications. 2020-12-15 15:01:10 -05:00
shadowm60 5bd1da17c1 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 bf3cf71b91 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc 126a219e08 pnp progress 2020-12-15 00:17:09 -05:00
rusefillc 7d104bff8d pnp progress 2020-12-15 00:09:35 -05:00
GitHub build-firmware Action 61baf269f3 Auto-generated configs and docs 2020-12-15 04:18:45 +00:00
rusefillc 4ba369a54d more PnP 2020-12-14 23:16:50 -05:00
Andrey G 119ac4f6f5 TLE8888: temp fix of #2065 (#2079) 2020-12-14 15:33:27 -05:00
GitHub build-firmware Action be92ce3582 Auto-generated configs and docs 2020-12-14 13:31:27 +00:00
shadowm60 480af8b38b 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 98bda34d8e Auto-generated configs and docs 2020-12-14 04:05:25 +00:00
rusefillc 7b3366cd67 "Wastegate position sensor" into logs 2020-12-13 23:03:22 -05:00
GitHub build-firmware Action 3aacc3427e Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
rusefillc 8c646e71c5 "Wastegate position sensor" into logs 2020-12-13 23:00:39 -05:00
GitHub build-firmware Action a06fd4c900 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
rusefillc c3d0fe0511 Merge remote-tracking branch 'origin/master' into master 2020-12-13 20:28:03 -05:00
GitHub set-date Action 34f77770b9 Update date 2020-12-14 00:51:09 +00:00
rusefi 6ec1021511 fail fast! 2020-12-13 19:23:26 -05:00
rusefillc fa06e99908 Merge remote-tracking branch 'origin/master' into master 2020-12-13 17:49:36 -05:00
rusefillc 41f35e99f1 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 3f2c81a475 Auto-generated configs and docs 2020-12-13 22:48:42 +00:00
rusefillc 4c2ea35269 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
rusefi dc655a81ed subi ops 2020-12-13 16:41:53 -05:00
rusefi 3684b739d3 subi 2020-12-13 16:38:09 -05:00
rusefi d7567bc871 Merge remote-tracking branch 'origin/master' 2020-12-13 16:33:14 -05:00
rusefi ada45c3962 poke 2020-12-13 16:31:47 -05:00
GitHub build-firmware Action b24ab99274 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
rusefi 1a205b9973 maybe this would just work? 2020-12-13 16:22:02 -05:00
GitHub build-firmware Action 77c9453ab4 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
rusefi 678abc1b24 subi 2020-12-13 16:17:31 -05:00
rusefi e906552e03 subi drama 2020-12-13 15:44:14 -05:00
rusefi 233381cb2e this car has high-side main relay WOW 2020-12-13 14:49:14 -05:00
GitHub build-firmware Action 0e64e34c19 Auto-generated configs and docs 2020-12-13 18:19:40 +00:00
rusefi 7f5b70f78c subi 2020-12-13 13:16:39 -05:00
rusefi afe387c7be subi 2020-12-13 11:39:10 -05:00
rusefillc 8e320209f1 MRE issue with tle8888 - GP3 does not work? #2065 2020-12-13 11:29:19 -05:00
Matthew Kennedy abf683e775 test (#2071)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
GitHub build-firmware Action 00726d7ab5 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
rusefi c5ee9aa58a "Subaru" 2020-12-12 22:22:29 -05:00
rusefillc 15be4c0e50 https://rusefi.com/forum/viewtopic.php?p=38877#p38877 2020-12-12 20:07:53 -05:00
shadowm60 92304460dd 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 7c565124dd Update date 2020-12-13 00:51:00 +00:00
Matthew Kennedy 27e4d89f5a 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 b20322898d Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
David Holdeman 6ff2a1bd54 Fix table (#2062)
* try

* try

* swap labels

* switch axes in code
2020-12-12 15:41:27 -05:00
rusefillc e77628d1fc decompile_fsio_line 2020-12-12 10:40:55 -05:00
GitHub build-firmware Action 0a6a460013 Auto-generated configs and docs 2020-12-12 01:28:20 +00:00
rusefillc 9e269a94a8 Cranking debug 2020-12-11 20:09:36 -05:00
rusefillc 5475967317 Merge remote-tracking branch 'origin/master' into master 2020-12-11 20:04:24 -05:00
rusefillc 0b2ee4ee4e throttlePedalPositionSecondAdcChannel to "all pins" 2020-12-11 19:51:01 -05:00
GitHub set-date Action 3bb9268323 Update date 2020-12-12 00:48:24 +00:00
Matthew Kennedy 26a205f72b clang warnings again (#2055)
* s

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-11 13:59:28 -05:00
rusefillc 9b7acb9dbf clang warnings again #2055 2020-12-11 12:50:10 -05:00
rusefillc 2a12019d55 more better changelog 2020-12-11 10:34:28 -05:00
rusefillc 47975891f1 Merge remote-tracking branch 'origin/master' into master 2020-12-11 10:33:34 -05:00
rusefillc 47db5d0d99 clang warnings again #2055 2020-12-11 10:33:00 -05:00
GitHub build-firmware Action 737a8faf57 Auto-generated configs and docs 2020-12-11 15:06:15 +00:00
rusefillc 1d2dfddbc2 TS, .ini: "Idle position sensor" missing label in "Wastegate and idle position sensors" menu #2056 2020-12-11 10:04:07 -05:00
rusefillc 2521f7d11f correction #2054 2020-12-11 09:07:36 -05:00
rusefillc 3be2c27485 Passat B6 canned config: GDI injector deadtime to like flat 0.2ms #2049 2020-12-11 09:07:23 -05:00
Matthew Kennedy 6f491cf5c4 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 84ae2722c5 dead code 2020-12-10 21:45:25 -05:00
GitHub set-date Action e7dbc17471 Update date 2020-12-11 00:48:18 +00:00
rusefillc 242a50fad6 GM x24 is a well defined trigger needs hard-coded tdcPosition #2054 2020-12-10 19:39:53 -05:00
rusefillc e456413543 Merge remote-tracking branch 'origin/master' into master 2020-12-10 19:38:44 -05:00
rusefillc 3c623d8ed1 GM x24 is a well defined trigger needs hard-coded tdcPosition fix #2054 2020-12-10 19:38:33 -05:00
Matthew Kennedy 6f80da5c9c reduce GPIO complexity (#2051) 2020-12-10 19:18:14 -05:00
Matthew Kennedy e0c7d550f4 sd log afr 2 (#2052) 2020-12-10 14:05:52 -05:00
Matthew Kennedy 719e341eeb 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 ce2e7d3cbe fix mock pins array (#2050)
* fix

* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy ba1ba1452d 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 82e7f3435d Update date 2020-12-10 00:48:05 +00:00
GitHub build-firmware Action c792a415fb Auto-generated configs and docs 2020-12-09 19:33:03 +00:00
Matthew Kennedy cf91351c4a config for second lambda (#2047)
* config

* size

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
rusefillc 4072db3052 trigger lifecycle 2020-12-09 12:19:25 -05:00
GitHub build-firmware Action 40a78ce636 Auto-generated configs and docs 2020-12-09 17:15:05 +00:00
rusefillc 703863599e Merge remote-tracking branch 'origin/master' into master 2020-12-09 12:08:57 -05:00
rusefillc 922c092372 trigger lifecycle 2020-12-09 12:08:38 -05:00
Matthew Kennedy e38a160644 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 df4f738401 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 81b7b2da59 refactoring 2020-12-08 21:33:59 -05:00
GitHub build-firmware Action 858a3ea9e7 Auto-generated configs and docs 2020-12-09 02:10:55 +00:00
shadowm60 180bba574d 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 819f342a63 Update date 2020-12-09 00:48:33 +00:00
rusefillc 5ae956ccd8 Merge remote-tracking branch 'origin/master' into master 2020-12-08 13:59:47 -05:00
rusefillc 3f17d84b44 fix warnings found by clang #2014 2020-12-08 13:59:40 -05:00
Matthew Kennedy d7c56f78a9 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 166167f805 basic hw in the loop - pwm self validation #2028 2020-12-08 05:30:12 -05:00
GitHub build-firmware Action f1bf3f00b9 Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
rusefillc d4a8e5852c basic hw in the loop - pwm self validation #2028 2020-12-08 05:14:27 -05:00
rusefillc d6ea410424 basic hw in the loop - pwm self validation #2028 2020-12-08 05:07:03 -05:00
rusefillc 2f15c08498 basic hw in the loop - pwm self validation #2028 2020-12-08 04:52:49 -05:00
GitHub build-firmware Action 8f81510c9a Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
rusefillc 0862d76371 basic hw in the loop - pwm self validation #2028 2020-12-08 04:41:07 -05:00
rusefillc 89548ea527 basic hw in the loop - pwm self validation #2028 2020-12-08 04:21:14 -05:00
Matthew Kennedy 2e1dad3650 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 3a3586f730 basic hw in the loop - pwm self validation #2028 2020-12-07 20:42:47 -05:00
GitHub build-firmware Action 2c9ee5bf15 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
rusefillc a818e3ff05 basic hw in the loop - pwm self validation #2028 2020-12-07 20:31:02 -05:00
rusefillc 89cebd7d72 basic hw in the loop - pwm self validation #2028 2020-12-07 20:26:47 -05:00
rusefillc e2869e94a6 Merge remote-tracking branch 'origin/master' into master 2020-12-07 20:01:23 -05:00
rusefillc ee9aaf4e0d basic hw in the loop - pwm self validation #2028 2020-12-07 20:01:05 -05:00
GitHub set-date Action dc8005ad51 Update date 2020-12-08 00:47:47 +00:00