git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15565 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
b2db683929
commit
47360e49ec
|
@ -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) {
|
if ((cmdp->cfg & WSPI_CFG_ADDR_MODE_MASK) != WSPI_CFG_ADDR_MODE_NONE) {
|
||||||
wspip->ospi->AR = cmdp->addr;
|
wspip->ospi->AR = cmdp->addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Waiting for the previous operation to complete.*/
|
|
||||||
wspi_lld_sync(wspip);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -490,8 +490,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_WSPI_USE_OCTOSPI1 TRUE
|
#define STM32_WSPI_USE_OCTOSPI1 TRUE
|
||||||
#define STM32_WSPI_USE_OCTOSPI2 TRUE
|
#define STM32_WSPI_USE_OCTOSPI2 TRUE
|
||||||
#define STM32_WSPI_OCTOSPI1_PRESCALER_VALUE 4
|
#define STM32_WSPI_OCTOSPI1_PRESCALER_VALUE 2
|
||||||
#define STM32_WSPI_OCTOSPI2_PRESCALER_VALUE 4
|
#define STM32_WSPI_OCTOSPI2_PRESCALER_VALUE 2
|
||||||
#define STM32_WSPI_OCTOSPI1_MDMA_CHANNEL STM32_MDMA_CHANNEL_ID_ANY
|
#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_OCTOSPI2_MDMA_CHANNEL STM32_MDMA_CHANNEL_ID_ANY
|
||||||
#define STM32_WSPI_OCTOSPI1_MDMA_PRIORITY 1
|
#define STM32_WSPI_OCTOSPI1_MDMA_PRIORITY 1
|
||||||
|
|
Loading…
Reference in New Issue