<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109413/how-to-create-a-custom-library-hex-similar-to-soft-device-that-can-be-used-by-another-firmware</link><description>I have a custom firmware that I want to turn it into a library, whose APIs can be used with any firmware and will be flashed along with it, similar to how Nordic&amp;#39;s softdevices are flashed and can be used. Is there any way that I can achieve this? Any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2024 09:29:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109413/how-to-create-a-custom-library-hex-similar-to-soft-device-that-can-be-used-by-another-firmware" /><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474534?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 09:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae5f260-c574-4774-94d9-9376964f86c3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To automatically load another .hex file in SES, you can point to it in the &amp;quot;additional load file&amp;quot; section, like we do here in BLE based projects:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1710840528913v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474531?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 09:16:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37dbf734-d97e-4162-9c84-5c88b7029c21</guid><dc:creator>arshi</dc:creator><description>&lt;p&gt;That&amp;#39;s okay. I just wanted to know how it can be done in segger. What steps or configurations do i need to change to add the external .hex as a dependency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474528?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 09:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32c06312-2cba-486a-aec0-c16dd8ad2c2d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;We do not have any pre-made project for this. This is something you have to define yourself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474527?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 09:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff096562-7786-4d2d-b671-f4f6c3917c89</guid><dc:creator>arshi</dc:creator><description>&lt;p&gt;Instead of creating a library project, I want to link an precompiled .hex file and its associated map file to an executable project and make API calls to the api&amp;#39;s defined in the provided hex file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474515?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 08:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e58872c9-2d2f-465a-81b6-c94175449c88</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies, you&amp;#39;re using nrf5 sdk.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a way to setup a project for this:&amp;nbsp;&lt;a href="https://wiki.segger.com/How_to_create_a_library_project_and_use_it_in_executable_project"&gt;https://wiki.segger.com/How_to_create_a_library_project_and_use_it_in_executable_project&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474510?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 08:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05b6176c-9b00-48ed-b286-e98d5705f958</guid><dc:creator>arshi</dc:creator><description>&lt;p&gt;Hii, could you share how it can be done in Segger Embedded studio?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a custom library hex, similar to soft device, that can be used by another firmware?</title><link>https://devzone.nordicsemi.com/thread/474490?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 07:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec7e3d86-6717-48a8-8350-35f28be4f629</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could look at&amp;nbsp;this project on how to create a static library file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/application_development/external_lib"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/application_development/external_lib&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regars,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>