File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ void test_read_write() {
111
111
// Write, sync, and read the block
112
112
printf (" test %0*llx:%llu...\n " , addrwidth, block, block_size);
113
113
114
- err = sd.erase (block, block_size);
114
+ err = sd.trim (block, block_size);
115
115
TEST_ASSERT_EQUAL (0 , err);
116
116
117
117
err = sd.program (write_block, block, block_size);
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ using namespace utest::v1;
90
90
* },
91
91
* <<< lines removed >>>
92
92
*/
93
- #if defined(DEVICE_SPI) && defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED)
93
+ #if defined(DEVICE_SPI) && ( defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED) || (MBED_CONF_SD_FSFAT_SDCARD_INSTALLED) )
94
94
95
95
#define FSFAT_BASIC_TEST_00 fsfat_basic_test_00
96
96
#define FSFAT_BASIC_TEST_01 fsfat_basic_test_01
@@ -897,7 +897,7 @@ static control_t fsfat_basic_test_dummy()
897
897
return CaseNext;
898
898
}
899
899
900
- #endif /* defined(DEVICE_SPI) && defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED) */
900
+ #endif
901
901
902
902
utest::v1::status_t greentea_setup (const size_t number_of_cases)
903
903
{
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ using namespace utest::v1;
75
75
* },
76
76
* <<< lines removed >>>
77
77
*/
78
- # if defined(DEVICE_SPI) && defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED)
79
-
78
+
79
+ # if defined(DEVICE_SPI) && ( defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED) || (MBED_CONF_SD_FSFAT_SDCARD_INSTALLED))
80
80
static char fsfat_fopen_utest_msg_g[FSFAT_UTEST_MSG_BUF_SIZE];
81
81
#define FSFAT_FOPEN_TEST_MOUNT_PT_NAME " sd"
82
82
#define FSFAT_FOPEN_TEST_MOUNT_PT_PATH " /" FSFAT_FOPEN_TEST_MOUNT_PT_NAME
@@ -1490,7 +1490,7 @@ static control_t fsfat_fopen_test_dummy()
1490
1490
return CaseNext;
1491
1491
}
1492
1492
1493
- #endif /* defined(DEVICE_SPI) && defined(MBED_CONF_APP_FSFAT_SDCARD_INSTALLED) */
1493
+ #endif
1494
1494
1495
1495
1496
1496
// / @cond FSFAT_DOXYGEN_DISABLE
You can’t perform that action at this time.
0 commit comments