Expose snor bus management Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Expose snor bus management

Post by steved »

The bus_acquire() and bus_release() routines in hal_serial_nor.c are potentially of use to flash device drivers in implementing extra functions; if not accessible, they need to be duplicated.
I'd suggest a more explicit name for them; its a bit generic at the moment.
Would also be preferable for the exposed version of bus_acquire() to not need to pass the configuration information; the lower level drivers probably don't know this.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Expose snor bus management

Post by Giovanni »

Hi,

OK, change committed, now those functions are public. It was an error, the SPI variants were already public.

Giovanni
Post Reply