summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-27 17:32:01 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-27 17:32:01 -0600
commitf29a691c031e9d277e6153eb29ecd3dedf90e950 (patch)
tree7aa68f2f50e3930b26cb49fda45d21dea5e1061f
parent3de897cd20b1e204a72bcd180934c67af359c884 (diff)
downloadnuttx-f29a691c031e9d277e6153eb29ecd3dedf90e950.tar.gz
nuttx-f29a691c031e9d277e6153eb29ecd3dedf90e950.tar.bz2
nuttx-f29a691c031e9d277e6153eb29ecd3dedf90e950.zip
configs/: Remove prototypes of board_led* functions from all board header files
-rw-r--r--nuttx/configs/arduino-due/src/arduino-due.h8
-rw-r--r--nuttx/configs/avr32dev1/src/avr32dev1_internal.h11
-rw-r--r--nuttx/configs/demo9s12ne64/src/demo9s12ne64.h11
-rw-r--r--nuttx/configs/eagle100/src/eagle100_internal.h14
-rw-r--r--nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h8
-rw-r--r--nuttx/configs/efm32gg-stk3700/src/efm32gg-stk3700.h8
-rw-r--r--nuttx/configs/kwikstik-k40/src/kwikstik-internal.h12
-rw-r--r--nuttx/configs/ne64badge/src/ne64badge_internal.h11
-rw-r--r--nuttx/configs/nucleo-f4x1re/src/nucleo-f4x1re.h12
-rw-r--r--nuttx/configs/olimex-lpc-h3131/src/lpc_h3131.h10
-rw-r--r--nuttx/configs/sam3u-ek/src/sam3u-ek.h8
-rw-r--r--nuttx/configs/sam4e-ek/src/sam4e-ek.h10
-rw-r--r--nuttx/configs/sam4l-xplained/src/sam4l-xplained.h8
-rw-r--r--nuttx/configs/sam4s-xplained-pro/src/sam4s-xplained-pro.h8
-rw-r--r--nuttx/configs/sam4s-xplained/src/sam4s-xplained.h8
-rw-r--r--nuttx/configs/sama5d3-xplained/src/sama5d3-xplained.h8
-rw-r--r--nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h8
-rw-r--r--nuttx/configs/sama5d4-ek/src/sama5d4-ek.h8
-rw-r--r--nuttx/configs/samd20-xplained/src/samd20-xplained.h8
-rw-r--r--nuttx/configs/spark/include/board.h6
-rw-r--r--nuttx/configs/twr-k60n512/src/twrk60-internal.h12
-rw-r--r--nuttx/configs/viewtool-stm32f107/src/viewtool_stm32f107.h10
22 files changed, 6 insertions, 201 deletions
diff --git a/nuttx/configs/arduino-due/src/arduino-due.h b/nuttx/configs/arduino-due/src/arduino-due.h
index 00fbbe352..b8217ea08 100644
--- a/nuttx/configs/arduino-due/src/arduino-due.h
+++ b/nuttx/configs/arduino-due/src/arduino-due.h
@@ -320,14 +320,6 @@
void sam_sram_initialize(void);
#endif
-/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
/****************************************************************************
* Name: sam_sdinitialize
*
diff --git a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
index 4c2ea9044..663b6fde4 100644
--- a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
+++ b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h
@@ -111,17 +111,6 @@
* Public Functions
************************************************************************************/
-/************************************************************************************
- * Name: board_led_initializeialize
- *
- * Description:
- * Configure on-board LEDs if LED support has been selected.
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initializeialize(void);
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H */
diff --git a/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
index e27f8d62d..48368d0cd 100644
--- a/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
+++ b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h
@@ -63,17 +63,6 @@
/************************************************************************************
* Public Functions
************************************************************************************/
-/************************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Configure and initialize on-board LEDs
- *
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-#endif
/************************************************************************************
* Name: hcs12_spiinitialize
diff --git a/nuttx/configs/eagle100/src/eagle100_internal.h b/nuttx/configs/eagle100/src/eagle100_internal.h
index b1a1b29a5..20239f1e0 100644
--- a/nuttx/configs/eagle100/src/eagle100_internal.h
+++ b/nuttx/configs/eagle100/src/eagle100_internal.h
@@ -48,7 +48,7 @@
#include "tiva_gpio.h"
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* How many SSI modules does this chip support? The LM3S6918 supports 2 SSI
@@ -87,18 +87,6 @@
void weak_function lm_ssiinitialize(void);
-/****************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Initialize on-board LEDs.
- *
- ****************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */
diff --git a/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h b/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h
index da5bda332..8ef8a53b6 100644
--- a/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h
+++ b/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h
@@ -91,12 +91,4 @@
* Public Function Prototypes
****************************************************************************/
-/****************************************************************************
- * Name: board_led_initialize
- ****************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __CONFIGS_EFM32_G8XX_STK_SRC_EFM32_G8XX_STK_H */
diff --git a/nuttx/configs/efm32gg-stk3700/src/efm32gg-stk3700.h b/nuttx/configs/efm32gg-stk3700/src/efm32gg-stk3700.h
index 724dc7b15..ffe20358a 100644
--- a/nuttx/configs/efm32gg-stk3700/src/efm32gg-stk3700.h
+++ b/nuttx/configs/efm32gg-stk3700/src/efm32gg-stk3700.h
@@ -89,12 +89,4 @@
* Public Function Prototypes
****************************************************************************/
-/****************************************************************************
- * Name: board_led_initialize
- ****************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __CONFIGS_EFM32GG_STK3700_SRC_EFM32GG_STK3700_H */
diff --git a/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h b/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
index 0a97471af..7f6f48e64 100644
--- a/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
+++ b/nuttx/configs/kwikstik-k40/src/kwikstik-internal.h
@@ -159,18 +159,6 @@
************************************************************************************/
/************************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Initialize LED GPIOs so that LEDs can be controlled.
- *
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: kinetis_spiinitialize
*
* Description:
diff --git a/nuttx/configs/ne64badge/src/ne64badge_internal.h b/nuttx/configs/ne64badge/src/ne64badge_internal.h
index a6e3fba3a..02d64f2c1 100644
--- a/nuttx/configs/ne64badge/src/ne64badge_internal.h
+++ b/nuttx/configs/ne64badge/src/ne64badge_internal.h
@@ -177,17 +177,6 @@
/************************************************************************************
* Public Functions
************************************************************************************/
-/************************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Configure and initialize on-board LEDs
- *
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-#endif
/************************************************************************************
* Name: hcs12_spiinitialize
diff --git a/nuttx/configs/nucleo-f4x1re/src/nucleo-f4x1re.h b/nuttx/configs/nucleo-f4x1re/src/nucleo-f4x1re.h
index 3a92a8763..8c4b561f6 100644
--- a/nuttx/configs/nucleo-f4x1re/src/nucleo-f4x1re.h
+++ b/nuttx/configs/nucleo-f4x1re/src/nucleo-f4x1re.h
@@ -307,18 +307,6 @@ void stm32_spiinitialize(void);
void stm32_usbinitialize(void);
-/****************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Initialize LED GPIO outputs
- *
- ****************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
/************************************************************************************
* Name: board_adc_initialize
*
diff --git a/nuttx/configs/olimex-lpc-h3131/src/lpc_h3131.h b/nuttx/configs/olimex-lpc-h3131/src/lpc_h3131.h
index d7e2951a7..176240d8c 100644
--- a/nuttx/configs/olimex-lpc-h3131/src/lpc_h3131.h
+++ b/nuttx/configs/olimex-lpc-h3131/src/lpc_h3131.h
@@ -205,16 +205,6 @@ int lpc31_usbhost_initialize(void);
int lpc31_mmcsd_initialize(int slot, int minor)
#endif
-/****************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Configure LEDs. LEDs are left in the OFF state.
- *
- ****************************************************************************/
-
-void board_led_initialize(void);
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_OLIMEX_LPC_H3131_SRC_LPC_H3131_H */
diff --git a/nuttx/configs/sam3u-ek/src/sam3u-ek.h b/nuttx/configs/sam3u-ek/src/sam3u-ek.h
index de9c37a13..65a43ca23 100644
--- a/nuttx/configs/sam3u-ek/src/sam3u-ek.h
+++ b/nuttx/configs/sam3u-ek/src/sam3u-ek.h
@@ -236,14 +236,6 @@ int weak_function sam_hsmciinit(void);
#endif
/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: sam_cardinserted
*
* Description:
diff --git a/nuttx/configs/sam4e-ek/src/sam4e-ek.h b/nuttx/configs/sam4e-ek/src/sam4e-ek.h
index ff642b9fc..94a88d0f0 100644
--- a/nuttx/configs/sam4e-ek/src/sam4e-ek.h
+++ b/nuttx/configs/sam4e-ek/src/sam4e-ek.h
@@ -459,15 +459,5 @@ int sam_at25_automount(int minor);
# define sam_at25_automount(minor) (-ENOSYS)
#endif
-/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#else
-# define board_led_initialize()
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4E_EK_SRC_SAM4E_EK_H */
diff --git a/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h b/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h
index 69ed68e2f..72c66be60 100644
--- a/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h
+++ b/nuttx/configs/sam4l-xplained/src/sam4l-xplained.h
@@ -358,14 +358,6 @@ int sam_sdinitialize(int minor);
int sam_slcd_initialize(void);
#endif
-/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4L_XPLAINED_SRC_SAM4L_XPLAINED_H */
diff --git a/nuttx/configs/sam4s-xplained-pro/src/sam4s-xplained-pro.h b/nuttx/configs/sam4s-xplained-pro/src/sam4s-xplained-pro.h
index d3bc98b7a..9cd4a9ab6 100644
--- a/nuttx/configs/sam4s-xplained-pro/src/sam4s-xplained-pro.h
+++ b/nuttx/configs/sam4s-xplained-pro/src/sam4s-xplained-pro.h
@@ -176,14 +176,6 @@
************************************************************************************/
/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: sam_hsmci_initialize
*
* Description:
diff --git a/nuttx/configs/sam4s-xplained/src/sam4s-xplained.h b/nuttx/configs/sam4s-xplained/src/sam4s-xplained.h
index 422cc5a11..9e96a8907 100644
--- a/nuttx/configs/sam4s-xplained/src/sam4s-xplained.h
+++ b/nuttx/configs/sam4s-xplained/src/sam4s-xplained.h
@@ -135,14 +135,6 @@
void sam_sram_initialize(void);
#endif
-/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAM4S_XPLAINED_SRC_SAM4S_XPLAINED_H */
diff --git a/nuttx/configs/sama5d3-xplained/src/sama5d3-xplained.h b/nuttx/configs/sama5d3-xplained/src/sama5d3-xplained.h
index f33b1ba11..dbf1f5cfb 100644
--- a/nuttx/configs/sama5d3-xplained/src/sama5d3-xplained.h
+++ b/nuttx/configs/sama5d3-xplained/src/sama5d3-xplained.h
@@ -734,14 +734,6 @@ void weak_function sam_netinitialize(void);
#endif
/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: nsh_archinitialize
*
* Description:
diff --git a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h
index 697dd3a84..fdacf9cf2 100644
--- a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h
+++ b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h
@@ -844,14 +844,6 @@ int sam_wm8904_initialize(int minor);
#endif /* HAVE_WM8904 */
/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: nsh_archinitialize
*
* Description:
diff --git a/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h b/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
index 57f287552..45160cbf1 100644
--- a/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
+++ b/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
@@ -1069,14 +1069,6 @@ void weak_function sam_netinitialize(void);
#endif
/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: nsh_archinitialize
*
* Description:
diff --git a/nuttx/configs/samd20-xplained/src/samd20-xplained.h b/nuttx/configs/samd20-xplained/src/samd20-xplained.h
index b64459eac..74f944529 100644
--- a/nuttx/configs/samd20-xplained/src/samd20-xplained.h
+++ b/nuttx/configs/samd20-xplained/src/samd20-xplained.h
@@ -259,14 +259,6 @@ void weak_function sam_spiinitialize(void);
int sam_sdinitialize(int port, int minor);
#endif
-/************************************************************************************
- * Name: board_led_initialize
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-void board_led_initialize(void);
-#endif
-
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_SAMD20_XPLAINED_SRC_SAMD20_XPLAINED_H */
diff --git a/nuttx/configs/spark/include/board.h b/nuttx/configs/spark/include/board.h
index 9a7363cb7..a753766bd 100644
--- a/nuttx/configs/spark/include/board.h
+++ b/nuttx/configs/spark/include/board.h
@@ -43,15 +43,19 @@
************************************************************************************/
#include <nuttx/config.h>
+
#ifndef __ASSEMBLY__
# include <stdint.h>
#endif
+
+#include <nuttx/board.h>
+
#include "stm32_rcc.h"
#include "stm32_sdio.h"
#include "stm32.h"
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Clocking *************************************************************************/
diff --git a/nuttx/configs/twr-k60n512/src/twrk60-internal.h b/nuttx/configs/twr-k60n512/src/twrk60-internal.h
index 2f654a435..b87468a3f 100644
--- a/nuttx/configs/twr-k60n512/src/twrk60-internal.h
+++ b/nuttx/configs/twr-k60n512/src/twrk60-internal.h
@@ -273,18 +273,6 @@
************************************************************************************/
/************************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Initialize LED GPIOs so that LEDs can be controlled.
- *
- ************************************************************************************/
-
-#ifdef CONFIG_ARCH_LEDS
-extern void board_led_initialize(void);
-#endif
-
-/************************************************************************************
* Name: kinetis_spiinitialize
*
* Description:
diff --git a/nuttx/configs/viewtool-stm32f107/src/viewtool_stm32f107.h b/nuttx/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
index cb1ad37fd..bd984ab1d 100644
--- a/nuttx/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
+++ b/nuttx/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
@@ -326,16 +326,6 @@ void weak_function stm32_usbdev_initialize(void);
int stm32_sdinitialize(int minor);
/************************************************************************************
- * Name: board_led_initialize
- *
- * Description:
- * Configure LEDs. LEDs are left in the OFF state.
- *
- ************************************************************************************/
-
-void stm32_ledinit(void);
-
-/************************************************************************************
* Name: stm32_mpl115ainitialize
*
* Description: