Changes to remove some warning sduring compilation for ZKit-arm-1769 Board.

This commit is contained in:
Gregory Nutt 2013-05-02 06:28:59 -06:00
parent dc9c0eacf2
commit 4265a279f9
6 changed files with 21 additions and 4 deletions

View File

@ -54,7 +54,7 @@
#include "chip.h"
#include "up_arch.h"
#include "lpc17_pwm.h"
#include "lpc17_adc.h"
#include "zkitarm_internal.h"
#ifdef CONFIG_ADC

View File

@ -55,6 +55,7 @@
#include "up_internal.h"
#include "zkitarm_internal.h"
#include "lpc17_dac.h"
#ifdef CONFIG_DAC

View File

@ -53,11 +53,13 @@
#include <nuttx/spi.h>
#include <nuttx/lcd/lcd.h>
#include <nuttx/lcd/st7567.h>
#include <nuttx/arch.h>
#include "up_arch.h"
#include "up_internal.h"
#include "lpc17_gpio.h"
#include "lpc17_ssp.h"
#include "zkitarm_internal.h"
#ifdef CONFIG_NX_LCDDRIVER

View File

@ -51,6 +51,7 @@
#include <nuttx/spi.h>
#include <nuttx/mmcsd.h>
#include "lpc17_spi.h"
/****************************************************************************
* Pre-Processor Definitions
@ -148,7 +149,7 @@ int nsh_archinitialize(void)
/* Get the SSP port */
ssp = lpc17_sspinitialize(CONFIG_NSH_MMCSDSPIPORTNO);
ssp = lpc17_spiinitialize(CONFIG_NSH_MMCSDSPIPORTNO);
if (!ssp)
{
message("nsh_archinitialize: Failed to initialize SSP port %d\n",

View File

@ -53,6 +53,9 @@
#include <nuttx/spi.h>
#include <nuttx/mmcsd.h>
#include "lpc17_spi.h"
#include "zkitarm_internal.h"
/****************************************************************************
* Pre-Processor Definitions
****************************************************************************/

View File

@ -145,7 +145,7 @@
#define ZKITARM_KEY4 (GPIO_INPUT | GPIO_FLOAT | GPIO_PORT1 | GPIO_PIN31)
#define ZKITARM_KEY5 (GPIO_INPUT | GPIO_FLOAT | GPIO_PORT2 | GPIO_PIN13)
#define ZKITARM_INT_KEY5 (GPIO_INTBOTH | GPIO_FLOAT | GPIO_PORT2 | GPIO_PIN13)
#define ZKITARM_INT_KEY5 (GPIO_INTFE | GPIO_FLOAT | GPIO_PORT2 | GPIO_PIN13)
#define ZKITARM_KEY5_IRQ LPC17_IRQ_P2p13
/* SD Slot
@ -234,11 +234,21 @@
* Name: zkit_sspinitialize
*
* Description:
* Called to configure SPI chip select GPIO pins for the LPCXpresso board.
* Called to configure SSP chip select GPIO pins for the ZKit-ARM-1769 board.
*
************************************************************************************/
void weak_function zkit_sspinitialize(void);
/************************************************************************************
* Name: zkit_spinitialize
*
* Description:
* Called to configure SPI chip select GPIO pins for the ZKit-ARM-1769 board.
*
************************************************************************************/
void weak_function zkit_spiinitialize(void);
#endif /* __ASSEMBLY__ */
#endif /* _CONFIGS_ZKITARM_LPC1768_SRC_ZKITARM_INTERNAL_H */