[riot-devel] Help needed for porting to stm32l4

Nazmul Alam fadedreamz at gmail.com
Wed Jul 5 09:47:04 CEST 2017


Hi Alex,
No, the board is different (L475VG), but you are right, it is based on M4
(I was looking into wrong datasheet and back dated RIOT repo, my bad. After
syncing the repo, i saw the cpu stm32l4). Thank you for the reference 3,4
and 5. I think I can play with them to make it work.

Thanks again. Cheers!

On Wed, Jul 5, 2017 at 2:43 AM, Alexandre Abadie <alexandre.abadie at inria.fr>
wrote:

> 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>
> https://github.com/RIOT-OS/RIOT/tree/master/boards/stm32f4discovery
>
> ------------------------------
>
> 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
>
>
>
> _______________________________________________
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20170705/68a996f1/attachment.html>


More information about the devel mailing list