Andrey
53f99bd0a0
compile-time enforcement of printf strings
...
only:uaefi
2024-06-10 21:05:42 -04:00
Andrey
f7d68b3e1c
start/stop button improvements #6483
...
only: hello MISRA?
2024-05-08 22:52:31 -04:00
rusefi
93b3759a42
only: ButtonDebounce inverted API
2024-04-12 00:28:13 -04:00
rusefillc
c50be9ecdd
undoing noise
...
only:proteus_f7
2023-11-16 22:36:38 -05:00
Andrey
a1e407706d
Something kia rio starter 4chan #5701
...
definitely better multithreading behaviour and better readability
2023-11-09 00:33:16 -05:00
rusefi
b856e5306d
Something kia rio starter 4chan #5701
...
only:alphax-4chan_f7
2023-11-08 23:31:56 -05:00
rusefillc
ec6e711745
Something kia rio starter 4chan #5701
...
another last step before debugger?
2023-11-08 22:21:51 -05:00
rusefillc
50f9fce660
only:additional API
2023-09-25 13:49:33 -04:00
rusefillc
747d038fe4
code style
2023-09-25 13:42:32 -04:00
Andrey
97b415436d
only:docs
2023-06-15 17:40:24 -04:00
Andrey
86ce899026
only:using higher level API which could matter for unit tests around time zero
2023-06-15 17:36:07 -04:00
Matthew Kennedy
e4a0979dc2
Brain pin is enum class ( #4108 )
...
* change most usages to Gpio::
* board configs
* engine configs etc
* isBrainPinValid, smart gpio
* generator
* generator
* generator
* connector yamls
* kinetis enums
* cypress txt
* kinetis config
* frankenso
* config generator
* actually do it for the others
* disable skips for pr ci
* fix tle8888
* misc
* weird cast from int
* needs this operator too
* this can be an unsigned subtract
* happy tests
* s
* kinetis isConfigurationChanged weirdness
* missed J/K
* cypress efifeatures
* build script mistake (!)
* mistake in smart gpio
* debounce
* eg33
* kinetis, so needy
* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy
25414ebdad
yet more pch ( #3068 )
...
* big pch energy
* put back ramdisk stub
* tests are happy
* h743 nucleo
* kinetis
* I love deleting code!
* make stepper happy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy
ad71016862
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy
0df5d0ae3d
actually use button name ( #2126 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:30:56 -05:00
rusefillc
26fbf0527a
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:53:26 -05:00
rusefillc
8f2116921c
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:24:19 -05:00
rusefillc
a47129693a
trigger and start button pins not displayed by "pins" command #2084
...
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
rusefillc
d4d7e7583b
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 10:41:22 -05:00
rusefillc
e6fa57db87
Starter is engaged on start-up in pull-up configuration #1969
...
maintainability
2020-11-20 00:18:38 -05:00
rusefillc
4e94324e4f
Starter seems to be engaged forever #1965
2020-11-18 21:45:17 -05:00
rusefi
7c8521f078
debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927
...
refactoring
2020-11-07 00:46:59 -05:00
rusefi
ee01be3fd2
debounce unintended auto-increment bug (was: Proteus TCU gear shift configuration) #1927
...
undoing brain fart
2020-11-07 00:43:42 -05:00
rusefillc
7bfa18295a
Proteus TCU gear shift configuration #1927
2020-11-06 23:48:35 -05:00
David Holdeman
4d0b953129
switch to pass by reference ( #1832 )
2020-09-28 19:17:17 -04:00
David Holdeman
181113ff17
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
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
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
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
David Holdeman
2bf3792c53
Debounce pin state function ( #1780 )
...
* add readpinstate
* wrong var name
2020-09-09 17:18:54 -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
David Holdeman
499a430347
[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