Hey all.
New to C++ and only just getting started with Daisy programming, so apologies if this is a newbie question.
I have the following code:
SdmmcHandler::Config sd_cfg;
sd_cfg.Defaults();
sdcard.Init(sd_cfg);
log("SD Card Initialized.");
fsi.Init(FatFSInterface::Config::MEDIA_SD);
log("Filesystem Initialized.");
FATFS& fs = fsi.GetSDFileSystem();
log("Filesystem found.");
f_mount(&fs, "/", 1);
log("Filesystem mounted.");
(the extensive log messages are there to help debug this issue!)
When uploaded to Flash memory this works exactly as expected. However, when I install the Daisy Bootloader and then upload this to SRAM, the f_mount command causes a 30 second delay (exactly) before the code proceeds. Is this normal and to be expected?!
Thanks.