Some restructing of the CC3000 build
This commit is contained in:
parent
d7c9fda519
commit
b4134efe66
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
# Sub-directories
|
# Sub-directories
|
||||||
|
|
||||||
SUBDIRS = adc buttons can cdcacm composite cxxtest dhcpd discover elf
|
SUBDIRS = adc buttons can cc3000 cdcacm composite cxxtest dhcpd discover elf
|
||||||
SUBDIRS += flash_test ftpc ftpd hello helloxx hidkbd igmp json keypadtest
|
SUBDIRS += flash_test ftpc ftpd hello helloxx hidkbd igmp json keypadtest
|
||||||
SUBDIRS += lcdrw mm modbus mount mtdpart nettest nrf24l01_term nsh null
|
SUBDIRS += lcdrw mm modbus mount mtdpart nettest nrf24l01_term nsh null
|
||||||
SUBDIRS += nx nxconsole nxffs nxflat nxhello nximage nxlines nxtext ostest
|
SUBDIRS += nx nxconsole nxffs nxflat nxhello nximage nxlines nxtext ostest
|
||||||
@ -53,9 +53,9 @@ SUBDIRS += wget wgetjson xmlrpc
|
|||||||
CNTXTDIRS = pwm
|
CNTXTDIRS = pwm
|
||||||
|
|
||||||
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
||||||
CNTXTDIRS += adc can cdcacm composite cxxtest dhcpd discover flash_test ftpd
|
CNTXTDIRS += adc can cc3000 cdcacm composite cxxtest dhcpd discover flash_test
|
||||||
CNTXTDIRS += hello helloxx json keypadtestmodbus lcdrw mtdpart nettest nx
|
CNTXTDIRS += ftpd hello helloxx json keypadtestmodbus lcdrw mtdpart nettest
|
||||||
CNTXTDIRS += nxhello nximage nxlines nxtext nrf24l01_term ostest relays
|
CNTXTDIRS += nx nxhello nximage nxlines nxtext nrf24l01_term ostest relays
|
||||||
CNTXTDIRS += qencoder slcd smart_test tcpecho telnetd tiff touchscreen
|
CNTXTDIRS += qencoder slcd smart_test tcpecho telnetd tiff touchscreen
|
||||||
CNTXTDIRS += usbstorage usbterm watchdog wgetjson
|
CNTXTDIRS += usbstorage usbterm watchdog wgetjson
|
||||||
endif
|
endif
|
||||||
|
@ -126,6 +126,11 @@ examples/can
|
|||||||
CONFIG_EXAMPLES_CAN_READONLY - Only receive messages
|
CONFIG_EXAMPLES_CAN_READONLY - Only receive messages
|
||||||
CONFIG_EXAMPLES_CAN_WRITEONLY - Only send messages
|
CONFIG_EXAMPLES_CAN_WRITEONLY - Only send messages
|
||||||
|
|
||||||
|
examples/cc3000
|
||||||
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
This is a test for the TI CC3000 wireless networking module.
|
||||||
|
|
||||||
examples/cdcacm
|
examples/cdcacm
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <nuttx/cc3000/wlan.h>
|
#include <nuttx/wireless/cc3000/wlan.h>
|
||||||
#include <nuttx/cc3000/hci.h>
|
#include <nuttx/wireless/cc3000/hci.h>
|
||||||
#include <nuttx/cc3000/spi.h>
|
#include <nuttx/wireless/cc3000/spi.h>
|
||||||
#include <arch/board/kl_wifi.h>
|
#include <arch/board/kl_wifi.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,12 +94,12 @@ Arduino pin -----> 560 Ohm --+--> 1K Ohm -----> GND
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <nuttx/cc3000/nvmem.h>
|
#include <nuttx/wireless/cc3000/nvmem.h>
|
||||||
#include <nuttx/cc3000/socket.h>
|
#include <nuttx/wireless/cc3000/socket.h>
|
||||||
#include <nuttx/cc3000/wlan.h>
|
#include <nuttx/wireless/cc3000/wlan.h>
|
||||||
#include <nuttx/cc3000/hci.h>
|
#include <nuttx/wireless/cc3000/hci.h>
|
||||||
#include <nuttx/cc3000/security.h>
|
#include <nuttx/wireless/cc3000/security.h>
|
||||||
#include <nuttx/cc3000/netapp.h>
|
#include <nuttx/wireless/cc3000/netapp.h>
|
||||||
|
|
||||||
void Initialize(void);
|
void Initialize(void);
|
||||||
void helpme(void);
|
void helpme(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user