configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions

This commit is contained in:
Gregory Nutt
2015-02-27 18:49:24 -06:00
parent d80455bbce
commit f75184b5ac
144 changed files with 421 additions and 320 deletions
+4 -4
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/cloudctrl/src/up_autoleds.c
* arch/arm/src/board/up_autoleds.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Darcy Gong <darcy.gong@gmail.com>
*
@@ -45,8 +44,9 @@
#include <stdbool.h>
#include <debug.h>
#include <arch/board/board.h>
#include <nuttx/board.h>
#include <nuttx/power/pm.h>
#include <arch/board/board.h>
#include "chip.h"
#include "up_arch.h"
@@ -55,7 +55,7 @@
#include "cloudctrl-internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+4 -4
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/cloudctrl/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Darcy Gong <darcy.gong@gmail.com>
*
@@ -43,13 +42,14 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "cloudctrl-internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
@@ -65,7 +65,7 @@
*
* Description:
* All STM32 architectures must provide the following entry point. This entry point
* is called early in the intitialization -- after all memory has been configured
* is called early in the initialization -- after all memory has been configured
* and mapped but before any devices have been initialized.
*
************************************************************************************/