STM32F7: Some STM32F7 builds failed in build testing due to undefined STM32_SRAM1_BASE. I think that is because stm32_allocateheap.c was not including chip/stm32_memorymap.h

This commit is contained in:
Gregory Nutt 2017-08-13 06:50:48 -06:00
parent 03c26df04a
commit 2ab8852b29
2 changed files with 3 additions and 1 deletions

View File

@ -56,6 +56,8 @@
#include "mpu.h" #include "mpu.h"
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
#include "chip/stm32_memorymap.h"
#include "stm32_mpuinit.h" #include "stm32_mpuinit.h"
#include "stm32_dtcm.h" #include "stm32_dtcm.h"

View File

@ -61,7 +61,7 @@
#define HSE_DIVISOR (STM32_HSE_FREQUENCY + 500000) / 1000000 #define HSE_DIVISOR (STM32_HSE_FREQUENCY + 500000) / 1000000
/* If CONFIG_STM32F7_DSIHOST is defined in the board configuration, then /* If CONFIG_STM32F7_DSIHOST is defined in the board configuration, then
* STM32_RCC_DCKCFGR2_DSISRC must also be defined to selected the clock * STM32_RCC_DCKCFGR2_DSISRC must also be defined to selecte the clock
* source. * source.
*/ */