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
+2 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/arduino-due/src/sam_autoleds.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 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"
+3 -1
View File
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/arduino-due/src/sam_boot.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 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,8 @@
#include <debug.h>
#include <nuttx/board.h>
#include "arduino-due.h"
/************************************************************************************
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/avr32dev1/src/up_boot.c
* arch/avr/src/board/up_boot.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -51,7 +51,7 @@
#include "avr32dev1_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+4 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/avr32dev1/src/up_leds.c
* arch/avr/src/board/up_leds.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -40,13 +39,15 @@
#include <nuttx/config.h>
#include <nuttx/board.h>
#include "at32uc3_internal.h"
#include "avr32dev1_internal.h"
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/****************************************************************************
+5 -2
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* up_leds.c
* configs/c4371evm/src/up_leds.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,10 @@
****************************************************************************/
#include <nuttx/config.h>
#include <stdint.h>
#include <nuttx/board.h>
#include "up_internal.h"
/****************************************************************************
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/cc3200/src/cc3200_autoleds.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Jim Ewing <jim@droidifi.com>
*
@@ -39,6 +39,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/board.h>
#include "cc3200_launchpad.h"
+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.
*
************************************************************************************/
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/demo9s12ne64/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,12 +41,13 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "demo9s12ne64.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/demo9s12ne64/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "demo9s12ne64.h"
+2 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/dk-tm4c129x/src/tm4c_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
@@ -41,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "tiva_gpio.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/ea3131/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2009,2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -50,7 +50,7 @@
#include "ea3131_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
-5
View File
@@ -437,8 +437,3 @@ const struct lpc31_clkinit_s g_boardclks =
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: board_led_initialize
****************************************************************************/
+3 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/ea3131/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2009-2010, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -52,7 +52,7 @@
#include "lpc31_internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/ea3152/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -50,7 +50,7 @@
#include "ea3152_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
-5
View File
@@ -437,8 +437,3 @@ const struct lpc31_clkinit_s g_boardclks =
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: board_led_initialize
****************************************************************************/
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/ea3152/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/eagle100/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2009-2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,13 +41,14 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "eagle100_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/eagle100/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2009-2010, 2013, 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 +42,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+2 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/efm32-g8xx-stk/src/efm32_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"
+1 -1
View File
@@ -43,8 +43,8 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include <nuttx/power/pm.h>
#include "chip.h"
#include "up_arch.h"
+2 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/efm32gg-stk3700/include/efm32_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
@@ -81,6 +81,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "efm32_gpio.h"
+2 -1
View File
@@ -1,7 +1,7 @@
/*****************************************************************************
* configs/efm32gg-stk3700/src/efm32_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
@@ -38,6 +38,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/board.h>
#include "efm32_gpio.h"
#include "efm32_start.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/ekk-lm3s9b96/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.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Jose Pablo Rojas V. <jrojas@nx-engineering.com>
*
@@ -43,6 +42,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -50,7 +50,7 @@
#include "ekklm3s9b96_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+3 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lm3s6965-ek/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Jose Pablo Rojas V. <jrojas@nx-engineering.com>
*
@@ -44,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -53,7 +53,7 @@
#include "ekklm3s9b96_internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+3 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/ez80f910200kitg/src/ez80_leds.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2008-2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,9 @@
#include <nuttx/config.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_internal.h"
/****************************************************************************
+3 -1
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/ez80f910200zco/src/ez80_leds.c
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2008-2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,7 +41,9 @@
#include <stdint.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "ez80f910200zco.h"
#include "up_internal.h"
+4 -4
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/fire-stm32v2/src/up_autoleds.c
* arch/arm/src/board/up_autoleds.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,8 +43,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"
@@ -54,7 +54,7 @@
#include "fire-internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/fire-stm32v2/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,13 +41,14 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "fire-internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/freedom-kl25z/src/kl_led.c
* arch/arm/src/board/kl_led.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -69,6 +68,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+1
View File
@@ -68,6 +68,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/hymini-stm32v/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Laurent Latil <laurent@latil.nom.fr>
*
@@ -43,13 +42,14 @@
#include <nuttx/spi/spi.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "hymini_stm32v-internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/hymini-stm32v/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Laurent Latil <laurent@latil.nom.fr>
*
@@ -45,6 +44,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/kwikstik-k40/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,13 +41,14 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "kwikstik-internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+4 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/kwikstik-k40/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,8 +41,10 @@
#include <debug.h>
#include <nuttx/board.h>
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lincoln60/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>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -50,7 +50,7 @@
#include "lincoln60_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lincoln60/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lm3s6432-s2e/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -51,7 +51,7 @@
#include "lm3s6432s2e_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
#if defined(CONFIG_TIVA_UART1) && defined(CONFIG_TIVA_SSI0)
+3 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lm3s6432-s2e/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2013, 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 +42,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -52,7 +52,7 @@
#include "lm3s6432s2e_internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+2 -2
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lm3s6965-ek/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lm3s6965-ek/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2013, 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 +42,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -52,7 +52,7 @@
#include "lm3s6965ek_internal.h"
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lm3s8962-ek/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -49,7 +49,7 @@
#include "lm3s8962ek_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
+2 -2
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lm3s8962-ek/src/up_leds.c
* arch/arm/src/board/up_leds.c
*
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2010, 2013, 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 +42,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lm4f120-launchpad/src/lm4f_leds.c
* arch/arm/src/board/lm4f_leds.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 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 +42,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
+3 -3
View File
@@ -1,8 +1,7 @@
/****************************************************************************
* configs/lpc4330-xplorer/src/up_autoleds.c
* arch/arm/src/board/up_autoleds.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +43,7 @@
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
@@ -55,7 +55,7 @@
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* LED definitions **********************************************************/
/* The LPC4330-Xplorer has 2 user-controllable LEDs labeled D2 an D3 in the
+2 -2
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lpc4330-xplorer/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>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
+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");
}
/****************************************************************************
+3 -3
View File
@@ -1,8 +1,7 @@
/************************************************************************************
* configs/lpcxpresso-lpc1768/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,6 +41,7 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -51,7 +51,7 @@
#include "lpcxpresso_internal.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************

Some files were not shown because too many files have changed in this diff Show More