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
+3 -2
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/lpc4357-evb/src/lpc43_autoleds.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
@@ -43,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -54,7 +55,7 @@
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* LED definitions **********************************************************/
/* The LPC4357-EVB has one user-controllable LED labelled D6 controlled by
+3 -2
View File
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/lpc4357-evb/src/lpc43_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
@@ -41,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -49,7 +50,7 @@
#include "lpc4357-evb.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -131,14 +131,14 @@ void lpc43_ledinit(void)
{
/* Configure LED pin as a GPIO outputs */
led_dumppins("board_led_initialize() Entry)");
led_dumppins("lpc43_ledinit() Entry)");
/* Configure LED pin as a GPIO, then configure GPIO as an outputs */
lpc43_pin_config(PINCONFIG_LED);
lpc43_gpio_config(GPIO_LED);
led_dumppins("board_led_initialize() Exit");
led_dumppins("lpc43_ledinit() Exit");
}
/****************************************************************************