Andreika
90c56e8643
more trigger_adc & cypress fixes ( #3642 )
...
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-12-01 17:26:58 -05:00
rusefillc
251bdfc12a
trigger_adc helping cypress
2021-12-01 15:09:34 -05:00
rusefillc
51b2666d2c
trigger_adc helping cypress
2021-12-01 14:40:36 -05:00
rusefillc
c80a37503e
trigger_adc helping simulator
2021-12-01 14:17:16 -05:00
rusefillc
aaf732f738
trigger_adc unit tests
2021-12-01 13:35:44 -05:00
Andreika
ada89312b5
hellen81 ADC trigger
2021-12-01 13:03:08 -05:00
Matthew Kennedy
29613ec403
fast exti interrupt handoff ( #3497 )
...
* fast exti
* test code snuck in
* full interrupt disable :(
* do it the old fashioned way
* enable interrupt
* consume stored timestamp
* dead
* h7 maybe
* guard maybe
* non-stm32
* exti 16 wrong on f4/f7
* CORTEX_MAXIMUM_PRIORITY
* safer but uglier
* s
* chibios
* no const
* initializers
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 06:37:52 -05:00
Scott Smith
823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy
8cdac4cac0
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
rusefillc
e72277c863
No pins should be restarted for no reason during config change #3151
2021-08-14 06:15:29 -04:00
rusefillc
82da6e43fd
No pins should be restarted for no reason during config change #3151
2021-08-14 05:20:12 -04:00
rusefillc
b141f83a88
No pins should be restarted for no reason during config change #3151
2021-08-14 04:58:10 -04:00
rusefillc
e07e44fc9a
Nissan progress
2021-08-11 18:04:57 -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
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Andrey
03bb3e3ace
trigger signal debug pins - logic level output #2959
...
test driven development is still amazing
2021-07-15 09:29:14 -04:00
Andrey
c513e976ed
trigger signal debug pins - logic level output #2959
2021-07-15 01:46:30 -04:00
Andrey
23be588af6
trigger signal debug pins - logic level output #2959
2021-07-15 01:28:44 -04:00
Andrey
b1f721e20b
trigger signal debug pins - logic level output #2959
2021-07-15 00:50:29 -04:00
Andrey
6c8e80285e
trigger signal debug pins - logic level output #2959
2021-07-14 23:20:18 -04:00
Andrey
e721c1768f
trigger signal debug pins - logic level output #2959
2021-07-14 22:51:08 -04:00
Andrey
0f6930471f
making code more testable
2021-07-14 22:02:28 -04:00
Andrey
994230be65
trigger signal debug pins - logic level output #2959
2021-07-13 20:15:55 -04:00
Andrey
f028c4d727
trigger signal debug pins - logic level output #2959
2021-07-13 18:16:32 -04:00
Matthew Kennedy
5c60973dd8
Consolidate hwHandleShaftSignal ( #2875 )
...
* consolidate trigger input
* merge functions
* comment
* dead
* hw vs. not hw
* stray comma
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-28 10:06:22 -04:00
rusefi
92958f1959
Proteus QC build
2021-04-30 13:57:33 -04:00
Matthew Kennedy
c26987b96b
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -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
rusefi
67f5b18f34
not great solution to code duplication, also helping QC build
2021-02-13 11:19:39 -05:00
rusefillc
869e4cfc49
vvt/cam events to pass index
2021-01-31 22:24:45 -05:00
rusefillc
d116101e1a
trigger: exti: callback parameter is now index
2021-01-31 22:10:10 -05:00
rusefillc
73085b3914
code style
2021-01-31 21:45:01 -05: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
19bf208cde
use limp mgr for trigger disable ( #2145 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 18:12:36 -05: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
rusefi
2971230711
VVT support for VAG trigger #883
2020-08-29 18:13:00 -04:00
rusefi
f04149b489
disable trigger_hw_input should work for PAL and VVT
2020-08-09 00:20:01 -04:00
rusefi
8f4aecf7ca
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:46:40 -04:00