This commit is contained in:
parent
96a74da4c7
commit
10d66db0da
|
@ -213,6 +213,7 @@
|
||||||
// todo: most of this should become configurable
|
// todo: most of this should become configurable
|
||||||
|
|
||||||
// todo: switch to continues ADC conversion for slow ADC?
|
// todo: switch to continues ADC conversion for slow ADC?
|
||||||
|
// https://github.com/rusefi/rusefi/issues/630
|
||||||
#define EFI_INTERNAL_SLOW_ADC_PWM &PWMD8
|
#define EFI_INTERNAL_SLOW_ADC_PWM &PWMD8
|
||||||
// todo: switch to continues ADC conversion for fast ADC?
|
// todo: switch to continues ADC conversion for fast ADC?
|
||||||
#define EFI_INTERNAL_FAST_ADC_PWM &PWMD4
|
#define EFI_INTERNAL_FAST_ADC_PWM &PWMD4
|
||||||
|
|
|
@ -258,8 +258,11 @@
|
||||||
#define STM32_PWM_USE_TIM1 FALSE
|
#define STM32_PWM_USE_TIM1 FALSE
|
||||||
#define STM32_PWM_USE_TIM2 FALSE
|
#define STM32_PWM_USE_TIM2 FALSE
|
||||||
#define STM32_PWM_USE_TIM3 FALSE
|
#define STM32_PWM_USE_TIM3 FALSE
|
||||||
|
// maybe even swithc this one to software timer?
|
||||||
|
// todo: https://github.com/rusefi/rusefi/issues/630 ?
|
||||||
#define STM32_PWM_USE_TIM4 TRUE
|
#define STM32_PWM_USE_TIM4 TRUE
|
||||||
#define STM32_PWM_USE_TIM5 FALSE
|
#define STM32_PWM_USE_TIM5 FALSE
|
||||||
|
// todo: https://github.com/rusefi/rusefi/issues/630 ?
|
||||||
#define STM32_PWM_USE_TIM8 TRUE
|
#define STM32_PWM_USE_TIM8 TRUE
|
||||||
#define STM32_PWM_USE_TIM9 FALSE
|
#define STM32_PWM_USE_TIM9 FALSE
|
||||||
#define STM32_PWM_TIM1_IRQ_PRIORITY 7
|
#define STM32_PWM_TIM1_IRQ_PRIORITY 7
|
||||||
|
|
|
@ -126,6 +126,8 @@ icuchannel_t getInputCaptureChannel(brain_pin_e hwPin) {
|
||||||
* ChibiOS limitation is that only channels #1 and #2 could be used for input capture
|
* ChibiOS limitation is that only channels #1 and #2 could be used for input capture
|
||||||
*
|
*
|
||||||
* TODO: migrate slow ADC to software timer so that TIM8 is also available for input capture
|
* TODO: migrate slow ADC to software timer so that TIM8 is also available for input capture
|
||||||
|
* todo: https://github.com/rusefi/rusefi/issues/630 ?
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
ICUDriver * getInputCaptureDriver(const char *msg, brain_pin_e hwPin) {
|
ICUDriver * getInputCaptureDriver(const char *msg, brain_pin_e hwPin) {
|
||||||
if (hwPin == GPIO_UNASSIGNED || hwPin == GPIO_INVALID) {
|
if (hwPin == GPIO_UNASSIGNED || hwPin == GPIO_INVALID) {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
out/
|
Loading…
Reference in New Issue