[riot-devel] Help needed for porting to stm32l4

Alexandre Abadie alexandre.abadie at inria.fr
Wed Jul 5 08:43:44 CEST 2017


Hi, 

Are you porting this board [1], then this CPU family is already supported by RIOT [2] (It's not M0 but M4). You'll just have to add the specific ldscript for the CPU (STM32L476VG), see [3] for examples. Finally, you'll have to add the board specific configuration in the board directory. See [4] for the nucleo-l476 configuration and [5] for other supported discovery boards. 

Hope this helps, 

Alex 

[1] http://www.st.com/en/evaluation-tools/32l476gdiscovery.html 
[2] https://github.com/RIOT-OS/RIOT/tree/master/cpu/stm32l4 
[3] https://github.com/RIOT-OS/RIOT/tree/master/cpu/stm32l4/ldscripts 
[4] https://github.com/RIOT-OS/RIOT/tree/master/boards/nucleo-l476 
[5] https://github.com/RIOT-OS/RIOT/tree/master/boards/stm32f4discovery 

----- Mail original -----

> Hi Martine,
> Yes, I checked it out. And according to it, I am missing cpu family (+
> board). However there is no specific RIOT requirement mentioned. What I
> meant is that, the bare minimum for an initial port is not defined.

> Any suggestion on it?
> Regards

> On Wed, Jul 5, 2017 at 1:08 AM, Martine Lenders < mail at martine-lenders.eu >
> wrote:

> > Hi Nazmul,
> 
> > have you seen the Porting Guide [1]? It should provide you with all
> > information you need.
> 

> > Best Regards,
> 
> > Martine
> 

> > [1] https://github.com/RIOT-OS/RIOT/wiki/Porting-Guide
> 

> > 2017-07-05 6:40 GMT+02:00 Nazmul Alam < fadedreamz at gmail.com > :
> 

> > > Hi Rioters,
> > 
> 
> > > I want to port RIOT to stm32L4discovery device, the cpu is corex_m0 and I
> > > think RIOT has implementation for cortex_m0 cpu.
> > 
> 

> > > Any suggestion from where I can start?
> > 
> 

> > > Thanks in advance.
> > 
> 

> > > --
> > 
> 
> > > with best regards,
> > 
> 
> > > Nazmul Alam Shovon
> > 
> 

> > > শুভেচ্ছান্তে,
> > 
> 
> > > নাজমুল আলম শোভন
> > 
> 

> > > blog : https://yourdigitaleffects.wordpress.com/
> > 
> 

> > > _______________________________________________
> > 
> 
> > > devel mailing list
> > 
> 
> > > devel at riot-os.org
> > 
> 
> > > https://lists.riot-os.org/mailman/listinfo/devel
> > 
> 

> > _______________________________________________
> 
> > devel mailing list
> 
> > devel at riot-os.org
> 
> > https://lists.riot-os.org/mailman/listinfo/devel
> 

> --
> with best regards,
> Nazmul Alam Shovon

> শুভেচ্ছান্তে,
> নাজমুল আলম শোভন

> blog : https://yourdigitaleffects.wordpress.com/

> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20170705/f11374e9/attachment-0001.html>


More information about the devel mailing list