Commit Graph

4811 Commits

Author SHA1 Message Date
GitHub set-date Action dfe53c26a5 Update date 2020-09-17 00:44:12 +00:00
GitHub set-date Action 991f6357b9 Update date 2020-09-16 00:44:01 +00:00
GitHub build-firmware Action 2b85806d44 Auto-generated configs and docs 2020-09-15 08:35:57 +00:00
David Holdeman 159e3142ce add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
GitHub set-date Action 821f43eb77 Update date 2020-09-15 00:44:08 +00:00
rusefi e3600a8f24 Engine runs we can disengage the starter #1795 2020-09-14 00:45:15 -04:00
GitHub set-date Action 19c4c1eb6c Update date 2020-09-14 00:44:19 +00:00
Matthew Kennedy 36234961c1 logging simplification: switch bare functions to member functions: try the second (#1794)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup

* fix sniffer
2020-09-13 11:49:25 +03:00
GitHub set-date Action 125eb97f04 Update date 2020-09-13 00:45:25 +00:00
rusefi ead14bd1ca Revert "logging simplification: switch bare functions to member functions (#1788)"
This reverts commit 39280fb2
2020-09-12 04:36:24 -04:00
GitHub build-firmware Action b66c24d9f2 Auto-generated configs and docs 2020-09-12 07:37:31 +00:00
GitHub set-date Action ead10c5cb7 Update date 2020-09-12 00:42:56 +00:00
GitHub build-firmware Action d30214e7c2 Auto-generated configs and docs 2020-09-12 00:22:40 +00:00
Matthew Kennedy 39280fb2c6 logging simplification: switch bare functions to member functions (#1788)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup
2020-09-12 03:08:11 +03:00
rusefi b1ec0508f5 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/config/boards/common_make.bat
#	firmware/controllers/algo/engine.cpp
#	firmware/controllers/system_fsio.txt
2020-09-11 03:59:06 -04:00
GitHub build-firmware Action dda7deb05c Auto-generated configs and docs 2020-09-11 02:18:18 +00:00
David Holdeman e8e2cf2cfd DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
rusefi 437d74e479 Hellen says merge #1772 Kinetis needs more help 2020-09-10 22:02:02 -04:00
rusefi 06763dc98f Hellen says merge #1772 Kinetis needs help 2020-09-10 21:51:58 -04:00
rusefi e48ab0f1d2 FSIO sync with reality? 2020-09-10 21:38:41 -04:00
rusefi 4c64c278f4 sync with reality? 2020-09-10 21:36:37 -04:00
rusefi 6726e11579 Hellen says merge #1772 progress 2020-09-10 21:26:21 -04:00
rusefi 3d4228dd40 Merge remote-tracking branch 'origin/master' into master 2020-09-10 21:17:29 -04:00
rusefi b38bea570d Hellen says merge #1772 system fsio 2020-09-10 21:16:33 -04:00
rusefi e289977e37 Hellen says merge #1772 main relay progress 2020-09-10 21:11:02 -04:00
rusefi af4f1c7a6a Hellen says merge #1772 system fsio 2020-09-10 21:09:56 -04:00
rusefi e0ab0456d8 Hellen says merge #1772 main relay progress 2020-09-10 21:08:39 -04:00
GitHub set-date Action c90a1720ca Update date 2020-09-11 00:43:44 +00:00
Matthew Kennedy 8079e5f292 scale tables using type system (#1776)
* store scale in the type

* efi ratio

* boost control scaling

* fix boost tests
2020-09-10 18:44:10 -04:00
GitHub set-date Action 65d7c9b766 Update date 2020-09-10 00:40:38 +00:00
rusefi 554a019e2e Hellen says merge #1772 error pin logic 2020-09-09 18:35:17 -04:00
rusefi 41cecd15eb Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/core/error_handling.cpp
#	firmware/controllers/system/efi_gpio.cpp
2020-09-09 18:23:04 -04:00
rusefi fe3d03ba5a Hellen says merge #1772 error pin 2020-09-09 18:18:59 -04:00
GitHub build-firmware Action 6c2cfb4e1c Auto-generated configs and docs 2020-09-09 20:54:16 +00:00
Matthew Kennedy c2eb7c9f4a remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
GitHub build-firmware Action 6e4de580e4 Auto-generated configs and docs 2020-09-09 20:28:47 +00:00
Matthew Kennedy f077479be4 minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
David Holdeman ffb5e0b1e4 switch start/stop to ButtonDebounce (#1777) 2020-09-09 08:22:15 +01:00
GitHub build-firmware Action 042b565042 Auto-generated configs and docs 2020-09-09 06:44:30 +00:00
GitHub set-date Action ec9e92c755 Update date 2020-09-09 00:45:08 +00:00
rusefi 2f4d5c0a8a Bench-testing for ALL assigned output pins #1758 2020-09-08 17:41:32 -04:00
rusefi 2f6d041b5a Merge remote-tracking branch 'origin/master' into master 2020-09-08 17:22:43 -04:00
Andrey G 5d421f7ffa Adc improvements (#1765)
* ADC: move DMA buffer outside of AdcDevice (save few bytes)

* ADC: inlcude fast channels to debug output

* ADC: save some CPU ticks (disabled until fully tested)

* ADC: simplify
2020-09-08 17:20:55 -04:00
rusefi 21a2403fc0 https://github.com/rusefi/rusefi/issues/1775 2020-09-08 17:20:14 -04:00
GitHub build-firmware Action 3fb459d1f8 Auto-generated configs and docs 2020-09-08 21:17:04 +00:00
Matthew Kennedy eb2bc3201c Selectable AFR axis override (#1771)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments

* impl

* unhide option

* fix

* tests
2020-09-08 17:15:18 -04:00
David Holdeman 65b60df172 Debounce pin management (#1760)
* add linked list

* macros, and use in buttonshift

* unit_tests macros

* add extern

* add parens

* move extern

* move extern

* move buttonDebounceListHead

* move buttonDebouncePointerHead

* merge gore

* undo

* reduce unused size

* don't store pointer if already initialized

* few changes

* remove oldPin

* fix merge conflict

* merge in changes commited to wrong branch

* fix definition

* out of class?

* brute force programming

* fix few problemos

* am confuse

* am confuse

* am confuse

* am confuse

* oldPin snuck in

* move to public?

* define again

* try constexpr

* def in cpp

* remove constexpr

* fix def

* fix?

* update active

* fix a few things
2020-09-08 11:29:38 -04:00
rusefi c990170dfa Hellen says merge #1772 progress 2020-09-08 00:15:09 -04:00
GitHub set-date Action 07b6b10ca0 Update date 2020-09-08 00:43:16 +00:00
rusefi fd016995a0 microRusEFI used as Body Control Module BCM BCU 2020-09-07 20:06:13 -04:00
rusefi e3758d3790 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:59:59 -04:00
GitHub build-firmware Action 540e5790cc Auto-generated configs and docs 2020-09-07 21:40:31 +00:00
rusefi 1f84f07c71 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:38:51 -04:00
rusefi b20600aa47 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:12:00 -04:00
GitHub build-firmware Action c401d52b61 Auto-generated configs and docs 2020-09-07 21:06:55 +00:00
rusefi adbb3f07e7 microRusEFI used as Body Control Module BCM BCU 2020-09-07 16:25:00 -04:00
rusefi f70c4b7a54 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine_configuration.cpp
2020-09-07 15:55:43 -04:00
rusefi 57569ca6a8 Hellen says merge #1772
where is implementation?
2020-09-07 15:54:31 -04:00
rusefi 20dfacb521 Hellen says merge #1772 misc #2 2020-09-07 15:53:26 -04:00
rusefi c8af242a68 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/engine_cycle/rpm_calculator.cpp
2020-09-07 15:39:23 -04:00
rusefi 4f2735c44a Hellen says merge #1772 noise filter bugfix 2020-09-07 15:36:17 -04:00
rusefi 6c4b399885 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine.cpp
2020-09-07 15:15:34 -04:00
rusefi 8729958733 Hellen says merge #1772 EFI_INTERNAL_FLASH 2020-09-07 15:14:31 -04:00
rusefi 1eeb65214d Hellen says merge #1772 import idle
(cherry picked from commit 2bed967b32)
2020-09-07 15:11:50 -04:00
rusefi 2bed967b32 Hellen says merge #1772 import idle 2020-09-07 15:08:54 -04:00
rusefi d63d0e185f merge got confused 2020-09-07 15:05:47 -04:00
rusefi 5243811711 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine.h
#	firmware/hw_layer/drivers/drivers.mk
#	firmware/hw_layer/stepper.h
#	firmware/integration/rusefi_config.txt
#	firmware/tunerstudio/rusefi.input
#	simulator/simulator/efifeatures.h
2020-09-07 15:02:11 -04:00
rusefi f6d735cdd2 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit 4bc18ee475)
2020-09-07 14:45:41 -04:00
rusefi 16580f0afd Hellen says isIdleMotorBusy
(cherry picked from commit 7601952548)
2020-09-07 14:43:29 -04:00
rusefi 4bc18ee475 Hellen says merge #1772
Hellen says stepper
2020-09-07 14:41:04 -04:00
rusefi 7601952548 Hellen says isIdleMotorBusy 2020-09-07 14:12:21 -04:00
GitHub build-firmware Action f06239e80e Auto-generated configs and docs 2020-09-07 15:36:40 +00:00
rusefi 3d0f92c4a1 microRusEFI used as Body Control Module BCM BCU 2020-09-07 11:09:48 -04:00
GitHub build-firmware Action 2dcfd167d4 Auto-generated configs and docs 2020-09-07 14:49:54 +00:00
GitHub build-firmware Action f6c24a2e71 Auto-generated configs and docs 2020-09-07 14:17:40 +00:00
Matthew Kennedy 8adfef930f Selectable VE axis override (#1769)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments
2020-09-07 10:15:42 -04:00
rusefi a56b299922 do we need RAM?! 2020-09-07 00:23:18 -04:00
rusefi 995bc111ca microRusEFI used as Body Control Module BCM BCU 2020-09-06 23:39:25 -04:00
rusefi 0e3d16b5d5 microRusEFI used as Body Control Module BCM BCU 2020-09-06 23:19:32 -04:00
rusefi a87dfb7f87 microRusEFI used as Body Control Module BCM BCU 2020-09-06 22:36:31 -04:00
rusefi 8ba9a47c59 microRusEFI used as Body Control Module BCM BCU
got stack too low warning with DBG_CAN
2020-09-06 21:45:17 -04:00
GitHub set-date Action 7ce3ccc989 Update date 2020-09-07 00:43:51 +00:00
rusefi f55fee38b4 microRusEFI used as Body Control Module BCM BCU 2020-09-06 19:43:54 -04:00
GitHub build-firmware Action eeb825f0ef Auto-generated configs and docs 2020-09-06 23:08:04 +00:00
Matthew Kennedy a3db817f6e Move ve logic (#1762)
* move ve

* fix build

* fix rendering

* duh

* cleaning

* correct scaling

* put some back

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -04:00
GitHub build-firmware Action 14200f02cc Auto-generated configs and docs 2020-09-06 22:26:54 +00:00
Matthew Kennedy 4802a47d23 reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
GitHub build-firmware Action 319dab833d Auto-generated configs and docs 2020-09-06 04:28:39 +00:00
rusefi fd9b39d887 Bench-testing for ALL assigned output pins #1758 2020-09-06 00:27:02 -04:00
GitHub build-firmware Action e1dbbcfde2 Auto-generated configs and docs 2020-09-06 04:08:32 +00:00
GitHub build-firmware Action 6ef6979d91 Auto-generated configs and docs 2020-09-06 03:38:02 +00:00
GitHub set-date Action ebb75468b2 Update date 2020-09-06 00:44:48 +00:00
Matthew Kennedy fc02c2bdf4 fix broken master, inject engine ptr to rpmcalculator (#1759)
* fix

* oops
2020-09-05 18:49:42 -04:00
GitHub set-date Action 8f370f02ed Update date 2020-09-05 01:16:13 +00:00
GitHub build-firmware Action 32a08d5649 Auto-generated configs and docs 2020-09-04 03:29:50 +00:00
rusefi ea1fbe14b3 OBD CAN sensors #1733 2020-09-03 23:27:53 -04:00
rusefi be49f46057 less hacky testing implementation 2020-09-03 22:52:29 -04:00
rusefi cd30652044 Merge remote-tracking branch 'origin/master' into master 2020-09-03 21:58:56 -04:00
rusefi 868a8b02bb less hacky implementation 2020-09-03 21:47:50 -04:00
GitHub set-date Action 4c74468f20 Update date 2020-09-04 00:42:51 +00:00
rusefi d7ed141713 refactoring 2020-09-03 19:51:50 -04:00
rusefi c476cd3b95 refactoring 2020-09-03 19:29:15 -04:00
rusefi f9cad49f8d OBD CAN sensors #1733 2020-09-03 19:09:05 -04:00
rusefi 4e06bee9aa OBD CAN sensors #1733 2020-09-03 16:58:10 -04:00
rusefi a3327c242f helping build 2020-09-02 21:19:10 -04:00
GitHub set-date Action 3475727d79 Update date 2020-09-03 00:42:18 +00:00
David Holdeman 5d84ddfa01 [TCU] Button Shifting (#1750)
* add buttonshift files

* buttonshift includes, targets, and init
2020-09-02 20:17:58 -04:00
GitHub build-firmware Action aeb71f791b Auto-generated configs and docs 2020-09-02 19:41:23 +00:00
David Holdeman 0f10703649 [TCU] GearController and TransmissionController base classes (#1749)
* add tcu ts outputs

* accidental change?

* add tcu base classes

* rearrange

* accidental change?

* add files

* missing backslash

* undo accidental change

* buttonshift includes, targets, and init

* Revert "buttonshift includes, targets, and init"

This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.

* use unused bit

* add return documentation

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
GitHub build-firmware Action 08ac893eab Auto-generated configs and docs 2020-09-02 19:34:30 +00:00
GitHub build-firmware Action 2e83dbefae Auto-generated configs and docs 2020-09-02 17:32:35 +00:00
GitHub build-firmware Action b563d309f8 Auto-generated configs and docs 2020-09-02 11:22:59 +00:00
Matthew Kennedy 96a9c7f4c4 Multiple knock sensors (#1745)
* fw

* cfg fields

* fix order

* ui for channel select

* clarify

* comments

* config
2020-09-02 07:19:02 -04:00
rusefi 8b172324a2 OBD-II default rate is 500kbps 2020-09-01 22:24:25 -04:00
GitHub set-date Action c0d5666514 Update date 2020-09-02 00:41:24 +00:00
Matthew Kennedy bad69c812e move lambda in to sensor model (#1736)
* lambda sens

* fix init

* fix

* a test for good measure

* he's climbin in your windows, snatchin you ram up

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
rusefi 95f3ce2baf OBD CAN sensors #1733 2020-08-31 23:01:17 -04:00
rusefi 663b33376a OBD CAN sensors #1733 2020-08-31 22:50:01 -04:00
rusefi 262405a915 OBD CAN sensors #1733 2020-08-31 22:47:33 -04:00
rusefi 26aaf7dc8e magic constants 2020-08-31 22:22:45 -04:00
rusefi 7cb3952b8b OBD CAN sensors #1733 2020-08-31 22:00:03 -04:00
rusefi 6598032fd7 price of lazy progress 2020-08-31 21:30:47 -04:00
rusefi 7f5b3021c8 Merge remote-tracking branch 'origin/master' 2020-08-31 21:13:33 -04:00
rusefi 0e70206dbf price of lazy progress 2020-08-31 21:09:51 -04:00
GitHub build-firmware Action a3a89c026d Auto-generated configs and docs 2020-09-01 01:07:34 +00:00
Matthew Kennedy 95f858265b detect which cylinder knocked (#1732)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* multi cylinder knock

* TS

* only sense when running
2020-08-31 21:05:33 -04:00
Matthew Kennedy 0f95d8fd71 fix #1740 the right way (#1741)
* fix

* put that back
2020-08-31 21:05:04 -04:00
GitHub set-date Action a76721ec3c Update date 2020-09-01 00:43:29 +00:00
GitHub build-firmware Action ea568dd0cf Auto-generated configs and docs 2020-08-31 21:10:05 +00:00
rusefi 70dae6eb4c Default Biquad settings broke MRE QC configuration #1740 2020-08-31 13:07:49 -04:00
rusefi 76816602a4 Default Biquad settings broke MRE QC configuration #1740 2020-08-31 12:36:28 -04:00
rusefi 052ccd01d5 going human 2020-08-31 10:49:16 -04:00
rusefi 6401b94399 this does not go as planned :( 2020-08-31 07:45:52 -04:00
rusefi 7e304fdca9 HW_CHECK_MODE is not well? 2020-08-31 06:43:47 -04:00
rusefi 23a790f66d OBD CAN sensors #1733 2020-08-31 04:39:27 -04:00
GitHub set-date Action d63fa6b327 Update date 2020-08-31 00:19:40 +00:00
GitHub build-firmware Action 582137f482 Auto-generated configs and docs 2020-08-30 19:40:34 +00:00
GitHub build-firmware Action 4f4f3e8cd5 Auto-generated configs and docs 2020-08-30 19:35:14 +00:00
GitHub build-firmware Action 0944894935 Auto-generated configs and docs 2020-08-30 18:29:40 +00:00
rusefi e02a5eb88d OBD CAN sensors #1733 2020-08-30 14:27:41 -04:00
rusefi b1a35234fb OBD CAN sensors #1733 2020-08-30 09:16:37 -04:00
GitHub set-date Action 02cfea5d80 Update date 2020-08-30 00:18:39 +00:00
GitHub build-firmware Action a6be36d408 Auto-generated configs and docs 2020-08-29 22:58:41 +00:00
rusefi 50ff019711 VVT support for VAG trigger #883 2020-08-29 18:37:13 -04:00
GitHub build-firmware Action dc11832184 Auto-generated configs and docs 2020-08-29 22:14:40 +00:00
rusefi 72060dd68f VVT support for VAG trigger #883 2020-08-29 18:13:00 -04:00
GitHub build-firmware Action cc13414bd1 Auto-generated configs and docs 2020-08-29 22:00:40 +00:00
GitHub build-firmware Action 91a3aca7fe Auto-generated configs and docs 2020-08-29 21:47:22 +00:00
rusefi 5da1af9ca7 VVT support for VAG trigger #883 2020-08-29 17:46:01 -04:00
rusefi b19ffa7075 TriggerConfiguration getPrintPrefix 2020-08-29 17:25:42 -04:00