mirror of https://github.com/ARMmbed/mbed-os.git
Fix minor issues
parent
1b45d00bde
commit
5a2e7e3367
|
@ -1,6 +1,6 @@
|
|||
# Getting started with the Mbed OS block device test
|
||||
|
||||
Mbed OS block device test is used to test exsiting and new block devices.
|
||||
Mbed OS block device test is used to test existing and new block devices.
|
||||
|
||||
You can find more information about the Mbed OS block device and other related pieces of the Mbed OS storage stack [in the storage overview](https://os.mbed.com/docs/latest/reference/storage.html).
|
||||
|
||||
|
|
|
@ -78,7 +78,8 @@ void basic_erase_program_read_test(BlockDevice *block_device, bd_size_t block_si
|
|||
val_rand = rand();
|
||||
if ( (0xff & val_rand) != read_block[i_ind] ) {
|
||||
utest_printf("\n Assert Failed Buf Read - block:size: %llx:%llu \n", block, block_size);
|
||||
utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand), read_block[i_ind],
|
||||
utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand),
|
||||
read_block[i_ind],
|
||||
write_block[i_ind] );
|
||||
}
|
||||
TEST_ASSERT_EQUAL(0xff & val_rand, read_block[i_ind]);
|
||||
|
@ -213,7 +214,5 @@ Specification specification(test_setup, cases);
|
|||
|
||||
int main()
|
||||
{
|
||||
//mbed_trace_init();
|
||||
utest_printf("MAIN STARTS\n");
|
||||
return !Harness::run(specification);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue