Matthew Kennedy
c1cb48ed12
switch ( #1839 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-01 01:36:33 -04:00
Matthew Kennedy
3374db1658
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman
e6f6c43767
switch to pass by reference ( #1832 )
2020-09-28 19:17:17 -04: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
David Holdeman
88d08cf1a8
Fix debounce ( #1814 )
...
* 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
* check
* use bool
* mark false when done
* pointer
* check GPIO_UNASSIGNED
* wat
* merge carnage
* oops, accidentally downgraded submodule
2020-09-21 18:25:24 -04:00
rusefi
4fccd51722
ADC progress
2020-09-21 06:10:25 -04:00
Matthew Kennedy
2c492cae48
guard against ADC buffer overrun ( #1812 )
2020-09-21 12:37:51 +03:00
rusefi
889335111a
reorder ADC channel index #1763
...
we forgot about something
2020-09-20 14:20:08 -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
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
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
c98e78640a
Hellen says merge #1772 hardware.cpp
2020-09-15 15:01:31 -04:00
rusefi
0e370f87aa
Merge remote-tracking branch 'origin/master' into master
2020-09-15 14:49:01 -04:00
andreika-git
af20e08ccf
porting adc_inputs.cpp (blindly) ( #1792 )
...
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-15 14:48:32 -04:00
Matthew Kennedy
a62089e590
proteus SD card defaults ( #1796 )
...
* proteus SD defaults
* disable serial console pins
2020-09-14 10:54:25 +03: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
rusefi
ead14bd1ca
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit 39280fb2
2020-09-12 04:36:24 -04:00
rusefi
8612f4de30
Merge remote-tracking branch 'origin/master' into master
2020-09-12 04:03:23 -04:00
rusefi
875651b471
Hellen says merge #1772 adc.h
2020-09-12 04:03:11 -04: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
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
a5644782d6
Merge remote-tracking branch 'origin/master' into master
2020-09-09 17:25:09 -04:00
rusefi
7fa7ac6c37
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
e7af7cd391
Debounce pin state function ( #1780 )
...
* add readpinstate
* wrong var name
2020-09-09 17:18:54 -04:00
rusefi
91f9079f82
Hellen says merge #1772 smart gpio
2020-09-09 17:16:51 -04:00
rusefi
86bac639b0
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
rusefi
882c8d8dbf
Hellen says merge #1772 helping merge - Kinetis?!
2020-09-09 16:38:18 -04:00
rusefi
a3c9871d58
Hellen says merge #1772 helping merge
2020-09-09 14:35:01 -04:00
rusefi
918d987366
Hellen says merge #1772 helping merge
2020-09-09 14:20:54 -04:00
rusefi
03ce326123
Hellen says merge #1772 helping merge
2020-09-09 13:43:18 -04:00
rusefi
d3d5c1474a
Hellen says merge #1772 more about ports
2020-09-09 13:39:51 -04:00
rusefi
d3567c23f6
Hellen says merge #1772 trigger h
2020-09-09 10:21:14 -04:00
rusefi
6b3eadb082
Hellen says merge #1772 backup ram.h
2020-09-09 10:20:21 -04:00
rusefi
c930071203
Hellen says merge #1772 more about ports
2020-09-09 10:18:58 -04:00
rusefi
7f3eb65f4d
Merge remote-tracking branch 'origin/master' into master
2020-09-09 08:58:54 -04:00
rusefi
81e83d0474
Hellen says merge #1772 more ports
2020-09-09 08:58:12 -04:00
rusefi
9ca4906c4c
Hellen says merge #1772 more ports
2020-09-09 08:53:11 -04:00
rusefi
bd5ee9477c
Hellen says merge #1772 tle header
2020-09-09 08:52:14 -04:00
David Holdeman
ffb5e0b1e4
switch start/stop to ButtonDebounce ( #1777 )
2020-09-09 08:22:15 +01: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
David Holdeman
001e56e3a1
use EFI_UNIT_TEST, add check ( #1774 )
2020-09-08 14:27:23 -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
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
7e4e20cc85
Hellen says merge #1772 ADC flexibility
2020-09-07 15:50:37 -04:00
rusefi
16f53aecd1
Hellen says BOARD_DRV8860_COUNT
2020-09-07 15:38:34 -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
d80f0dcd1d
Hellen says misc
...
(cherry picked from commit bae9324d34
)
2020-09-07 14:43:12 -04:00
rusefi
4bc18ee475
Hellen says merge #1772
...
Hellen says stepper
2020-09-07 14:41:04 -04:00
rusefi
bae9324d34
Hellen says misc
2020-09-07 14:09:00 -04:00