mirror of https://github.com/rusefi/ChibiOS.git
SPIv2 is not the default.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15032 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
3c64c1246d
commit
129429b7c3
|
@ -29,6 +29,11 @@
|
|||
/* Driver constants. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/**
|
||||
* @brief Requires use of SPIv2 driver model.
|
||||
*/
|
||||
#define HAL_LLD_SELECT_SPI_V2 TRUE
|
||||
|
||||
/**
|
||||
* @brief Specifies implementation of dynamic clock management.
|
||||
*/
|
||||
|
|
|
@ -59,7 +59,7 @@ ifneq ($(findstring HAL_USE_SIO TRUE,$(HALCONF)),)
|
|||
PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_sio_lld.c
|
||||
endif
|
||||
ifneq ($(findstring HAL_USE_SPI TRUE,$(HALCONF)),)
|
||||
PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_spi_lld.c
|
||||
PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_spi_v2_lld.c
|
||||
endif
|
||||
ifneq ($(findstring HAL_USE_TRNG TRUE,$(HALCONF)),)
|
||||
PLATFORMSRC += ${CHIBIOS}/os/hal/templates/hal_trng_lld.c
|
||||
|
@ -94,7 +94,7 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \
|
|||
${CHIBIOS}/os/hal/templates/hal_sdc_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_serial_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_sio_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_spi_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_spi_v2_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_st_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_trng_lld.c \
|
||||
${CHIBIOS}/os/hal/templates/hal_uart_lld.c \
|
||||
|
|
Loading…
Reference in New Issue