mirror of https://github.com/rusefi/rusefi-1.git
would this give me h72 SD?
This commit is contained in:
parent
8e997a3369
commit
c836f766af
|
@ -25,6 +25,7 @@ DDEFS += -DLED_WARNING_BRAIN_PIN_MODE=INVERTED_OUTPUT
|
||||||
DDEFS += -DLED_COMMUNICATION_BRAIN_PIN_MODE=INVERTED_OUTPUT
|
DDEFS += -DLED_COMMUNICATION_BRAIN_PIN_MODE=INVERTED_OUTPUT
|
||||||
|
|
||||||
DDEFS += -DSTM32_UART_USE_USART3=FALSE
|
DDEFS += -DSTM32_UART_USE_USART3=FALSE
|
||||||
|
DDEFS += -DPRIMARY_UART_DMA_MODE=FALSE
|
||||||
|
|
||||||
# Add them all together
|
# Add them all together
|
||||||
DDEFS += -DEFI_USE_OSC=TRUE -DFIRMWARE_ID=\"hellen72\" $(DEFAULT_ENGINE_TYPE) $(LED_CRITICAL_ERROR_BRAIN_PIN) $(LED_COMMUNICATION_BRAIN_PIN)
|
DDEFS += -DEFI_USE_OSC=TRUE -DFIRMWARE_ID=\"hellen72\" $(DEFAULT_ENGINE_TYPE) $(LED_CRITICAL_ERROR_BRAIN_PIN) $(LED_COMMUNICATION_BRAIN_PIN)
|
||||||
|
|
|
@ -357,7 +357,9 @@
|
||||||
* STM32_UART_USE_USARTx
|
* STM32_UART_USE_USARTx
|
||||||
* in mcuconf.h
|
* in mcuconf.h
|
||||||
*/
|
*/
|
||||||
|
#ifndef TS_UART_DMA_MODE
|
||||||
#define TS_UART_DMA_MODE FALSE
|
#define TS_UART_DMA_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PRIMARY_UART_DMA_MODE
|
#ifndef PRIMARY_UART_DMA_MODE
|
||||||
#define PRIMARY_UART_DMA_MODE TRUE
|
#define PRIMARY_UART_DMA_MODE TRUE
|
||||||
|
|
|
@ -254,16 +254,25 @@
|
||||||
/*
|
/*
|
||||||
* UART driver system settings.
|
* UART driver system settings.
|
||||||
*/
|
*/
|
||||||
|
#ifndef STM32_UART_USE_USART1
|
||||||
#define STM32_UART_USE_USART1 FALSE
|
#define STM32_UART_USE_USART1 FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STM32_UART_USE_USART2 FALSE
|
#define STM32_UART_USE_USART2 FALSE
|
||||||
|
|
||||||
#ifndef STM32_UART_USE_USART3
|
#ifndef STM32_UART_USE_USART3
|
||||||
#define STM32_UART_USE_USART3 TRUE
|
#define STM32_UART_USE_USART3 TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define STM32_UART_USE_UART4 FALSE
|
#define STM32_UART_USE_UART4 FALSE
|
||||||
#define STM32_UART_USE_UART5 FALSE
|
#define STM32_UART_USE_UART5 FALSE
|
||||||
#define STM32_UART_USE_USART6 FALSE
|
#define STM32_UART_USE_USART6 FALSE
|
||||||
#define STM32_UART_USE_UART7 FALSE
|
#define STM32_UART_USE_UART7 FALSE
|
||||||
|
|
||||||
|
#ifndef STM32_UART_USE_UART8
|
||||||
#define STM32_UART_USE_UART8 FALSE
|
#define STM32_UART_USE_UART8 FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 5)
|
#define STM32_UART_USART1_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 5)
|
||||||
#define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
|
#define STM32_UART_USART1_TX_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
|
||||||
#define STM32_UART_USART2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
|
#define STM32_UART_USART2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
|
||||||
|
|
Loading…
Reference in New Issue