![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Sparkfun CC3000 WiFi Shield meets mbed. Supports the following boards: (1)FRDM-KL25Z (KL25Z) (2)ST Nucleo F401RE (STM32F401) (3)ST Nucleo F030R8 (STM32F030) (4)LPCXpresso1549 (LPC1549) (5)Seeduino-Arch-Pro (ARCH_PRO) (6)FRDM-K64F(K64F)
Dependencies: cc3000_hostdriver_mbedsocket mbed
Fork of Sparkfun_CC3000_WiFi_hello_world_demo by
Diff: main.cpp
- Revision:
- 8:ccc96bfaee23
- Parent:
- 7:e450e59b0cf8
--- a/main.cpp Sun Aug 31 02:52:45 2014 +0000 +++ b/main.cpp Wed Sep 03 12:59:55 2014 +0000 @@ -8,12 +8,16 @@ (3)ST Nucleo F030R8 (STM32F030) (4)LPCXpresso1549 (LPC1549) (5)Seeduino-Arch-Pro (ARCH_PRO) + (6)FRDM-K64F (K64F) reference: https://www.sparkfun.com/products/12071 for CC300 Shield - date: 2014/8/31 - modified by: xshige + date: 2014/9/3 + added supporting K64F by: xshige + + date: 2014/8/31 + modified by: xshige #you get sucess when you see the following on the console. cc3000 Hello World demo. @@ -42,10 +46,11 @@ // define board you like (KL25Z, LPC1549, STM32F401, STM32F030 ...) //#define KL25Z -#define STM32F401 +//#define STM32F401 //#define STM32F030 //#define LPC1549 //#define ARCH_PRO +#define K64F // define SSID, PASSWORD you like #define SSID "ssid" @@ -81,6 +86,11 @@ cc3000 wifi(P0_4, P2_5, P0_6, SPI(P0_9, P0_8, P0_7), SSID, PASSWORD, WPA2, false); Serial pc(USBTX, USBRX); #endif +#if defined(K64F) +// for FRDM-K64F +cc3000 wifi(PTB9, PTC3, PTD0, SPI(PTD2, PTD3, PTD1), SSID, PASSWORD, WPA2, false); +Serial pc(USBTX, USBRX); +#endif /**