Despite using the fsync() , the file was restored to size 0.
Both fsync() and fsyncdata() are mapped to 'rtems_rtems_fdatasync'.
file path : cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c
const rtems_filesystem_file_handlers_r rtems_rfs_rtems_file_handlers = {
.open_h = rtems_rfs_rtems_file_o
Hi Chris & Christian,
Thanks for your help.
In our application, shell is very useful for testing and debuging.
We want to avoid shell hang when sd card is removed unexpected.
Current workaround solution we used is ti_sdhci_get_card_present get the sd
removing flag but it always return true.
The up