<?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>C3903U: Argument &amp;#39;-D__MICROLIB&amp;#39; not permitted for option &amp;#39;cpu&amp;#39;.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu</link><description>My aim is to use a nRF52832 for a Bluetooth peripheral device. 
 - I just started with a fresh SES V5.44 and downloaded the nRF SDK 17.0.2 - I imported the example &amp;quot;ble_app_hids_keyboard_pca10040_s112&amp;quot; from the SDK - trying to build the code throws this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 May 2021 20:08:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu" /><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/310264?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 20:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db953a7c-4434-480a-90bb-0d2920f7aa70</guid><dc:creator>awneil</dc:creator><description>[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/310235#310235"]Can you please explain what&amp;#39;s the difference between &amp;quot;nRF Connect SDK&amp;quot; and &amp;quot;nRF5 SDK&amp;quot; [/quote]
&lt;p&gt;&lt;span&gt;&amp;quot;nRF5 SDK&amp;quot; is the one that&amp;#39;s been around for years - currently at v17.something.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is creaking from having to support all the new features &amp;amp; options.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It only supports the 2.4GHz protocols (BLE, ANT, Thread, Zigbee).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;nRF Connect SDK&amp;quot; is &amp;quot;the future&amp;quot; - they&amp;#39;re not going to doing any more updates to the old SDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It takes a whole new approach to configuring&amp;nbsp;stuff, includes an RTOS (Zephyr), etc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://webinars.nordicsemi.com/understand-the-nrf-connect-sdk-2"&gt;https://webinars.nordicsemi.com/understand-the-nrf-connect-sdk-2&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I said, I&amp;#39;ve not tried it yet.&lt;/span&gt;&lt;/p&gt;
[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/310235#310235"]is there any cross-reference list that explains which &amp;quot;nRF5 SDK&amp;quot; version supports which SoftDevice-Versions [/quote]
&lt;p&gt;&lt;span&gt;That&amp;#39;s in the Release Notes:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/index.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/index.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, for each chip, there&amp;#39;s a &amp;quot;Compatibility matrix&amp;quot;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52832/COMP/nrf52832/nrf52832_comp_matrix.html"&gt;https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52832/COMP/nrf52832/nrf52832_comp_matrix.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/310235?ContentTypeID=1</link><pubDate>Tue, 18 May 2021 16:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24d6f3c8-9f0e-4d2d-999b-040c06769167</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;...Thanks for clarifying this. Can you please explain what&amp;#39;s the difference between &amp;quot;nRF Connect SDK&amp;quot; and &amp;quot;nRF5 SDK&amp;quot; - I browsed through the online documentation, but I found no clear explanation.&lt;/p&gt;
&lt;p&gt;Also, is there any cross-reference list that explains which &amp;quot;nRF5 SDK&amp;quot; version supports which SoftDevice-Versions ?&lt;/p&gt;
&lt;p&gt;thanks, matthias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309984?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 16:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de068697-6932-48e8-b1ad-2225387e2c37</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Sorry - The naming is confusing.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s &amp;quot;nRF Connect&amp;quot; as the tool for downloading, etc - replacing nRF GO Studio.&lt;/p&gt;
&lt;p&gt;Then there&amp;#39;s &amp;quot;nRF Connect &lt;strong&gt;SDK&amp;quot;&lt;/strong&gt;&amp;nbsp;as&amp;nbsp;a completely new SDK - as opposed to the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the &lt;strong&gt;SDK&lt;/strong&gt; I&amp;#39;ve not used - sorry, I thought that&amp;#39;s what you meant.&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t use nRF Connect for programming - I use SES or Segger&amp;#39;s own utilities for that.&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/309576#309576"]Or just download direct from SES[/quote]
&lt;p&gt;Do&amp;nbsp;&lt;span&gt;SES and/or Keil&amp;nbsp; and/or Segger&amp;#39;s own utilities see your J-Link?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309981?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 15:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67585a1f-14c4-4cfe-999f-707557b9df6c</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;you are joking - you told me 5 days ago to use nRF connect ...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309979?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 15:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de4711f6-08a2-4470-8283-523306644275</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Sorry - not used nRF-Connect SDK yet&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309974?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 14:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d85c80-e35c-4d89-9165-245d3a18f698</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;I downloaded+installed &amp;quot;nRF connect&amp;quot; - the installer updated some files and found my existing Keil and SES environment ... but it won&amp;#39;t see my Segger USB j-link. Is this maybe because I have a &amp;quot;j-link edu&amp;quot; ? Windows device Manager (USB devices) says the J-Link is properly installed.&lt;/p&gt;
&lt;p&gt;My target hardware contains the nRF52832 and a MSP430, so I have also a MSP programmer installed+connected (using virtual com5 and com6). nRF connect finds this device, but of course its not valid.&lt;/p&gt;
&lt;p&gt;any ideas ? - thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309576?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 16:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae9a782-2a97-4b86-850d-13e218635e75</guid><dc:creator>awneil</dc:creator><description>[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/309564#309564"]nRFgo Studio[/quote]
&lt;p&gt;nRF GO Studio is ancient - does it even support&amp;nbsp;&lt;span&gt;nRF52832&amp;nbsp;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should be using nRF Connect:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620837082105v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;further down that page:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620837495504v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or just download direct from SES.&lt;/span&gt;&lt;/p&gt;
[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/309564#309564"]possible to have two versions of SES installed in parallel ?[/quote]
&lt;p&gt;It was certainly possible with v4.50 and earlier versions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309564?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 15:31:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5df20430-2316-4ad6-9ade-c3855a65e204</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;I found out, that this issue seems to be related to nRFgo Studio and/or my hex file. I used NRFgo Studio to download the hex file from the segger compilation into the nrf52, and after this, SES reports the cortex-m0. When I erase all memory and download another hex-file (which I know that works), the device reports as Cortex-M4&lt;/p&gt;
&lt;p&gt;I guess that the hex binary from SES is somehow not ok - but how can I find this out ? Its just the example from SDK 17.0.2 with no modification&lt;/p&gt;
&lt;p&gt;Do you know whether its possible to have two versions of SES installed in parallel ? I mean 4.50 and 5.44&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309558?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 15:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f19c3d05-33aa-45b2-a39a-1acaed64e2d8</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;Segger suggests to continue using 5.44 - and I was able to successfully compile the code from the HID_keyboard example, so why not using 5.44 ...&lt;/p&gt;
&lt;p&gt;It seems I can load the code (hex-file) into the nrf52 chip using nrf-go studio - but it won&amp;#39;t work with SES. My hardware setup is compatible with pca10040, so I&amp;#39;m using this path.&lt;/p&gt;
&lt;p&gt;When connecting the J-link target I see an error &amp;quot;Identified core does not match configuration. (Found: Cortex-M0, Configured: Cortex-M4)&amp;quot; - here is the complete output:&lt;/p&gt;
&lt;p&gt;Connecting &amp;lsquo;J-Link&amp;rsquo; using &amp;lsquo;USB&amp;rsquo;&lt;br /&gt;Connecting to target using SWD&lt;br /&gt;Loaded C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 5.44/bin/JLink_x64.dll&lt;br /&gt;Firmware Version: J-Link V11 compiled Apr 27 2021 16:36:21&lt;br /&gt;DLL Version: 7.20`&lt;br /&gt;Hardware Version: V11.00&lt;br /&gt;Target Voltage: 3.335&lt;br /&gt;Device &amp;quot;NRF52832_XXAA&amp;quot; selected.&lt;br /&gt;InitTarget() start&lt;br /&gt;InitTarget() end&lt;br /&gt;Found SW-DP with ID 0x5BA01477&lt;br /&gt;SWD speed too high. Reduced from 4000 kHz to 2700 kHz for stability&lt;br /&gt;DPIDR: 0x2BA01477&lt;br /&gt;Scanning AP map to find all available APs&lt;br /&gt;AP[2]: Stopped AP scan as end of AP map has been reached&lt;br /&gt;AP[0]: AHB-AP (IDR: 0x24770011)&lt;br /&gt;AP[1]: JTAG-AP (IDR: 0x02880000)&lt;br /&gt;Iterating through AP map to find AHB-AP to use&lt;br /&gt;AP[0]: Core found&lt;br /&gt;AP[0]: AHB-AP ROM base: 0xE00FF000&lt;br /&gt;CPUID register: 0x410FC041. Implementer code: 0x41 (ARM)&lt;br /&gt;Unknown core, assuming Cortex-M0&lt;br /&gt;Found Cortex-M0 r0p1, Little endian.&lt;br /&gt;Identified core does not match configuration. (Found: Cortex-M0, Configured: Cortex-M4)&lt;br /&gt;FPUnit: 6 code (BP) slots and 0 literal slots&lt;br /&gt;CoreSight components:&lt;br /&gt;ROMTbl[0] @ E00FF000&lt;br /&gt;ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;br /&gt;ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB000 SCS&lt;br /&gt;ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;br /&gt;ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;br /&gt;ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;br /&gt;ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309550?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 14:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d4ffe8-9d9d-4aaf-9ac3-711074cb677c</guid><dc:creator>awneil</dc:creator><description>[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/309548#309548"]I still have no idea how to get around this &amp;#39;D__MICROLIB&amp;#39; issue[/quote]
&lt;p&gt;Are you still getting that with v4.50 of SES ?&lt;/p&gt;
[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu/309548#309548"]it feels like Nordic tells me to get in touch with Segger, Segger tells me its a nordic issue and I played the same game with arm+Keil+Nordic[/quote]
&lt;p&gt;Always the trouble when there&amp;#39;s multiple independent players involved.&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I guess Nordic just&amp;nbsp;don&amp;#39;t have the resources to develop their own in-house IDE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309548?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 14:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ecce5b1-4ea4-48a4-b828-a28d20521a2c</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;I was able to create a license via Nordic website, seems to work now&lt;br /&gt;Finally I found out where to find the SES project files &amp;quot;emProject&amp;quot; and this allows me to compile now&lt;/p&gt;
&lt;p&gt;I still have no idea how to get around this &amp;#39;D__MICROLIB&amp;#39; issue - but I guess I wont need it now&lt;/p&gt;
&lt;p&gt;Dont get me wrong, but I&amp;#39;m a bit upset because for days it feels like Nordic tells me to get in touch with Segger, Segger tells me its a nordic issue and I played the same game with arm+Keil+Nordic.&lt;/p&gt;
&lt;p&gt;thanks, matthias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309471?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 11:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e18b8f1b-5a4d-4971-b86e-e8e876bd5a4d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Oh dear.&lt;/p&gt;
&lt;p&gt;You could try asking Segger:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/index.php/Board/9-SEGGER-Embedded-Studio-related/"&gt;https://forum.segger.com/index.php/Board/9-SEGGER-Embedded-Studio-related/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Otherwise it&amp;#39;ll have to wait for someone from Nordic to give the official licensing status ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309415?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 08:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3c3fe4c-180b-4c56-a3b7-52174118875b</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;It pops up directly when I start SES - currently I can&amp;#39;t do anything !&lt;/p&gt;
&lt;p&gt;I assumed the 5.44 installation wrote something to the registry, so I uninstalled and cleaned the registry and the file system manually (removed anything that refers to &amp;quot;Segger&amp;quot;), then rebootet the PC, but after another 4.50 installtion the problem is the same. I even tried this mutliple time, with no success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309410?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 08:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:739e9066-2c91-400b-a713-8c7385fc9102</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So that&amp;#39;s a licensing issue with SES.&lt;/p&gt;
&lt;p&gt;Is that when you just start SES&amp;nbsp; with no project, or when you open a project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309392?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 07:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1e969a8-9830-4645-b699-4dffeb079090</guid><dc:creator>MDF</dc:creator><description>&lt;p&gt;I uninstalled the 5.44 and installed the 4.50 - this one comes up with a dialog box &amp;quot;unrecoverable failure : the evaluation period for this release has now expired&amp;quot; ... and then terminates. What now ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C3903U: Argument '-D__MICROLIB' not permitted for option 'cpu'.</title><link>https://devzone.nordicsemi.com/thread/309312?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 16:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d466cd4-b633-43e4-8826-60a0a5c28d0a</guid><dc:creator>awneil</dc:creator><description>[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu"]SES V5.44[/quote]
&lt;p&gt;The release notes say the SDK is tested against v4.50:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/index.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu"]&lt;p&gt;the code throws this error : C3903U: Argument &amp;#39;-D__MICROLIB&amp;#39; not permitted for option &amp;#39;cpu&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;That&amp;#39;s not a code error - that&amp;#39;s one of the tools complaining about a command-line error.&lt;/p&gt;
&lt;p&gt;Please post the full build output transcript - that should show the command line and where, exactly, this error is being thrown&lt;/p&gt;
[quote userid="104149" url="~/f/nordic-q-a/75018/c3903u-argument--d__microlib-not-permitted-for-option-cpu"]I was asuuming that the examples would compile without any issues[/quote]
&lt;p&gt;They certainly should&lt;/p&gt;
&lt;p&gt;I&amp;#39;d suggest first trying with the recommended SES version: you&amp;#39;re using one that&amp;#39;s a major version increment - so could be breaking changes ... ?&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Someone else having problems when using SES v5.something with nRF5 SDK v17.0.2 (ie, later than recommended in the SDK Release Notes) :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/76094/bug-in-a-header-file-of-sdk-nrf5_sdk_17-0-2_d674dde-components-libraries-util-app_error_handler_gcc-c/314596"&gt;devzone.nordicsemi.com/.../314596&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>