A fair amount of code in µC/FS has been included to simplify debugging. There are several configuration constants used to aid debugging.
FS_CFG_DBG_MEM_CLR_EN
FS_CFG_DBG_MEM_CLR_EN
is used to clear internal file system data structures when allocated or deallocated. When DEF_ENABLED
, internal file system data structures will be cleared.
FS_CFG_DBG_WR_VERIFY_EN
FS_CFG_DBG_WR_VERIFY_EN
is used verify writes by reading back data. This is a particularly convenient feature while debugging a driver.