Commit Graph

8288 Commits

Author SHA1 Message Date
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
rusefi 5e265dd8ea Merge remote-tracking branch 'origin/master' into master 2020-09-20 13:42:53 -04:00
rusefi c6d0ddec40 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:42:37 -04: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
rusefi 1c3730eed0 Merge remote-tracking branch 'origin/master' into master 2020-09-17 07:54:29 -04:00
rusefi 630274d6bd Hellen says it has more ADC channels 2020-09-17 03:59:50 -04: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
rusefi 38e38c82b5 Hellen says merge #1772 hardware.cpp 2020-09-15 15:01:31 -04:00
rusefi 78b65ea8aa Merge remote-tracking branch 'origin/master' into master 2020-09-15 14:49:01 -04:00
andreika-git 45c43bb6fd porting adc_inputs.cpp (blindly) (#1792)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-15 14:48:32 -04: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
Matthew Kennedy 2a1e2c53e3
proteus SD card defaults (#1796)
* proteus SD defaults

* disable serial console pins
2020-09-14 10:54:25 +03: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
David Holdeman d703185f16
Cypress script (#1793)
* convert script

* fix extension
2020-09-12 16:54:40 +03: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
rusefi a96b74b086 removing custom path 2020-09-12 04:09:19 -04:00
rusefi 893de62fe6 Merge remote-tracking branch 'origin/master' into master 2020-09-12 04:03:23 -04:00
rusefi 958538e5aa Hellen says merge #1772 adc.h 2020-09-12 04:03:11 -04:00
GitHub build-firmware Action bb9db5b935 Auto-generated configs and docs 2020-09-12 07:37:31 +00:00
Matthew Kennedy 6629a2dea4
remove (#1789) 2020-09-12 10:35:49 +03: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
David Holdeman b1a69ff923
some documentation improvements (#1787) 2020-09-11 20:20:37 -04: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 a0cd451c5d Hellen says let's fix Prometheus part #3 2020-09-11 08:25:42 -04:00
rusefi ae27051ef5 Hellen says let's fix Prometheus 2020-09-11 07:51:49 -04:00
rusefi f98620e158 Hellen says let's fix Prometheus 2020-09-11 07:19:04 -04:00
rusefi cf90ed125e Hellen says let's fix master 2020-09-11 07:05:32 -04:00
rusefi 98fa9dd6de Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/console/binary/tunerstudio_io.cpp
#	firmware/console/console_io.cpp
2020-09-11 05:54:21 -04:00
rusefi 4463253a6d Hellen says merge #1772 TS 2020-09-11 05:50:48 -04: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
rusefi 24d91947a6 Hellen says merge #1772 fast ADC 2020-09-11 03:54:07 -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
Matthew Kennedy 04877b8b95
define map3d functions in class (#1785)
* define in class

* don't keep an extra flag
2020-09-10 22:03:16 -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 3ca3022683 Hellen says merge #1772 getting closer? 2020-09-10 21:12:25 -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 4a06a67f60 Hellen says merge #1772 getting closer? 2020-09-10 21:09:19 -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
rusefi dbb10e7c7d Merge remote-tracking branch 'origin/master' into master 2020-09-09 17:25:09 -04:00
rusefi 3a11ea7e31 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/Makefile
#	firmware/hw_layer/smart_gpio.cpp
2020-09-09 17:19:41 -04:00
David Holdeman 2bf3792c53
Debounce pin state function (#1780)
* add readpinstate

* wrong var name
2020-09-09 17:18:54 -04:00
rusefi a0aeeb4919 Hellen says merge #1772 smart gpio 2020-09-09 17:16:51 -04:00
Matthew Kennedy 509a1b072d
fix miata default (#1781) 2020-09-09 17:11:07 -04:00
rusefi 9ba01f2af5 Merge remote-tracking branch 'origin/master' into master 2020-09-09 16:55:56 -04:00
rusefi e94631ad3d Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/hw_layer/digital_input/trigger/trigger_input.h
#	firmware/hw_layer/hw_layer.mk
#	firmware/hw_layer/ports/stm32/stm32f0/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f1/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f4/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f7/hw_ports.mk
2020-09-09 16:55:27 -04:00
GitHub build-firmware Action 28ee902c62 Auto-generated configs and docs 2020-09-09 20:54:16 +00:00
rusefi 942bc07ae2 Hellen says merge #1772 smart build by default 2020-09-09 16:53:54 -04: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
rusefi f0d7bde158 Merge remote-tracking branch 'origin/master' into master 2020-09-09 16:38:36 -04:00
rusefi e1be439682 Hellen says merge #1772 helping merge - Kinetis?! 2020-09-09 16:38:18 -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
rusefi 2347324aba Hellen says merge #1772 helping merge 2020-09-09 16:25:50 -04:00
rusefi 5d2e212498 Hellen says merge #1772 helping merge 2020-09-09 15:08:01 -04:00
rusefi 6e64d243da Hellen says merge #1772 helping merge 2020-09-09 14:35:01 -04:00
rusefi 07bc8100c7 Hellen says merge #1772 helping merge 2020-09-09 14:20:54 -04:00
rusefi 59ecf525f5 Hellen says merge #1772 helping merge 2020-09-09 13:43:18 -04:00
rusefi 500d73ef02 Hellen says merge #1772 more about ports 2020-09-09 13:39:51 -04:00
rusefi 995795eeb6 Hellen says merge #1772 trigger h 2020-09-09 10:21:14 -04:00
rusefi 6fdb54d0dc Hellen says merge #1772 backup ram.h 2020-09-09 10:20:21 -04:00
rusefi ed38250fd5 Hellen says merge #1772 more about ports 2020-09-09 10:18:58 -04:00
rusefi 38c4794ef0 Merge remote-tracking branch 'origin/master' into master 2020-09-09 08:58:54 -04:00
rusefi 47b3ad0b9c Hellen says merge #1772 more ports 2020-09-09 08:58:12 -04:00
rusefi 729bf748eb Hellen says merge #1772 more ports 2020-09-09 08:53:11 -04:00
rusefi 0d26894154 Hellen says merge #1772 tle header 2020-09-09 08:52:14 -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
rusefi 4bf53b8e54 Merge remote-tracking branch 'origin/master' into master 2020-09-09 02:41:59 -04:00
rusefi e2701b8258 Bench-testing for ALL assigned output pins #1758 2020-09-09 02:41:11 -04: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 4ce758db88
use EFI_UNIT_TEST, add check (#1774) 2020-09-08 14:27:23 -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 a0b45b8b08 microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:04:54 -04:00
rusefi 0c1ac0c932 microRusEFI used as Body Control Module BCM BCU 2020-09-07 16:25:00 -04:00
rusefi 8cd1bb8656 Hellen says hi to Kinetis 2020-09-07 16:08:05 -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 c4cbdf0d77 Hellen says merge #1772 ADC flexibility 2020-09-07 15:50:37 -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 279482a298 Hellen says BOARD_DRV8860_COUNT 2020-09-07 15:38:34 -04:00
rusefi 4819c86eaa Hellen says merge #1772 noise filter bugfix 2020-09-07 15:36:17 -04:00
rusefi e9c273d925 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/config/boards/kinetis/efifeatures.h
#	firmware/config/boards/prometheus/efifeatures.h
#	firmware/config/boards/skeleton/efifeatures.h
#	firmware/config/boards/subaru-ej20gn/efifeatures.h
#	firmware/config/stm32f4ems/efifeatures.h
#	firmware/config/stm32f7ems/efifeatures.h
2020-09-07 15:32:15 -04:00
rusefi d424720ceb Hellen says merge #1772 efifeatures 2020-09-07 15:27:29 -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
rusefi 0dafcacde4 Hellen says merge #1772 EFI_INTERNAL_FLASH 2020-09-07 15:14:31 -04:00
rusefi 1cb2e69289 Hellen says merge #1772 import idle
(cherry picked from commit a6aa2e9997)
2020-09-07 15:11:50 -04:00
rusefi a6aa2e9997 Hellen says merge #1772 import idle 2020-09-07 15:08:54 -04:00
rusefi cb2173aad2 merge got confused 2020-09-07 15:05:47 -04:00
rusefi f33b3eda8a 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 6a3d212370 Hellen says merge #1772
Hellen says stepper

(cherry picked from commit a2f26ac99b)
2020-09-07 14:45:41 -04:00
rusefi ec0d3a8eb2 Hellen says isIdleMotorBusy
(cherry picked from commit b24246791e)
2020-09-07 14:43:29 -04:00
rusefi a88e142df0 Hellen says misc
(cherry picked from commit 2390c3ae2b)
2020-09-07 14:43:12 -04:00
rusefi a2f26ac99b Hellen says merge #1772
Hellen says stepper
2020-09-07 14:41:04 -04:00
rusefi b24246791e Hellen says isIdleMotorBusy 2020-09-07 14:12:21 -04:00