[PATCH v2 1/3] cpukit/flash: Add API for Flash devices

Chris Johns chrisj at rtems.org
Tue Apr 18 03:55:10 UTC 2023


On 18/4/2023 1:48 pm, Gedare Bloom wrote:
> On Sun, Apr 16, 2023 at 6:48 PM Aaron Nyholm
> <aaron.nyholm at unfoldedeffective.com> wrote:
>> As for the RTEMS_FLASHDEV_MAX_REGIONS being set at 32 I chose the value as it seamed a good balance between memory usage and function. I wanted to avoid using malloc as your previous feedback suggested. If configurable size is necessary what’s the best way to approach it without using malloc?
>>
> A configure-time option may be viable, e.g., spec/build/cpukit/opt*
> You should probably elevate that question to its own email thread to
> get other opinions.

Is there an option that shows how to control a defined in an API header?

I have a quick look and could not see anything.

Thanks
Chris


More information about the devel mailing list