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 00a4b1f6d6
commit 42327117a3
144 changed files with 421 additions and 320 deletions
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/sam4s-xplained-pro/src/sam_autoleds.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Copyright (C) 2014, 2015 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Bob Doiron
*
@@ -44,6 +44,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -53,7 +54,7 @@
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* If CONFIG_ARCH_LEDs is defined, then NuttX will control the LED on
* board the SAM4S Xplained Pro. The following definitions describe how NuttX
+4 -2
View File
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/sam4s-xplained-pro/src/sam_boot.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -40,9 +40,11 @@
#include <nuttx/config.h>
#include <debug.h>
#include <nuttx/watchdog.h>
#include <nuttx/board.h>
#include <nuttx/watchdog.h>
#include <arch/board/board.h>
#include "sam4s-xplained-pro.h"
/************************************************************************************