git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15565 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2022-03-28 14:16:18 +00:00
parent b2db683929
commit 47360e49ec
2 changed files with 2 additions and 5 deletions

View File

@ -223,9 +223,6 @@ void wspi_lld_command(WSPIDriver *wspip, const wspi_command_t *cmdp) {
if ((cmdp->cfg & WSPI_CFG_ADDR_MODE_MASK) != WSPI_CFG_ADDR_MODE_NONE) {
wspip->ospi->AR = cmdp->addr;
}
/* Waiting for the previous operation to complete.*/
wspi_lld_sync(wspip);
}
/**

View File

@ -490,8 +490,8 @@
*/
#define STM32_WSPI_USE_OCTOSPI1 TRUE
#define STM32_WSPI_USE_OCTOSPI2 TRUE
#define STM32_WSPI_OCTOSPI1_PRESCALER_VALUE 4
#define STM32_WSPI_OCTOSPI2_PRESCALER_VALUE 4
#define STM32_WSPI_OCTOSPI1_PRESCALER_VALUE 2
#define STM32_WSPI_OCTOSPI2_PRESCALER_VALUE 2
#define STM32_WSPI_OCTOSPI1_MDMA_CHANNEL STM32_MDMA_CHANNEL_ID_ANY
#define STM32_WSPI_OCTOSPI2_MDMA_CHANNEL STM32_MDMA_CHANNEL_ID_ANY
#define STM32_WSPI_OCTOSPI1_MDMA_PRIORITY 1