Add Flash Device API

2023-04-06 Thread aaron . nyholm
Hi All, Attached is the updated flashdev API (v2). I've focused on the feedback previously provided. I've added called the missing calls to bring this API inline with that of the zephyr example provided. The formatting is brought inline with RTEMS style. The shell command is extended to include

Re: Add Flash Device API

2023-04-06 Thread Aaron Nyholm
Hi Chris. Yes, Sorry. I'll resend the correct patches with v2. Thanks, Aaron. --- Original Message --- On Thursday, April 6th, 2023 at 4:59 PM, Chris Johns wrote: > > > Hi Aaron, > > Thanks for this. Is this v2 of patches? > > Chris > > On 6/4/2023 4:52 pm,

Re: Add Flash Device API

2023-04-06 Thread Chris Johns
Hi Aaron, Thanks for this. Is this v2 of patches? Chris On 6/4/2023 4:52 pm, aaron.nyh...@unfoldedeffective.com wrote: > Attached is the updated flashdev API. I've focused on the feedback > previously provided. I've added called the missing calls to bring > this API inline with that of the

Add Flash Device API

2023-04-06 Thread aaron . nyholm
Attached is the updated flashdev API. I've focused on the feedback previously provided. I've added called the missing calls to bring this API inline with that of the zephyr example provided. The formatting is brought inline with RTEMS style. The shell command is extended to include all previous

Re: Flash Device API

2023-03-19 Thread Aaron Nyholm
Hi All. Sorry for the lack of documentation and clarity in my original submission. Thank you all for the feedback, taking it all on board and will come back with a more complete and acceptable submission. I realised the original ticket number that I quoted was incorrect, #4869 is the correct

Re: Flash Device API

2023-03-17 Thread Will
On Fri, Mar 17, 2023 at 4:24 PM Gedare Bloom wrote: > Thank you Aaron for contributing this. I have a few comments below, > and I'll also give some comments on your code shortly. > > On Fri, Mar 17, 2023 at 1:34 AM Sebastian Huber > wrote: > > > > > > > > On 16.03.23 23:07, Chris Johns wrote: >

Re: Flash Device API

2023-03-17 Thread Gedare Bloom
Thank you Aaron for contributing this. I have a few comments below, and I'll also give some comments on your code shortly. On Fri, Mar 17, 2023 at 1:34 AM Sebastian Huber wrote: > > > > On 16.03.23 23:07, Chris Johns wrote: > > On 16/3/2023 6:13 pm, Sebastian Huber wrote: > >> Hello Aaron, > >>

Re: Flash Device API

2023-03-17 Thread Sebastian Huber
On 16.03.23 23:07, Chris Johns wrote: On 16/3/2023 6:13 pm, Sebastian Huber wrote: Hello Aaron, this API seems to be RTEMS-specific. Maybe we should simply pick up an existing solution which is in more wide spread use, for example:

Re: Flash Device API

2023-03-16 Thread Chris Johns
On 16/3/2023 6:13 pm, Sebastian Huber wrote: > Hello Aaron, > > this API seems to be RTEMS-specific. Maybe we should simply pick up an > existing > solution which is in more wide spread use, for example: > > https://docs.zephyrproject.org/latest/hardware/peripherals/flash.html That interface

Re: Flash Device API

2023-03-16 Thread Sebastian Huber
Hello Aaron, this API seems to be RTEMS-specific. Maybe we should simply pick up an existing solution which is in more wide spread use, for example: https://docs.zephyrproject.org/latest/hardware/peripherals/flash.html -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Flash Device API

2023-03-15 Thread aaron . nyholm
This generic flash device API creates a device wrapper for flash drivers. It allows for the flash device to opened as a file descriptor with region limiting. IOCTL calls are present to allow for device idenification. Designed with the goal of creating a generic flash driver that allows