configs/: Rename all xyz_wifi.c files to stm32_cc3000.c.
This commit is contained in:
parent
3949ab38fd
commit
210ac0f77d
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/freedom-kl25z/include/kl_wifi.h
|
* configs/freedom-kl25z/include/kl_cc300.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Alan Carvalho de Assis
|
* Copyright (C) 2013 Alan Carvalho de Assis
|
||||||
* Author: Alan Carvalho de Assis <acassis@gmail.com>
|
* Author: Alan Carvalho de Assis <acassis@gmail.com>
|
||||||
@ -38,34 +38,36 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __CONFIGS_FREEDOM_KL25Z_INCLUDE_KL_CC3000_H
|
||||||
|
#define __CONFIGS_FREEDOM_KL25Z_INCLUDE_KL_CC3000_H 1
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Public Function Prototypes
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
long ReadWlanInterruptPin(void);
|
long ReadWlanInterruptPin(void);
|
||||||
|
|
||||||
/*
|
/* Enable WiFi Interrupt */
|
||||||
* Enable WiFi Interrupt
|
|
||||||
*/
|
|
||||||
|
|
||||||
void WlanInterruptEnable(void);
|
void WlanInterruptEnable(void);
|
||||||
|
|
||||||
/*
|
/* Disable WiFi Interrupt */
|
||||||
* Disable WiFi Interrupt
|
|
||||||
*/
|
|
||||||
void WlanInterruptDisable(void);
|
void WlanInterruptDisable(void);
|
||||||
|
|
||||||
/*
|
/* Enable/Disable WiFi */
|
||||||
* Enable/Disable WiFi
|
|
||||||
*/
|
|
||||||
void WriteWlanEnablePin(uint8_t val);
|
void WriteWlanEnablePin(uint8_t val);
|
||||||
|
|
||||||
/*
|
/* Assert CC3000 CS */
|
||||||
* Assert CC3000 CS
|
|
||||||
*/
|
|
||||||
void AssertWlanCS(void);
|
void AssertWlanCS(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -73,8 +75,9 @@ void AssertWlanCS(void);
|
|||||||
*/
|
*/
|
||||||
void DeassertWlanCS(void);
|
void DeassertWlanCS(void);
|
||||||
|
|
||||||
/*
|
/* Setup needed pins */
|
||||||
* Setup needed pins
|
|
||||||
*/
|
|
||||||
void Wlan_Setup(void);
|
void Wlan_Setup(void);
|
||||||
|
|
||||||
|
#endif /* __CONFIGS_FREEDOM_KL25Z_INCLUDE_KL_CC3000_H */
|
||||||
|
|
@ -43,7 +43,7 @@ CSRCS += kl_appinit.c
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_WL_CC3000),y)
|
ifeq ($(CONFIG_WL_CC3000),y)
|
||||||
CSRCS += kl_wifi.c
|
CSRCS += kl_cc3000.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_KL_TSI),y)
|
ifeq ($(CONFIG_KL_TSI),y)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/freedom-kl25z/src/kl_tsi.c
|
* configs/freedom-kl25z/src/kl_cc3000.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Alan Carvalho de Assis
|
* Copyright (C) 2014 Alan Carvalho de Assis
|
||||||
* Author: Alan Carvalho de Assis <acassis@gmail.com>
|
* Author: Alan Carvalho de Assis <acassis@gmail.com>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <arch/board/kl_wifi.h>
|
#include <arch/board/kl_cc3000.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
Loading…
Reference in New Issue
Block a user