Commit Graph

4857 Commits

Author SHA1 Message Date
rusefi aea8441e6a Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
rusefi 77c1b19cee Output pin init/deinit needs a linked list #1803 2020-09-27 07:22:09 -04:00
GitHub set-date Action 860d3ba96d Update date 2020-09-27 00:48:28 +00:00
rusefi 822f20ab2d Output pin init/deinit needs a linked list #1803
more fun around pin referencing
2020-09-26 05:04:27 -04:00
GitHub set-date Action 7da58c0889 Update date 2020-09-26 00:45:57 +00:00
GitHub set-date Action 45d3c67d0d Update date 2020-09-25 00:46:43 +00:00
GitHub set-date Action 29c11f663c Update date 2020-09-24 00:46:48 +00:00
andreika-git 2d4d34291c 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
GitHub set-date Action d904eee955 Update date 2020-09-23 00:45:21 +00:00
GitHub build-firmware Action 02a5c40ad0 Auto-generated configs and docs 2020-09-22 20:27:30 +00:00
shadowm60 2d665e2c90 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 9a9773de15 Auto-generated configs and docs 2020-09-22 09:29:44 +00:00
GitHub build-firmware Action bf6af23f00 Auto-generated configs and docs 2020-09-22 08:59:31 +00:00
rusefi 15a23bb399 helping CI 2020-09-22 04:57:07 -04:00
GitHub build-firmware Action 66b0b88139 Auto-generated configs and docs 2020-09-22 07:49:56 +00:00
shadowm60 c85932727e 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
GitHub set-date Action f12237e23e Update date 2020-09-22 00:45:38 +00:00
rusefi 3b9d339db0 unit test for start/stop hardware and pin repository #1811 2020-09-21 12:29:01 -04:00
rusefi 4fccd51722 ADC progress 2020-09-21 06:10:25 -04:00
Matthew Kennedy 9783f40820 move AEM xseries lambda to new sensor (#1764)
* lambda sens

* fix init

* new sensor aem

* comment

* g

* format

* x

* guard

* fix init for tests

* fix

* put back

* put back

* fix

* fix init

* why is this different

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-21 06:01:54 -04:00
shadowm60 c89a9e4c62 Update can_vss.cpp (#1813)
update vss reading from can
2020-09-21 05:55:09 -04:00
GitHub set-date Action 336093b742 Update date 2020-09-21 00:46:18 +00:00
rusefi b6ab109419 Merge remote-tracking branch 'origin/master' into master 2020-09-20 14:04:33 -04:00
rusefi 77a9d79124 Revert "reorder ADC channel index #1763"
This reverts commit a50450c5
2020-09-20 14:04:24 -04:00
David Holdeman 9536590a25 Debounce refactor (#1809)
* 1,2,4,7,9

* 6

* fix type mismatch

* change field

* comment

* Revert "comment"

This reverts commit f7ce8ed48d015490ed82d692270198817569b5a3.

* Revert "Revert "comment""

This reverts commit 99f2d5cadcbf444bf58acf9e57a6fed61355d5be.

* Revert "change field"

This reverts commit 55ec050cd947696cdffccae6b29fe48d95ab5f17.

* rename var

* comments

* use func in init

* default values

* remove redundant check
2020-09-20 14:01:00 -04:00
rusefi a50450c5fc reorder ADC channel index #1763
we forgot about something
2020-09-20 13:59:54 -04:00
GitHub build-firmware Action 6930ea5073 Auto-generated configs and docs 2020-09-20 17:45:00 +00:00
GitHub set-date Action 6155410cae Update date 2020-09-20 00:46:52 +00:00
GitHub build-firmware Action 561637cc47 Auto-generated configs and docs 2020-09-19 21:19:20 +00:00
David Holdeman 02a12d76f3 fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
rusefi a2ec524c29 better QC procedure 2020-09-19 16:07:09 -04:00
rusefi 3e34b65ec5 better QC procedure 2020-09-19 04:57:07 -04:00
rusefi 34904db591 better QC procedure 2020-09-19 04:39:32 -04:00
rusefi be7ea7e068 docs 2020-09-19 04:38:59 -04:00
Matthew Kennedy 4a1b1b6bad fix closed loop fuel (#1797)
* fix

* add a test

* signature
2020-09-19 03:44:01 -04:00
GitHub set-date Action cc42bfc422 Update date 2020-09-19 00:44:27 +00:00
Matthew Kennedy 85304392dd two throttles one thread (#1806)
* two throttles one thread

* look at all this RAM!
2020-09-18 13:47:49 -04:00
rusefi d4d42dd781 Output pin init/deinit needs a linked list #1803 2020-09-18 13:29:17 -04:00
rusefi 42c6e26743 Merge remote-tracking branch 'origin/master' into master 2020-09-18 13:01:23 -04:00
rusefi a48c67c8c7 Output pin init/deinit needs a linked list #1803 2020-09-18 13:01:09 -04:00
GitHub build-firmware Action 8de08abc35 Auto-generated configs and docs 2020-09-18 07:05:55 +00:00
Matthew Kennedy d23a48fc53 Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
rusefi 0b000fcdaa Output pin init/deinit needs a linked list #1803 2020-09-17 19:41:28 -04:00
rusefi 03195fba64 Merge remote-tracking branch 'origin/master' into master 2020-09-17 19:35:59 -04:00
rusefi 9f565721da Output pin config #1803
alternative to #1800
2020-09-17 19:35:43 -04:00
GitHub build-firmware Action f5488ddc16 Auto-generated configs and docs 2020-09-17 11:57:18 +00:00
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