mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
boards/arm/stm32/stm32f429i-disco: Clean up problems after removing forbidden header files from board.h header file.
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* DO NOT include STM32 internal header files here */
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|||||||
@@ -55,10 +55,13 @@
|
|||||||
#include <nuttx/irq.h>
|
#include <nuttx/irq.h>
|
||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/spi/spi.h>
|
#include <nuttx/spi/spi.h>
|
||||||
#include <arch/board/board.h>
|
|
||||||
|
|
||||||
|
#include "stm32_rcc.h"
|
||||||
|
#include "stm32_spi.h"
|
||||||
#include "stm32f429i-disco.h"
|
#include "stm32f429i-disco.h"
|
||||||
|
|
||||||
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -39,21 +39,24 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include <nuttx/timers/pwm.h>
|
#include <nuttx/timers/pwm.h>
|
||||||
#include <arch/board/board.h>
|
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "stm32_pwm.h"
|
#include "stm32_pwm.h"
|
||||||
#include "stm32f429i-disco.h"
|
#include "stm32f429i-disco.h"
|
||||||
|
|
||||||
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/* Configuration *******************************************************************/
|
|
||||||
|
/* Configuration ************************************************************/
|
||||||
|
|
||||||
/* PWM Timer */
|
/* PWM Timer */
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/stm32/stm32f429i-disco/src/stm32f429i-disco.h
|
* boards/arm/stm32/stm32f429i-disco/src/stm32f429i-disco.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012, 2018 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011-2012, 2018-2019 Gregory Nutt. All rights reserved.
|
||||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||||
* Marco Krahl <ocram.lhark@gmail.com>
|
* Marco Krahl <ocram.lhark@gmail.com>
|
||||||
*
|
*
|
||||||
@@ -51,6 +51,8 @@
|
|||||||
|
|
||||||
#include <arch/stm32/chip.h>
|
#include <arch/stm32/chip.h>
|
||||||
|
|
||||||
|
#include "stm32_gpio.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user