<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Startup Code within own library</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/35322/startup-code-within-own-library</link><description> 
Hello, 

 
I want to develop a target board specific peripheral driver
library for a Cortex-M3 controller which can be used by several
applications just referencing the BSP library in the project. 

 
In a first step I was able to build a library, link</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Startup Code within own library</title><link>https://community.arm.com/thread/161799?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 16:02:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a40ff0e5-5152-45e0-8749-f2c9e874b442</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;Same problem, he seemed to describe at least two. Best just to present your own issue, with the errors you see, and the code you are using.&lt;/p&gt;
&lt;p&gt;If you are not seeing __initial_sp it might be because the startup.s file isn&amp;#39;t pulled into the project, or it lacks code to described and export the stack.&lt;/p&gt;
&lt;p&gt;The other might be because the sections being called out don&amp;#39;t have suitable attributes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup Code within own library</title><link>https://community.arm.com/thread/161787?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 10:41:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0ff27e40-afca-467b-9db0-12a8a8c2a82d</guid><dc:creator>eric qiang</dc:creator><description>&lt;p&gt;Hi, Mario:&lt;/p&gt;
&lt;p&gt;how do you fix the problem? what issue with the startup code.&lt;/p&gt;
&lt;p&gt;I encounter the same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup Code within own library</title><link>https://community.arm.com/thread/71023?ContentTypeID=1</link><pubDate>Wed, 19 Dec 2018 03:07:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:26ca478d-cb43-48bc-b17e-6e4ae6491e36</guid><dc:creator>Mario Rapp</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello,&lt;/p&gt;

&lt;p&gt;
+++ Update +++&lt;/p&gt;

&lt;p&gt;
I finallay managed to include the startup code to my library.
There was an issue with the startup code itself. I discovered a
different file from the exmaple projects were everything works as
expected.&lt;/p&gt;

&lt;p&gt;
From my side the issue is closed.&lt;/p&gt;

&lt;p&gt;
Regards,&lt;br /&gt;
Mario&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>