Commit Graph

4951 Commits

Author SHA1 Message Date
GitHub set-date Action 1491a0c229 Update date 2020-09-23 00:45:21 +00:00
GitHub build-firmware Action a5aedf9967 Auto-generated configs and docs 2020-09-22 20:27:30 +00:00
shadowm60 8d8e8ec260
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 2614020c6b Auto-generated configs and docs 2020-09-22 09:29:44 +00:00
GitHub build-firmware Action 91ea6cd91b Auto-generated configs and docs 2020-09-22 08:59:31 +00:00
rusefi ab41bccd21 helping CI 2020-09-22 04:57:07 -04:00
GitHub build-firmware Action cc3381c175 Auto-generated configs and docs 2020-09-22 07:49:56 +00:00
shadowm60 a70e24bf6c
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 900842da16 Update date 2020-09-22 00:45:38 +00:00
rusefi 2d771018e8 unit test for start/stop hardware and pin repository #1811 2020-09-21 12:29:01 -04:00
rusefi c957541cf4 ADC progress 2020-09-21 06:10:25 -04:00
Matthew Kennedy df551d77fb
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 f2edf843e5
Update can_vss.cpp (#1813)
update vss reading from can
2020-09-21 05:55:09 -04:00
GitHub set-date Action 8bb5ffba05 Update date 2020-09-21 00:46:18 +00:00
rusefi 749c3e5f1d Merge remote-tracking branch 'origin/master' into master 2020-09-20 14:04:33 -04:00
rusefi e69167c8f0 Revert "reorder ADC channel index #1763"
This reverts commit 67bc72eb
2020-09-20 14:04:24 -04:00
David Holdeman 68012c18b7
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 67bc72ebd3 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:59:54 -04:00
GitHub build-firmware Action f5114d7f1b Auto-generated configs and docs 2020-09-20 17:45:00 +00:00
GitHub set-date Action ec7de00cd4 Update date 2020-09-20 00:46:52 +00:00
GitHub build-firmware Action 02f8c8e470 Auto-generated configs and docs 2020-09-19 21:19:20 +00:00
David Holdeman 8ebdf6fcdc
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 5515dc1abe better QC procedure 2020-09-19 16:07:09 -04:00
rusefi 96ec6ef9ac better QC procedure 2020-09-19 04:57:07 -04:00
rusefi 1657e499ce better QC procedure 2020-09-19 04:39:32 -04:00
rusefi b91a656a51 docs 2020-09-19 04:38:59 -04:00
Matthew Kennedy c1699d91d0
fix closed loop fuel (#1797)
* fix

* add a test

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

* look at all this RAM!
2020-09-18 13:47:49 -04:00
rusefi dfbbdff4b1 Output pin init/deinit needs a linked list #1803 2020-09-18 13:29:17 -04:00
rusefi fbdd1b0cb0 Merge remote-tracking branch 'origin/master' into master 2020-09-18 13:01:23 -04:00
rusefi 35db68a6ae Output pin init/deinit needs a linked list #1803 2020-09-18 13:01:09 -04:00
GitHub build-firmware Action 7d0aa5827d Auto-generated configs and docs 2020-09-18 07:05:55 +00:00
Matthew Kennedy 3d6a6398ac
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 6c88cbe533 Output pin init/deinit needs a linked list #1803 2020-09-17 19:41:28 -04:00
rusefi 599d3458ba Merge remote-tracking branch 'origin/master' into master 2020-09-17 19:35:59 -04:00
rusefi c37e1c8b70 Output pin config #1803
alternative to #1800
2020-09-17 19:35:43 -04:00
GitHub build-firmware Action 794a8fed09 Auto-generated configs and docs 2020-09-17 11:57:18 +00:00
GitHub set-date Action cb78c2ab08 Update date 2020-09-17 00:44:12 +00:00
GitHub set-date Action fd505c6c30 Update date 2020-09-16 00:44:01 +00:00
GitHub build-firmware Action 331626864c Auto-generated configs and docs 2020-09-15 08:35:57 +00:00
David Holdeman d761f523a0
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 837fd920e4 Update date 2020-09-15 00:44:08 +00:00
rusefi e3056bb397 Engine runs we can disengage the starter #1795 2020-09-14 00:45:15 -04:00
GitHub set-date Action df4b156b64 Update date 2020-09-14 00:44:19 +00:00
Matthew Kennedy 97cb9f45bd
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 63dfc66d48 Update date 2020-09-13 00:45:25 +00:00
rusefi 256a4a2637 Revert "logging simplification: switch bare functions to member functions (#1788)"
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
GitHub build-firmware Action bb9db5b935 Auto-generated configs and docs 2020-09-12 07:37:31 +00:00
GitHub set-date Action d2b6eedc3e Update date 2020-09-12 00:42:56 +00:00
GitHub build-firmware Action a5e74e04d4 Auto-generated configs and docs 2020-09-12 00:22:40 +00:00
Matthew Kennedy d941bdc502
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 31befbb7d8 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 24c4b0a446 Auto-generated configs and docs 2020-09-11 02:18:18 +00:00
David Holdeman 337106cd24
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 9903b0a1c5 Hellen says merge #1772 Kinetis needs more help 2020-09-10 22:02:02 -04:00
rusefi 89bb08ddb6 Hellen says merge #1772 Kinetis needs help 2020-09-10 21:51:58 -04:00
rusefi 55c553e85a FSIO sync with reality? 2020-09-10 21:38:41 -04:00
rusefi de572db0bc sync with reality? 2020-09-10 21:36:37 -04:00
rusefi 370c107793 Hellen says merge #1772 progress 2020-09-10 21:26:21 -04:00
rusefi acc2720170 Merge remote-tracking branch 'origin/master' into master 2020-09-10 21:17:29 -04:00
rusefi 3329e2259b Hellen says merge #1772 system fsio 2020-09-10 21:16:33 -04:00
rusefi ec366b68ee Hellen says merge #1772 main relay progress 2020-09-10 21:11:02 -04:00
rusefi d33afbc0d1 Hellen says merge #1772 system fsio 2020-09-10 21:09:56 -04:00
rusefi 56dc017757 Hellen says merge #1772 main relay progress 2020-09-10 21:08:39 -04:00
GitHub set-date Action 79feb34f14 Update date 2020-09-11 00:43:44 +00:00
Matthew Kennedy eebded8caa
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 6ef1065bdf Update date 2020-09-10 00:40:38 +00:00
rusefi 2840d2c276 Hellen says merge #1772 error pin logic 2020-09-09 18:35:17 -04:00
rusefi 8bcc387fa7 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 3af04d7824 Hellen says merge #1772 error pin 2020-09-09 18:18:59 -04:00
GitHub build-firmware Action 28ee902c62 Auto-generated configs and docs 2020-09-09 20:54:16 +00:00
Matthew Kennedy d2d0ffa1ee
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 e4775814a3 Auto-generated configs and docs 2020-09-09 20:28:47 +00:00
Matthew Kennedy f6cbce48ed
minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
David Holdeman f5d9263ad1
switch start/stop to ButtonDebounce (#1777) 2020-09-09 08:22:15 +01:00
GitHub build-firmware Action 8188ab7d90 Auto-generated configs and docs 2020-09-09 06:44:30 +00:00
GitHub set-date Action aa1436dfc3 Update date 2020-09-09 00:45:08 +00:00
rusefi 4d3ba4850c Bench-testing for ALL assigned output pins #1758 2020-09-08 17:41:32 -04:00
rusefi 5b7b051448 Merge remote-tracking branch 'origin/master' into master 2020-09-08 17:22:43 -04:00
Andrey G 2312b0ae57
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 8197209719 https://github.com/rusefi/rusefi/issues/1775 2020-09-08 17:20:14 -04:00
GitHub build-firmware Action 0c0cc630df Auto-generated configs and docs 2020-09-08 21:17:04 +00:00
Matthew Kennedy 6d1acb40f8
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 cab4cd0df2
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 8f8d4eccaf Hellen says merge #1772 progress 2020-09-08 00:15:09 -04:00
GitHub set-date Action 04ec880ab6 Update date 2020-09-08 00:43:16 +00:00
rusefi 02bc0a9608 microRusEFI used as Body Control Module BCM BCU 2020-09-07 20:06:13 -04:00
rusefi 67f305f48a microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:59:59 -04:00
GitHub build-firmware Action 689adf19d5 Auto-generated configs and docs 2020-09-07 21:40:31 +00:00
rusefi a1625bd2e2 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:38:51 -04:00
rusefi c8c90ed16b microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:12:00 -04:00
GitHub build-firmware Action 67c6a2750c Auto-generated configs and docs 2020-09-07 21:06:55 +00:00
rusefi 0c1ac0c932 microRusEFI used as Body Control Module BCM BCU 2020-09-07 16:25:00 -04:00
rusefi 9bea1190a4 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 6b82191ab7 Hellen says merge #1772
where is implementation?
2020-09-07 15:54:31 -04:00
rusefi be0bbf3dc8 Hellen says merge #1772 misc #2 2020-09-07 15:53:26 -04:00
rusefi a1de082dcd 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 4819c86eaa Hellen says merge #1772 noise filter bugfix 2020-09-07 15:36:17 -04:00
rusefi d9100b3cce Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/algo/engine.cpp
2020-09-07 15:15:34 -04:00