more on MRE BT drama part 2

This commit is contained in:
rusefillc 2022-07-18 02:15:31 -04:00
parent 76bc3b39fb
commit 15f2725282
2 changed files with 12 additions and 0 deletions

View File

@ -26,6 +26,9 @@ DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::B10 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::B
DDEFS += -DSTM32_UART_USE_USART3=FALSE -DHAL_USE_UART=FALSE
DDEFS += -DEFI_USE_UART_DMA=FALSE -DTS_NO_PRIMARY=TRUE
# maybe a way to disable SPI2 privately
#DDEFS += -DSTM32_SPI_USE_SPI2=FALSE
DDEFS += -DEFI_CAN_SERIAL=TRUE
DDEFS += -DEFI_CJ125=FALSE -DBOARD_L9779_COUNT=0 -DEFI_HD44780_LCD=FALSE -DEFI_LCD=FALSE

View File

@ -262,9 +262,18 @@
/*
* SPI driver system settings.
*/
#ifndef STM32_SPI_USE_SPI1
#define STM32_SPI_USE_SPI1 TRUE
#endif
#ifndef STM32_SPI_USE_SPI2
#define STM32_SPI_USE_SPI2 TRUE
#endif
#ifndef STM32_SPI_USE_SPI3
#define STM32_SPI_USE_SPI3 TRUE
#endif
#define STM32_SPI_USE_SPI4 FALSE
#define STM32_SPI_USE_SPI5 FALSE
#define STM32_SPI_USE_SPI6 FALSE