diff options
author | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:18:36 +0100 |
---|---|---|
committer | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:20:46 +0100 |
commit | 6c3554ef8152e48e9ef668cfa321f7c7e01f5361 (patch) | |
tree | 94ad8aa3db171599f77c7b1369cd47edf005e727 /testhal/STM32/STM32F4xx/FSMC_NAND | |
parent | 6ca20973e2889ce228b41c47231a5339d8e95970 (diff) | |
download | ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.tar.gz ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.tar.bz2 ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.zip |
testhal: stm32: update to latest ChibiOS API
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND')
-rw-r--r-- | testhal/STM32/STM32F4xx/FSMC_NAND/chconf.h | 2 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm_spi.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/chconf.h b/testhal/STM32/STM32F4xx/FSMC_NAND/chconf.h index 53bd676..1843208 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/chconf.h +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/chconf.h @@ -153,7 +153,7 @@ *
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_TM FALSE
+#define CH_CFG_USE_TM TRUE
/**
* @brief Threads registry APIs.
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm_spi.c b/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm_spi.c index 3c60484..7f02c11 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm_spi.c +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/dma_storm_spi.c @@ -49,6 +49,7 @@ static const uint8_t testbuf_flash[SPI_BUF_SIZE]; * */ static const SPIConfig spicfg = { + false, spi_end_cb, GPIOA, GPIOA_SPI1_NSS, |