STM32F4Discovery: Should not include STM32 internal files when building for application

This commit is contained in:
pnb 2015-09-19 07:56:50 -06:00 committed by Gregory Nutt
parent 4fd4a3b383
commit 508a55f6be

View File

@ -43,12 +43,15 @@
#include <nuttx/config.h>
#ifndef __ASSEMBLY__
# include <stdint.h>
# include <stdint.h>
# include <stdbool.h>
#endif
#include "stm32_rcc.h"
#include "stm32_sdio.h"
#include "stm32.h"
#ifdef __KERNEL__
# include "stm32_rcc.h"
# include "stm32_sdio.h"
# include "stm32.h"
#endif
/************************************************************************************
* Pre-processor Definitions