do not enforce CONFIG_STM32_CCMEXCLUDE for CONFIG_ARCH_CHIP_STM32F7, macro rename STM32 -> STM32F7, #include corrections

This commit is contained in:
Titus von Boxberg 2017-07-17 15:43:18 +02:00
parent 1826c1165a
commit d590ba7ab2

View File

@ -58,11 +58,12 @@
#include "up_arch.h"
#include "up_internal.h"
#include "stm32.h"
// #include "stm32.h"
#include "chip/stm32_ltdc.h"
#include "chip/stm32_dma2d.h"
#include "chip/stm32_ccm.h"
#include "stm32_dma2d.h"
#include "stm32_gpio.h"
/****************************************************************************
* Pre-processor Definitions
@ -155,7 +156,7 @@
/* check ccm heap allocation */
#ifndef CONFIG_STM32_CCMEXCLUDE
#if !defined(CONFIG_STM32_CCMEXCLUDE) && !defined(CONFIG_ARCH_CHIP_STM32F7)
# error "Enable CONFIG_STM32_CCMEXCLUDE from the heap allocation"
#endif