Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of cc3100_Test_Demo by
Diff: main.cpp
- Revision:
- 8:bb9cccbe84d7
- Parent:
- 7:0687d16b9781
diff -r 0687d16b9781 -r bb9cccbe84d7 main.cpp
--- a/main.cpp Thu Sep 03 13:43:50 2015 +0000
+++ b/main.cpp Sat Jul 22 05:04:14 2017 +0000
@@ -72,11 +72,12 @@
#elif (THIS_BOARD == ST_MBED_NUCLEOF103)
cc3100 _cc3100(PA_9, PC_7, PB_6, SPI(PA_7, PA_6, PA_5));//nucleoF103 irq, nHib, cs, mosi, miso, sck
Serial pc(SERIAL_TX, SERIAL_RX);
-#elif (THIS_BOARD == Seeed_Arch_Max)
-cc3100 _cc3100(PD_12, PD_13, PD_11, SPI(PB_5, PB_4, PB_3));//Seeed_Arch_Max irq, nHib, cs, mosi, miso, sck
+#elif (THIS_BOARD == K64F)
+cc3100 _cc3100(PTC4, PTC3, PTD0, SPI(PTD2, PTD3, PTD1));//Seeed_Arch_Max irq, nHib, cs, mosi, miso, sck
Serial pc(USBTX, USBRX);
#else
+
#endif
#define APPLICATION_VERSION "1.2.0"
@@ -84,6 +85,7 @@
/*
* GLOBAL VARIABLES -- Start
*/
+ //ap 1 STATION 0
int32_t demo = 0;
/*
@@ -115,6 +117,7 @@
int32_t retVal = -1;
retVal = _cc3100.initializeAppVariables();
+
ASSERT_ON_ERROR(retVal);
displayBanner();
