sample fat_fs

Hi,

I'm trying the  sample fat_fs  on the nRF5340 DK

1) It does build, but there is awarning

CMake Warning at D:\nRfConnect\v1.8.0\zephyr\CMakeLists.txt:722 (message):
No SOURCES given to Zephyr library: drivers__disk

2) looked with the debugger: in the main() it reaches the  LOG_ERR("Storage init ERROR!");

void main(void)

if (disk_access_init(disk_pdrv) != 0) {
LOG_ERR("Storage init ERROR!");
 
Could you please comment on the above 2 points ?
What steps should i make to have a SD-card running,  is using sample fat_fs the way to go ?
Best Regards,
Theo
  • TF mulder said:
    And behold... the    cs-gpios  on P0.10  is now working !!

    I'm happy you finally made it work

    TF mulder said:
    Remains this (new)question:   

    To have writing a file onto the SD-CARD, that a PC will understand needs some more then 

    disk_access_write(),  disk_access_read()  Correct?
    What do i need to look into,  to have data to be written onto the SD-card? , such that the PC does understand.

    Would you be able to open a new ticket and ask about this? Since the initial issues ("No SOURCES given to Zephyr library: drivers__disk" and "Storage init ERROR!") seems to be resolved.

    Best regards,

    Simon

Related