Do you have CONFIG_FS_FATTIME enabled? 

Regards,
Dmitri Shilov.


-------- Original Message --------
On 2025-09-23 9:26 a.m., Tim Hardisty <[email protected]> wrote:

>  I send syslog output to an MTD formatted with LittleFS. The syslog
>  output itself has correct timestamps from my board's RTC, but I must be
>  doing something dumb either with NuttX or LittleFS as the syslog file
>  itself has a default timestamp of 21st January 1970 regardless of when a
>  new file is created.
>  
>  And an 'ls -l' at NSH doesn't show timestamps either?
>  
>  Can someone advise? I'm sure I'm not doing something REALLY obvious!!
>  
>  PS - same is true of a LittleFS formatted EEPROM device too, and also
>  for a FAT formatted ramdisk...
>  
>

Reply via email to