diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 13:15:32 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 13:15:32 +0200 |
commit | c239e3577d53cb64869165b2e5b97f659df0d44b (patch) | |
tree | c90617a7b344f1d5eb6a209a0f2f581d618d00ad /nuttx/configs/mikroe-stm32f4/src | |
parent | 51dfcaa2147d375b9a66c50fd8db8c6f5e6133e4 (diff) | |
download | px4-nuttx-c239e3577d53cb64869165b2e5b97f659df0d44b.tar.gz px4-nuttx-c239e3577d53cb64869165b2e5b97f659df0d44b.tar.bz2 px4-nuttx-c239e3577d53cb64869165b2e5b97f659df0d44b.zip |
KConfig fixes for STM32F4 (fixes flash prefetch never being enabled, added two NSH options to KConfig)
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/src')
-rw-r--r-- | nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c b/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c index 9618cf8dd..3c55bd950 100644 --- a/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c +++ b/nuttx/configs/mikroe-stm32f4/src/up_clockconfig.c @@ -128,7 +128,7 @@ void stm32_board_clockconfig(void) /* Enable FLASH prefetch, instruction cache, data cache, and 5 wait states */ -#ifdef STM32_FLASH_PREFETCH +#ifdef CONFIG_STM32_FLASH_PREFETCH regval = (FLASH_ACR_LATENCY_5 | FLASH_ACR_ICEN | FLASH_ACR_DCEN | FLASH_ACR_PRFTEN); #else regval = (FLASH_ACR_LATENCY_5 | FLASH_ACR_ICEN | FLASH_ACR_DCEN); |