[ell-i-developers] Re: About peripheral initialisation and "anomalies" wrt it

  • From: Ivan Raul <supra.material@xxxxxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Thu, 30 Jan 2014 08:28:45 +0200

Great!!!

I will work on top of that commit, to prevent merging problems. I will
modify and test serial and timer over that version, and then start with the
gpio initialization.



With Warm Regards, Ivan Raul


On Thu, Jan 30, 2014 at 8:25 AM, Pekka Nikander <pekka.nikander@xxxxxx>wrote:

> > First, we should split the initialisation linker section into three
> subsections: one for RCC records for activating the peripherals, one for
> the "normal" peripheral initialisations, and the last for the "secondary"
> peripheral initialisations that are used with some peripherals to actually
> activate them.  Then, we put these into the linker script in the right
> order, and make sure that each record goes to the right section.  This
> should fix the ordering problem that you've been facing, Ivan.
>
> Done.
> https://github.com/Ell-i/Runtime/commit/64835532781cd19012648bdfb5299a8a5ebfe6e1
>
> Ivan, please note that I didn't touch the USART initialisation, as you are
> working on that and I dind't want to create unnecessary merge conflicts.
>  However, this now gives you better control in which order to handle the
> initialisation records, with the RCC records explicitly first.
>
> --Pekka
>
>
>

Other related posts: