1
0
Fork 0

Enable wear leveling spi flash eeprom for feather f405

This commit is contained in:
Drashna Jael're 2024-11-12 19:21:20 -08:00
parent 8e0560e4d3
commit e0173028ec
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
4 changed files with 37 additions and 0 deletions

View file

@ -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