I am developing code to nrf52 and i'm using a sdcard with the adafruit MicroSD card breakout board.
When the sd card has no partitions I'm using the fdisk function (from fat fs ) to create a single partition to mount the file system so I need to put the define _MULTI_PARTITION of the file ffconf.h to 1. If MULTI PARTITION is set to 0 it can not use the PARTITION VolToPart variable and the fdisk function does not work correctly. I tried to do an undef followed by a define but still do not know the variable PARTITION VolToPart if I manually edit the in the ffconf.h file the _MULTI_PARTITION to 1 everything works.
The dependencies should be on the side of my code because if sdk is updated, the code can not break.