configs/: Rename all xyz_wifi.c files to stm32_cc3000.c.

This commit is contained in:
Gregory Nutt 2017-03-24 17:30:58 -06:00
parent 3949ab38fd
commit 210ac0f77d
3 changed files with 22 additions and 19 deletions

View File

@ -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
* 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
****************************************************************************/
#include <stdio.h>
#include <stdint.h>
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
long ReadWlanInterruptPin(void);
/*
* Enable WiFi Interrupt
*/
/* Enable WiFi Interrupt */
void WlanInterruptEnable(void);
/*
* Disable WiFi Interrupt
*/
/* Disable WiFi Interrupt */
void WlanInterruptDisable(void);
/*
* Enable/Disable WiFi
*/
/* Enable/Disable WiFi */
void WriteWlanEnablePin(uint8_t val);
/*
* Assert CC3000 CS
*/
/* Assert CC3000 CS */
void AssertWlanCS(void);
/*
@ -73,8 +75,9 @@ void AssertWlanCS(void);
*/
void DeassertWlanCS(void);
/*
* Setup needed pins
*/
/* Setup needed pins */
void Wlan_Setup(void);
#endif /* __CONFIGS_FREEDOM_KL25Z_INCLUDE_KL_CC3000_H */

View File

@ -43,7 +43,7 @@ CSRCS += kl_appinit.c
endif
ifeq ($(CONFIG_WL_CC3000),y)
CSRCS += kl_wifi.c
CSRCS += kl_cc3000.c
endif
ifeq ($(CONFIG_KL_TSI),y)

View File

@ -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
* Author: Alan Carvalho de Assis <acassis@gmail.com>
@ -38,7 +38,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <arch/board/kl_wifi.h>
#include <arch/board/kl_cc3000.h>
#include <stdio.h>
#include <stdint.h>