RTEMS | bsps/shared/dev/flash: Add a flashdev simulation backend (!863)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Dec 4 20:13:50 UTC 2025




Kinsey Moore commented on a discussion on bsps/shared/dev/flash/flash_sim_flashdev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136681

 > +{
 > +  if ( attr->free != NULL ) {
 > +    attr->free( ptr );
 > +  } else {
 > +    free(ptr);
 > +  }
 > +}
 > +
 > +static void *flashdev_malloc(
 > +  struct flash_sim_flashdev_attributes *attr,
 > +  size_t size
 > +)
 > +{
 > +  if (attr->alloc != NULL) {
 > +    return attr->alloc(size);
 > +  } else {

Fixed in the latest push.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136681
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/20251204/338c881f/attachment-0001.htm>


More information about the bugs mailing list