diff --git a/firmware/config/boards/common_make.bat b/firmware/config/boards/common_make.bat index 3af123cbb1..c11b679a4b 100644 --- a/firmware/config/boards/common_make.bat +++ b/firmware/config/boards/common_make.bat @@ -3,7 +3,7 @@ echo Entering %script_name% mkdir .dep rem todo: start using env variable for number of threads or for '-r' -make -j4 -r +make -r -j4 2> err.log if not exist build/rusefi.hex echo FAILED to compile by %script_name% with %PROJECT_BOARD% %DEBUG_LEVEL_OPT% and %EXTRA_PARAMS% if not exist build/rusefi.hex exit -1 diff --git a/firmware/config/boards/kinetis/efifeatures.h b/firmware/config/boards/kinetis/efifeatures.h index 864f846cb2..020729a632 100644 --- a/firmware/config/boards/kinetis/efifeatures.h +++ b/firmware/config/boards/kinetis/efifeatures.h @@ -265,7 +265,7 @@ // todo: switch to continues ADC conversion for slow ADC? // https://github.com/rusefi/rusefi/issues/630 // todo: switch to continues ADC conversion for fast ADC? -#define EFI_INTERNAL_FAST_ADC_PWM &PWMD2 +#define EFI_INTERNAL_FAST_ADC_GPT &GPTD2 // todo: why 64 SPLL prescaler doesn't work? // 168000000/64/128/1025 = ~20Hz diff --git a/firmware/config/boards/skeleton/efifeatures.h b/firmware/config/boards/skeleton/efifeatures.h index 0dadd13dbd..b12af0c59d 100644 --- a/firmware/config/boards/skeleton/efifeatures.h +++ b/firmware/config/boards/skeleton/efifeatures.h @@ -272,7 +272,7 @@ // todo: switch to continuous ADC conversion for slow ADC? // https://github.com/rusefi/rusefi/issues/630 // todo: switch to continues ADC conversion for fast ADC? -#define EFI_INTERNAL_FAST_ADC_PWM &PWMD4 +#define EFI_INTERNAL_FAST_ADC_GPT &GPTD6 #define EFI_SPI1_AF 5 @@ -383,7 +383,7 @@ #undef TS_SERIAL_DEVICE #undef TS_UART_MODE #define EFI_CONSOLE_SERIAL_DEVICE (&SD1) -//#define EFI_CONSOLE_USB_DEVICE (&SDU1) +//#define EFI_CONSOLE_USB_DEVICE SDU1 #define EFI_UART_ECHO_TEST_MODE TRUE #define TS_UART_DEVICE (&UARTD3) #define TS_SERIAL_DEVICE (&SD3) diff --git a/firmware/config/stm32f4ems/efifeatures.h b/firmware/config/stm32f4ems/efifeatures.h index 32713327c5..0bc051e6a9 100644 --- a/firmware/config/stm32f4ems/efifeatures.h +++ b/firmware/config/stm32f4ems/efifeatures.h @@ -250,7 +250,7 @@ #define EFI_USB_SERIAL TRUE #endif -#define EFI_CONSOLE_USB_DEVICE (&SDU1) +#define EFI_CONSOLE_USB_DEVICE SDU1 /** * While we embed multiple PnP configurations into the same firmware binary, these marcoses give us control @@ -304,7 +304,7 @@ // todo: switch to continues ADC conversion for slow ADC? // https://github.com/rusefi/rusefi/issues/630 // todo: switch to continues ADC conversion for fast ADC? -#define EFI_INTERNAL_FAST_ADC_PWM &PWMD4 +#define EFI_INTERNAL_FAST_ADC_GPT &GPTD6 #define EFI_SPI1_AF 5 diff --git a/firmware/config/stm32f4ems/mcuconf.h b/firmware/config/stm32f4ems/mcuconf.h index bc971dc229..1e710689b9 100644 --- a/firmware/config/stm32f4ems/mcuconf.h +++ b/firmware/config/stm32f4ems/mcuconf.h @@ -180,7 +180,7 @@ #define STM32_GPT_USE_TIM3 FALSE #define STM32_GPT_USE_TIM4 FALSE #define STM32_GPT_USE_TIM5 TRUE -#define STM32_GPT_USE_TIM6 FALSE +#define STM32_GPT_USE_TIM6 TRUE #define STM32_GPT_USE_TIM7 FALSE #define STM32_GPT_USE_TIM8 FALSE #define STM32_GPT_USE_TIM9 FALSE diff --git a/firmware/config/stm32f7ems/mcuconf.h b/firmware/config/stm32f7ems/mcuconf.h index 6fcb25519f..3cc3296ce3 100644 --- a/firmware/config/stm32f7ems/mcuconf.h +++ b/firmware/config/stm32f7ems/mcuconf.h @@ -201,7 +201,7 @@ #define STM32_GPT_USE_TIM3 FALSE #define STM32_GPT_USE_TIM4 FALSE #define STM32_GPT_USE_TIM5 TRUE -#define STM32_GPT_USE_TIM6 FALSE +#define STM32_GPT_USE_TIM6 TRUE #define STM32_GPT_USE_TIM7 FALSE #define STM32_GPT_USE_TIM8 FALSE #define STM32_GPT_USE_TIM9 FALSE