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

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




Kinsey Moore commented on a discussion on bsps/include/dev/flash/flash_sim_flashdev.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136683

 > +  uint64_t total_sectors;
 > +  /* @brief The type of flash that is being simulated */
 > +  rtems_flashdev_flash_type type;
 > +  /*
 > +   * @brief Allocator for simulated flash, but not other allocations.
 > +   * malloc() will be used if NULL
 > +   */
 > +  void *(*alloc)(size_t size);
 > +  /*
 > +   * @brief Free function for simulated flash, but not other allocations.
 > +   * free() will be used if NULL
 > +   */
 > +  void (*free)(void *ptr);
 > +};
 > +
 > +/*

Fixed in the latest push.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136683
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/08cb8185/attachment-0001.htm>


More information about the bugs mailing list