ublox-cellular-driver-gen Fork

Fork of ublox-cellular-driver-gen by u-blox

Revision:
6:804d544f8d8c
Parent:
5:b935404dcf7c
Child:
7:a9eea2dbdd68
diff -r b935404dcf7c -r 804d544f8d8c TESTS/unit_tests/file-system/main.cpp
--- a/TESTS/unit_tests/file-system/main.cpp	Thu Jun 15 01:14:18 2017 +0100
+++ b/TESTS/unit_tests/file-system/main.cpp	Thu Jun 15 07:19:40 2017 +0100
@@ -44,7 +44,19 @@
 
 // The size of file to use.
 #ifndef MBED_CONF_APP_FILE_SIZE
-# define MBED_CONF_APP_FILE_SIZE 1500
+# ifdef TARGET_UBLOX_C027
+// C027 doesn't have so much RAM.
+// TODO: it should be possible to use, say 1200
+// here but it seems that the Sara-G350 module
+// needs flow control so that it can slow
+// things down while flash writees complete
+// and UARTSerial doesn't yet support HW
+// flow control.  Come back to this once
+// UARTSerial has HW flow control.
+#  define MBED_CONF_APP_FILE_SIZE 1500
+# else
+#  define MBED_CONF_APP_FILE_SIZE 42000
+# endif
 #endif
 
 // The name of the file to use.