<?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>SDK 2.1.1 customized linker option</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117907/sdk-2-1-1-customized-linker-option</link><description>Hi, 
 i am using SDK 2.1.1 with nrf5340. 
 I would like to add the linker option --wrap. 
 What are the possibilities to add this option in Visual Studio Code ? 
 Could it be added in a CmakeFileList through the zephyr_ld_options function ? I tried to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2025 08:48:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117907/sdk-2-1-1-customized-linker-option" /><item><title>RE: SDK 2.1.1 customized linker option</title><link>https://devzone.nordicsemi.com/thread/519213?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 08:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fceb79d9-f6d3-472b-9705-a05361ed519e</guid><dc:creator>Riccardo Gaiati</dc:creator><description>&lt;p&gt;Thanks so much Vidar Berg,&lt;/p&gt;
&lt;p&gt;i will try again following the example you posted.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Riccardo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.1.1 customized linker option</title><link>https://devzone.nordicsemi.com/thread/517932?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 12:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b812ac-6a76-4826-a5b8-e17da9764130</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is no Kconfig symbol to set this linker option so it needs to be applied to the cmake scripts. Did you prefix the option with -Wl when you tried to select the --wrap option in your project CMakelist file&amp;nbsp;like here:&amp;nbsp;&lt;a href="https://github.com/memfault/memfault-firmware-sdk/blob/ae774467293301ecbc16ff35a523f51dbcd6e20d/ports/zephyr/ncs/CMakeLists.txt#L20"&gt;https://github.com/memfault/memfault-firmware-sdk/blob/ae774467293301ecbc16ff35a523f51dbcd6e20d/ports/zephyr/ncs/CMakeLists.txt#L20&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>