Enable wear leveling spi flash eeprom for feather f405
This commit is contained in:
parent
8e0560e4d3
commit
e0173028ec
4 changed files with 37 additions and 0 deletions
|
@ -20,3 +20,15 @@
|
|||
|
||||
#undef STM32_I2C_USE_I2C1
|
||||
#define STM32_I2C_USE_I2C1 TRUE
|
||||
|
||||
|
||||
#if HAL_USE_SPI == TRUE
|
||||
# undef STM32_SPI_USE_SPI1
|
||||
# define STM32_SPI_USE_SPI1 TRUE
|
||||
|
||||
# undef STM32_SPI_SPI1_TX_DMA_STREAM
|
||||
# define STM32_SPI_SPI1_TX_DMA_STREAM STM32_DMA_STREAM_ID(2, 5)
|
||||
# undef STM32_SPI_SPI1_RX_DMA_STREAM
|
||||
# define STM32_SPI_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(2, 0)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue