Alright, actually it looks you can discard the whole patch as the routines already exist, I completely forgot to check the series folder :/

well… at least I learnt something

On Feb 7, 2013, at 6:33 PM, Marti Bolivar <notifications@github.com> wrote:

> In libmaple/include/libmaple/flash.h:
> 
> > -/* The series header must define:
> > - *
> > - * - FLASH_SAFE_WAIT_STATES, the smallest number of wait states that
> > - *   it is safe to use when SYSCLK is at its fastest documented rate
> > - *   and the MCU is powered at 3.3V (i.e. this doesn't consider
> > - *   overclocking or low voltage operation).
> > - *
> > - * - The following bit flags, for flash_enable_features():
> > - *
> > - *       -- FLASH_PREFETCH: prefetcher
> > - *       -- FLASH_ICACHE: instruction cache
> > - *       -- FLASH_DCACHE: data cache
> > - *
> > - *   See that function's Doxygen for more restrictions.
> > - */
> > +  /* The series header must define:
> Looks like the autoformatter strikes again -- we prefer not to indent code within a conditionally-compiled extern "C" block (http://leaflabs.com/docs/libmaple/coding-standard.html#whitespace).
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>