writing a new bsp question
Denis Obrezkov
denisobrezkov at gmail.com
Tue Jan 24 07:55:10 UTC 2017
2017-01-23 23:30 GMT+02:00 Joel Sherrill <joel at rtems.org>:
>
>
> On Mon, Jan 23, 2017 at 10:49 AM, Denis Obrezkov <denisobrezkov at gmail.com>
> wrote:
>
>> Could you explain how we should create a new bsp.
>>
>>
> The first question to ask is "Do I need to write a new BSP?" :)
>
> Second: Can I augment/modify an existing BSP?
>
I want to try to run rtems on top of my stm32l152cdiscovery board:
http://www.st.com/en/evaluation-tools/32l152cdiscovery.html
Its processor has Cortex-M3 architecture, so, I think it is quite possible
for me
to start some code on the board. Also, there is a cmsis and hal from STM
for this board.
>
> I read instructions from the wiki page - great material, but I don't
>> understand about building system.
>> Should we use RSB? Or first of all write init code, console code and run
>> just a bare bsp library .o file?
>>
>>
> Whether you use or modify an existing BSP, or create a new one,
> you have to have a cross compilation toolset. This is the primary
> thing you do with the RSB.
>
I mean should I use RSB or just to use a cross-compiler on the first stage
of development?
>
> First, use the RSB to build the cross toolset.
> Next, I recommend building RTEMS for a BSP from your processor
> architecture that runs on a simulator. This gives you something to
> easily experiment with and ensure your installation is correct.
>
I don't understand this exactly, could expand it a bit more?
--
Regards, Denis Obrezkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170124/fad13daf/attachment-0002.html>
More information about the users
mailing list