Changes to remove some warning sduring compilation for ZKit-arm-1769 Board.
This commit is contained in:
parent
dc9c0eacf2
commit
4265a279f9
@ -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
|
||||
|
@ -55,6 +55,7 @@
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "zkitarm_internal.h"
|
||||
#include "lpc17_dac.h"
|
||||
|
||||
#ifdef CONFIG_DAC
|
||||
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -53,6 +53,9 @@
|
||||
#include <nuttx/spi.h>
|
||||
#include <nuttx/mmcsd.h>
|
||||
|
||||
#include "lpc17_spi.h"
|
||||
#include "zkitarm_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
****************************************************************************/
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user