cc3000 hello world demo

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed-src mbed-rtos

Fork of cc3000_hello_world_demo by Martin Kojtal

Files at this revision

API Documentation at this revision

Comitter:
vpcola
Date:
Thu Oct 16 13:22:12 2014 +0000
Parent:
7:cec88be19c15
Commit message:
Added SparkFun's CC3000 wifi sheild;

Changed in this revision

NVIC_set_all_priorities.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
diff -r cec88be19c15 -r 71a0638eaa90 NVIC_set_all_priorities.lib
--- a/NVIC_set_all_priorities.lib	Thu Oct 16 13:06:28 2014 +0000
+++ b/NVIC_set_all_priorities.lib	Thu Oct 16 13:22:12 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/frankvnk/code/NVIC_set_all_priorities/#676bbfffe9f6
+http://developer.mbed.org/users/vpcola/code/NVIC_set_all_priorities/#26b02cdbc092
diff -r cec88be19c15 -r 71a0638eaa90 main.cpp
--- a/main.cpp	Thu Oct 16 13:06:28 2014 +0000
+++ b/main.cpp	Thu Oct 16 13:22:12 2014 +0000
@@ -29,6 +29,9 @@
 #elif (MY_BOARD == MBED_BOARD_EXAMPLE)
 cc3000 wifi(p9, p10, p8, SPI(p5, p6, p7), "ssid", "key", WPA2, false);
 Serial pc(USBTX, USBRX);
+#elif (MY_BOARD == SPARK_FUN)
+cc3000 wifi(PA_10, PA_8, PB_6, SPI(PA_7, PA_6, PA_5), "ssid", "key", WPA2, false);
+Serial pc(USBTX, USBRX);
 #else
 
 #endif
diff -r cec88be19c15 -r 71a0638eaa90 main.h
--- a/main.h	Thu Oct 16 13:06:28 2014 +0000
+++ b/main.h	Thu Oct 16 13:22:12 2014 +0000
@@ -19,9 +19,10 @@
 #define WIGO               1
 #define WIFI_DIPCORTEX     2
 #define MBED_BOARD_EXAMPLE 3
-#define UNDEFINED          4
+#define SPARK_FUN          4
+#define UNDEFINED          5
 
-#define MY_BOARD WIGO
+#define MY_BOARD SPARK_FUN
 
 void init();
 
diff -r cec88be19c15 -r 71a0638eaa90 mbed-rtos.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-rtos.lib	Thu Oct 16 13:22:12 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-rtos/#aaa1b2c7c64c