Eliminate warnings
This commit is contained in:
parent
7cf823fa97
commit
37111e6b2c
@ -7,12 +7,12 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
#include <arch/board/cc3200_utils.h>
|
||||
#include <chip/cc3200_memorymap.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "cc3200_launchpad.h"
|
||||
#include "cc3200_utils.h"
|
||||
|
||||
#define LED1_GPIO 9
|
||||
#define LED2_GPIO 10
|
||||
@ -153,4 +153,4 @@ void cc3200_ledoff(int led)
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -43,8 +43,6 @@
|
||||
#include "nuttx/arch.h"
|
||||
#include "up_arch.h"
|
||||
|
||||
#include "cc3200_utils.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Private Data
|
||||
************************************************************************************/
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/kinetis/chip.h>
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -147,7 +147,7 @@ struct stm32f4_dev_s
|
||||
static void stm32_select(FAR struct mio283qt2_lcd_s *dev);
|
||||
static void stm32_deselect(FAR struct mio283qt2_lcd_s *dev);
|
||||
static void stm32_index(FAR struct mio283qt2_lcd_s *dev, uint8_t index);
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
static uint16_t stm32_read(FAR struct mio283qt2_lcd_s *dev);
|
||||
#endif
|
||||
static void stm32_write(FAR struct mio283qt2_lcd_s *dev, uint16_t data);
|
||||
@ -165,7 +165,7 @@ static struct stm32f4_dev_s g_stm32f4_lcd =
|
||||
.select = stm32_select,
|
||||
.deselect = stm32_deselect,
|
||||
.index = stm32_index,
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
.read = stm32_read,
|
||||
#endif
|
||||
.write = stm32_write,
|
||||
@ -308,7 +308,7 @@ static void stm32_index(FAR struct mio283qt2_lcd_s *dev, uint8_t index)
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
static uint16_t stm32_read(FAR struct mio283qt2_lcd_s *dev)
|
||||
{
|
||||
FAR struct stm32f4_dev_s *priv = (FAR struct stm32f4_dev_s *)dev;
|
||||
|
@ -148,7 +148,7 @@ struct stm32f4_dev_s
|
||||
static void stm32_select(FAR struct mio283qt9a_lcd_s *dev);
|
||||
static void stm32_deselect(FAR struct mio283qt9a_lcd_s *dev);
|
||||
static void stm32_index(FAR struct mio283qt9a_lcd_s *dev, uint8_t index);
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
static uint16_t stm32_read(FAR struct mio283qt9a_lcd_s *dev);
|
||||
#endif
|
||||
static void stm32_write(FAR struct mio283qt9a_lcd_s *dev, uint16_t data);
|
||||
@ -166,7 +166,7 @@ static struct stm32f4_dev_s g_stm32f4_lcd =
|
||||
.select = stm32_select,
|
||||
.deselect = stm32_deselect,
|
||||
.index = stm32_index,
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
.read = stm32_read,
|
||||
#endif
|
||||
.write = stm32_write,
|
||||
@ -309,7 +309,7 @@ static void stm32_index(FAR struct mio283qt9a_lcd_s *dev, uint8_t index)
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && CONFIG_LCD_NOGETRUN != 1
|
||||
#if !defined(CONFIG_MIO283QT2_WRONLY) && !defined(CONFIG_LCD_NOGETRUN)
|
||||
static uint16_t stm32_read(FAR struct mio283qt9a_lcd_s *dev)
|
||||
{
|
||||
FAR struct stm32f4_dev_s *priv = (FAR struct stm32f4_dev_s *)dev;
|
||||
|
@ -412,6 +412,9 @@ CONFIG_ARCH_HAVE_RAMVECTORS=y
|
||||
#
|
||||
CONFIG_BOARD_LOOPSPERMSEC=5483
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
CONFIG_LIB_BOARDCTL=y
|
||||
CONFIG_BOARDCTL_CANINIT=y
|
||||
|
||||
|
||||
#
|
||||
# Interrupt options
|
||||
|
@ -602,6 +602,7 @@ CONFIG_NET_ICMP=y
|
||||
# CONFIG_NET_IGMP is not set
|
||||
# CONFIG_NET_STATISTICS is not set
|
||||
CONFIG_NET_ETH_TCP_RECVWNDO=536
|
||||
CONFIG_NET_ARP=y
|
||||
CONFIG_NET_ARPTAB_SIZE=16
|
||||
# CONFIG_NET_ARP_IPIN is not set
|
||||
|
||||
|
@ -295,6 +295,7 @@
|
||||
# define BOARD_LTDC_HEIGHT 320
|
||||
#endif
|
||||
|
||||
#define BOARD_LTDC_OUTPUT_BPP 16
|
||||
#define BOARD_LTDC_HFP 10
|
||||
#define BOARD_LTDC_HBP 20
|
||||
#define BOARD_LTDC_VFP 4
|
||||
|
@ -88,7 +88,7 @@
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_RTC_ALARM)
|
||||
#if 0 /* Not used */
|
||||
static void up_alarmcb(void);
|
||||
#endif
|
||||
|
||||
@ -107,9 +107,6 @@ static void up_alarmcb(void);
|
||||
#ifdef CONFIG_PM
|
||||
static void stm32_idlepm(void)
|
||||
{
|
||||
#ifdef CONFIG_RTC_ALARM
|
||||
struct timespec alarmtime;
|
||||
#endif
|
||||
static enum pm_state_e oldstate = PM_NORMAL;
|
||||
enum pm_state_e newstate;
|
||||
irqstate_t flags;
|
||||
@ -229,7 +226,7 @@ errout:
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_RTC_ALARM)
|
||||
#if 0 /* Not used */
|
||||
static void up_alarmcb(void)
|
||||
{
|
||||
/* This alarm occurs because there wasn't any EXTI interrupt during the
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/kinetis/chip.h>
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/compiler.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/kinetis/chip.h>
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
Loading…
Reference in New Issue
Block a user