UART DMA for "primary" connector #1528
This commit is contained in:
parent
63e936a5e8
commit
38c3f119b1
|
@ -1,3 +1,7 @@
|
|||
#
|
||||
# TODO: is this file used at all?
|
||||
#
|
||||
|
||||
# Added if USE_BOOTLOADER=yes in Makefile
|
||||
BOOTLOADERSRC= $(PROJECT_DIR)/bootloader/bootloader_storage.c
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ DDEFS += -DHAL_USE_ADC=FALSE -DHAL_USE_CAN=FALSE -DHAL_USE_EXT=FALSE -DHAL_USE_G
|
|||
#disable ChibiOS flsah driver and prevent header from include
|
||||
DDEFS += -DHAL_USE_FLASH=FALSE
|
||||
|
||||
DDEFS += -DPRIMARY_UART_DMA_MODE=FALSE
|
||||
|
||||
# disable USB (The bootloader has currently UART support only)
|
||||
DDEFS += -DEFI_USB_SERIAL=FALSE -DHAL_USE_SERIAL_USB=FALSE -DHAL_USE_USB=FALSE -DHAL_USE_USB_MSD=FALSE
|
||||
# disable CAN
|
||||
|
|
|
@ -346,7 +346,10 @@
|
|||
* in mcuconf.h
|
||||
*/
|
||||
#define TS_UART_DMA_MODE FALSE
|
||||
|
||||
#ifndef PRIMARY_UART_DMA_MODE
|
||||
#define PRIMARY_UART_DMA_MODE TRUE
|
||||
#endif
|
||||
|
||||
//#define TS_UART_DEVICE (&UARTD3)
|
||||
//#define TS_SERIAL_DEVICE (&SD3)
|
||||
|
|
Loading…
Reference in New Issue