SD card example for Wio cellular targets - Seeed Wio 3G and Wio LTE-M1/NB1(BG96)

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Wed Feb 13 02:08:25 2019 +0000
Parent:
0:5e920a8fb894
Commit message:
Add error macro

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
sd-driver.lib Show diff for this revision Revisions of this file
diff -r 5e920a8fb894 -r bda3045adb2f main.cpp
--- a/main.cpp	Tue Feb 12 08:04:50 2019 +0000
+++ b/main.cpp	Wed Feb 13 02:08:25 2019 +0000
@@ -9,6 +9,8 @@
 
 #if defined(TARGET_WIO_3G) || defined(TARGET_WIO_BG96) 
 DigitalOut SD_POWER(PA_15, 1);
+#else
+#error This example only supports the Seeed Wio 3G or Wio LTE M1/NB1(BG96)
 #endif
 
 SDBlockDevice sd(MBED_CONF_SD_SPI_MOSI, 
diff -r 5e920a8fb894 -r bda3045adb2f sd-driver.lib
--- a/sd-driver.lib	Tue Feb 12 08:04:50 2019 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://github.com/ARMmbed/sd-driver/#c8ae38fb291e086232566b0f1372cfb69c277e84