Fixed Bug #1086
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13555 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
a9694e53c1
commit
76eaffb4d5
|
@ -77,6 +77,8 @@
|
|||
- FIX: Sector count incorrect in STM32G07/8 EFL driver (bug #1085).
|
||||
- FIX: Sector size incorrect in STM32F413 EFL driver (bug #1084).
|
||||
- NEW: Added dynamic reconfiguration API to lwIP bindings.
|
||||
- FIX: Fixed wrong arguments for the cacheBufferInvalidate in the STM32 SPI
|
||||
demo (bug #1086).
|
||||
- FIX: Fixed race condition in HAL MAC driver (bug #1083).
|
||||
- FIX: Fixed early interrupts enable in ARMv7-M port (bug #1081).
|
||||
- FIX: Fixed I2CD4 interrupt vectors are swapped versus I2CD1-I2CD3 (bug #1080).
|
||||
|
|
|
@ -73,8 +73,8 @@ static THD_FUNCTION(spi_thread_1, p) {
|
|||
spiExchange(&PORTAB_SPI1, 1,
|
||||
txbuf, rxbuf); /* Atomic transfer operations. */
|
||||
spiUnselect(&PORTAB_SPI1); /* Slave Select de-assertion. */
|
||||
cacheBufferInvalidate(&txbuf[0], /* Cache invalidation over the */
|
||||
sizeof txbuf);/* buffer. */
|
||||
cacheBufferInvalidate(&rxbuf[0], /* Cache invalidation over the */
|
||||
sizeof rxbuf);/* buffer. */
|
||||
spiReleaseBus(&PORTAB_SPI1); /* Ownership release. */
|
||||
}
|
||||
}
|
||||
|
@ -101,8 +101,8 @@ static THD_FUNCTION(spi_thread_2, p) {
|
|||
spiExchange(&PORTAB_SPI1, 1,
|
||||
txbuf, rxbuf); /* Atomic transfer operations. */
|
||||
spiUnselect(&PORTAB_SPI1); /* Slave Select de-assertion. */
|
||||
cacheBufferInvalidate(&txbuf[0], /* Cache invalidation over the */
|
||||
sizeof txbuf);/* buffer. */
|
||||
cacheBufferInvalidate(&rxbuf[0], /* Cache invalidation over the */
|
||||
sizeof rxbuf);/* buffer. */
|
||||
spiReleaseBus(&PORTAB_SPI1); /* Ownership release. */
|
||||
}
|
||||
}
|
||||
|
@ -166,8 +166,8 @@ int main(void) {
|
|||
spiExchange(&PORTAB_SPI1, 512,
|
||||
txbuf, rxbuf); /* Atomic transfer operations. */
|
||||
spiUnselect(&PORTAB_SPI1); /* Slave Select de-assertion. */
|
||||
cacheBufferInvalidate(&txbuf[0], /* Cache invalidation over the */
|
||||
sizeof txbuf);/* buffer. */
|
||||
cacheBufferInvalidate(&rxbuf[0], /* Cache invalidation over the */
|
||||
sizeof rxbuf);/* buffer. */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue