.

Revision:
29:d28cf713107b
Parent:
27:a1b682cc912b
--- a/.travis.yml	Thu Jan 17 13:15:29 2019 +0000
+++ b/.travis.yml	Wed Feb 13 18:36:35 2019 +0000
@@ -55,10 +55,10 @@
   # Check that example compiles with littlefs + spif
   - mbed compile -t GCC_ARM -m K82F -j0
 
-  # Check that example compiles with fatfs + sd
-  - sed -i 's/SPIFBlockDevice bd/SDBlockDevice bd/g' main.cpp
-  - sed -i 's/MBED_CONF_SPIF_DRIVER/MBED_CONF_SD/g' main.cpp
-  - sed -i 's/LittleFileSystem fs/FATFileSystem fs/g' main.cpp
+  # Check that example compiles with fatfs + HeapBlockDevice
+  - sed -i 's/BlockDevice.h/HeapBlockDevice.h/g' main.cpp
+  - sed -i 's/BlockDevice::get_default_instance()/new HeapBlockDevice(2048, 1, 1, 512)/g' main.cpp
+  - sed -i 's/LittleFileSystem/FATFileSystem/g' main.cpp
   - mbed compile -t GCC_ARM -m K64F -j0