Some restructing of the CC3000 build
This commit is contained in:
parent
47462f8238
commit
8108a81172
@ -409,3 +409,28 @@ Where <subdir> is one of the following:
|
|||||||
|
|
||||||
There is probably enough free memroy to support 3 or 4 application
|
There is probably enough free memroy to support 3 or 4 application
|
||||||
threads in addition to NSH.
|
threads in addition to NSH.
|
||||||
|
|
||||||
|
5. This configurations has support for NSH built-in applications. However,
|
||||||
|
in the default configuration no built-in applications are enabled.
|
||||||
|
|
||||||
|
6. This configuration has been used to verify the TI CC3000 wireless
|
||||||
|
networking module. In order to enable this module, you would need to
|
||||||
|
make the following changes to the default configuration files:
|
||||||
|
|
||||||
|
System Type -> Kinetis peripheral support
|
||||||
|
CONFIG_KL_SPI0=y : Enable SPI
|
||||||
|
CONFIG_KL_SPI1=y
|
||||||
|
|
||||||
|
Drivers -> SPI
|
||||||
|
CONFIG_SPI=y : Enable SPI
|
||||||
|
CONFIG_SPI_EXCHANGE=y
|
||||||
|
|
||||||
|
Drivers -> Wireless
|
||||||
|
CONFIG_WIRELESS=y : Enable wireless support
|
||||||
|
CONFIG_WL_CC3000=y : Build the CC3000 driver
|
||||||
|
|
||||||
|
Applications -> Examples
|
||||||
|
CONFIG_EXAMPLES_CC3000BASIC=y : CC3000 test example
|
||||||
|
|
||||||
|
Applications -> NSH Library
|
||||||
|
CONFIG_NSH_ARCHINIT=y : Build in CC3000 initialization logic
|
||||||
|
@ -16,7 +16,7 @@ CONFIG_HOST_LINUX=y
|
|||||||
#
|
#
|
||||||
# Build Configuration
|
# Build Configuration
|
||||||
#
|
#
|
||||||
CONFIG_APPS_DIR="../apps"
|
# CONFIG_APPS_DIR="../apps"
|
||||||
# CONFIG_BUILD_2PASS is not set
|
# CONFIG_BUILD_2PASS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -84,6 +84,7 @@ CONFIG_ARCH_CORTEXM0=y
|
|||||||
# CONFIG_ARCH_CORTEXM3 is not set
|
# CONFIG_ARCH_CORTEXM3 is not set
|
||||||
# CONFIG_ARCH_CORTEXM4 is not set
|
# CONFIG_ARCH_CORTEXM4 is not set
|
||||||
# CONFIG_ARCH_CORTEXA5 is not set
|
# CONFIG_ARCH_CORTEXA5 is not set
|
||||||
|
# CONFIG_ARCH_CORTEXA8 is not set
|
||||||
CONFIG_ARCH_FAMILY="armv6-m"
|
CONFIG_ARCH_FAMILY="armv6-m"
|
||||||
CONFIG_ARCH_CHIP="kl"
|
CONFIG_ARCH_CHIP="kl"
|
||||||
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||||
@ -94,10 +95,10 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||||||
#
|
#
|
||||||
# ARMV6M Configuration Options
|
# ARMV6M Configuration Options
|
||||||
#
|
#
|
||||||
# CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT is not set
|
CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT=y
|
||||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
# CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL is not set
|
||||||
# CONFIG_GPIO_IRQ is not set
|
# CONFIG_GPIO_IRQ is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -116,8 +117,8 @@ CONFIG_KL_UART0=y
|
|||||||
# CONFIG_KL_UART2 is not set
|
# CONFIG_KL_UART2 is not set
|
||||||
# CONFIG_KL_FLEXCAN0 is not set
|
# CONFIG_KL_FLEXCAN0 is not set
|
||||||
# CONFIG_KL_FLEXCAN1 is not set
|
# CONFIG_KL_FLEXCAN1 is not set
|
||||||
CONFIG_KL_SPI0=y
|
# CONFIG_KL_SPI0 is not set
|
||||||
CONFIG_KL_SPI1=y
|
# CONFIG_KL_SPI1 is not set
|
||||||
# CONFIG_KL_SPI2 is not set
|
# CONFIG_KL_SPI2 is not set
|
||||||
# CONFIG_KL_I2C0 is not set
|
# CONFIG_KL_I2C0 is not set
|
||||||
# CONFIG_KL_I2C1 is not set
|
# CONFIG_KL_I2C1 is not set
|
||||||
@ -281,11 +282,7 @@ CONFIG_DEV_NULL=y
|
|||||||
# CONFIG_CAN is not set
|
# CONFIG_CAN is not set
|
||||||
# CONFIG_PWM is not set
|
# CONFIG_PWM is not set
|
||||||
# CONFIG_I2C is not set
|
# CONFIG_I2C is not set
|
||||||
CONFIG_SPI=y
|
# CONFIG_SPI is not set
|
||||||
# CONFIG_SPI_OWNBUS is not set
|
|
||||||
CONFIG_SPI_EXCHANGE=y
|
|
||||||
# CONFIG_SPI_CMDDATA is not set
|
|
||||||
# CONFIG_SPI_BITBANG is not set
|
|
||||||
# CONFIG_RTC is not set
|
# CONFIG_RTC is not set
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
# CONFIG_ANALOG is not set
|
# CONFIG_ANALOG is not set
|
||||||
@ -327,10 +324,7 @@ CONFIG_UART0_2STOP=0
|
|||||||
# CONFIG_SERIAL_OFLOWCONTROL is not set
|
# CONFIG_SERIAL_OFLOWCONTROL is not set
|
||||||
# CONFIG_USBDEV is not set
|
# CONFIG_USBDEV is not set
|
||||||
# CONFIG_USBHOST is not set
|
# CONFIG_USBHOST is not set
|
||||||
CONFIG_WIRELESS=y
|
# CONFIG_WIRELESS is not set
|
||||||
# CONFIG_WL_CC1101 is not set
|
|
||||||
CONFIG_WL_CC3000=y
|
|
||||||
# CONFIG_WL_NRF24L01 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# System Logging Device Options
|
# System Logging Device Options
|
||||||
@ -446,7 +440,7 @@ CONFIG_BUILTIN_PROXY_STACKSIZE=1024
|
|||||||
#
|
#
|
||||||
# CONFIG_EXAMPLES_BUTTONS is not set
|
# CONFIG_EXAMPLES_BUTTONS is not set
|
||||||
# CONFIG_EXAMPLES_CAN is not set
|
# CONFIG_EXAMPLES_CAN is not set
|
||||||
CONFIG_EXAMPLES_CC3000BASIC=y
|
# CONFIG_EXAMPLES_CC3000BASIC is not set
|
||||||
# CONFIG_EXAMPLES_COMPOSITE is not set
|
# CONFIG_EXAMPLES_COMPOSITE is not set
|
||||||
# CONFIG_EXAMPLES_DHCPD is not set
|
# CONFIG_EXAMPLES_DHCPD is not set
|
||||||
# CONFIG_EXAMPLES_ELF is not set
|
# CONFIG_EXAMPLES_ELF is not set
|
||||||
@ -601,7 +595,7 @@ CONFIG_NSH_CONSOLE=y
|
|||||||
# USB Trace Support
|
# USB Trace Support
|
||||||
#
|
#
|
||||||
# CONFIG_NSH_CONDEV is not set
|
# CONFIG_NSH_CONDEV is not set
|
||||||
CONFIG_NSH_ARCHINIT=y
|
# CONFIG_NSH_ARCHINIT is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# NxWidgets/NxWM
|
# NxWidgets/NxWM
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#include <nuttx/arch.h>
|
#include <nuttx/arch.h>
|
||||||
#include <nuttx/fs/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
|
|
||||||
#include <nuttx/cc3000/spi.h>
|
#include <nuttx/wireless/cc3000/spi.h>
|
||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "kl_gpio.h"
|
#include "kl_gpio.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user