This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC: sd_stress_main.c sd_bench_main.c: In function 'write_test': | |
sd_bench_main.c:179:25: error: initialization of 'size_t *' {aka 'long unsigned int *'} from incompatible pointer type 'unsigned int *' [-Werror=incompatible-pointer-types] | |
179 | size_t *blocknumber = (unsigned int *)(void *)&block[0]; | |
| ^ | |
sd_bench_main.c: In function 'read_test': | |
sd_bench_main.c:280:25: error: initialization of 'size_t *' {aka 'long unsigned int *'} from incompatible pointer type 'unsigned int *' [-Werror=incompatible-pointer-types] | |
280 | size_t *blocknumber = (unsigned int *)(void *) &read_block[0]; | |
| ^ | |
sd_bench_main.c:309:50: error: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=] | |
309 | printf("Read data error at block: %d wrote:0x%04x read:0x%04x", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
�ESP-ROM:esp32s3-20210327 | |
Build:Mar 27 2021 | |
rst:0x3 (RTC_SW_SYS_RST),boot:0x38 (SPI_FAST_FLASH_BOOT) | |
Saved PC:0x4201ce2c | |
SPIWP:0xee | |
mode:DIO, clock div:1 | |
load:0x3fce3818,len:0x1750 | |
load:0x403c9700,len:0x4 | |
load:0x403c9704,len:0xc00 | |
load:0x403cc700,len:0x2e04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsh> mkfatfs -F 32 -r /mnt /dev/virtblk0 | |
nsh> mount -t vfat /dev/virtblk0 /mnt | |
nsh> ls /mnt | |
/mnt: | |
nsh> | |
nsh> fs_rws_test /mnt/test w w 32768 | |
argc: 5 | |
filep: 0x4042a5b8 | |
32768 bytes to write | |
pos after write: 32768 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nsh> fs_rws_test /mnt/test1 w w 4096 | |
argc: 5 | |
filep: 0x4042a5b8 | |
4096 bytes to write | |
pos after write: 4096 | |
nsh> fs_rws_test /mnt/test2 w w 16384 | |
argc: 5 | |
filep: 0x4042a5b8 | |
16384 bytes to write | |
pos after write: 16384 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifneq ($(CONFIG_TESTING_FS_RWS_TEST),) | |
CONFIGURED_APPS += $(APPDIR)/testing/fs_rws_test | |
endif |