<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-01-23 23:30 GMT+02:00 Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Mon, Jan 23, 2017 at 10:49 AM, Denis Obrezkov <span dir="ltr"><<a href="mailto:denisobrezkov@gmail.com" target="_blank">denisobrezkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Could you explain how we should create a new bsp.<div><br></div></div></blockquote><div><br></div></span><div>The first question to ask is "Do I need to write a new BSP?" :)</div><div><br></div><div>Second: Can I augment/modify an existing BSP?</div></div></div></div></blockquote><div>I want to try to run rtems on top of my stm32l152cdiscovery board:</div><div><a href="http://www.st.com/en/evaluation-tools/32l152cdiscovery.html">http://www.st.com/en/evaluation-tools/32l152cdiscovery.html</a><br></div><div>Its processor has Cortex-M3 architecture, so, I think it is quite possible for me </div><div>to start some code on the board. Also, there is a cmsis and hal from STM for this board.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>I read instructions from the wiki page - great material, but I don't understand about building system.</div><div>Should we use RSB? Or first of all write init code, console code and run just a bare bsp library .o file?</div><span class="gmail-m_1962819180097702448HOEnZb"><font color="#888888"><div><br clear="all"></div></font></span></div></blockquote><div><br></div></span><div>Whether you use or modify an existing BSP, or create a new one,</div><div>you have to have a cross compilation toolset. This is the primary</div><div>thing you do with the RSB.</div></div></div></div></blockquote><div>I mean should I use RSB or just to use a cross-compiler on the first stage</div><div>of development?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>First, use the RSB to build the cross toolset.</div><div>Next, I recommend building RTEMS for a BSP from your processor</div><div>architecture that runs on a simulator. This gives you something to</div><div>easily experiment with and ensure your installation is correct.</div></div></div></div></blockquote><div> </div><div>I don't understand this exactly, could expand it a bit more?</div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>