RTEMS | Ported LittleFS (!1064)
Harshit Shivhare (@002harshit)
gitlab at rtems.org
Thu Feb 19 05:35:02 UTC 2026
Harshit Shivhare commented on a discussion on cpukit/libfs/src/littlefs/rtems-littlefs-init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142964
> + lfs_cfg->read_size = lfs_cfg->block_size;
> + lfs_cfg->prog_size = lfs_cfg->block_size;
> + lfs_cfg->cache_size = lfs_cfg->block_size;
> + lfs_cfg->lookahead_size = 16;
> + lfs_cfg->block_cycles = 500;
> +
> + return 0;
> +}
> +
> +void rtems_littlefs_config_destroy(struct lfs_config* lfs_cfg)
> +{
> + rtems_littlefs_config_context_t *ctx = lfs_cfg->context;
> + if ( ctx == NULL ) {
> + return;
> + }
> + rtems_recursive_mutex_destroy(&ctx->mutex);
like this rtems_recursive_mutex_destroy( **&**ctx**-\>**mutex ) ? would like to ask why exactly
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142964
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260219/e168076b/attachment-0001.htm>
More information about the bugs
mailing list