<?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>conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65240/conflicting-cpu-architectures-when-integrate-cc310-library-in-samples-hello_world-board-nrf9160dk_nrf9160</link><description>Hi, 
 I am a new comer so perhaps I made a mistake during project configuration. 
 I am using nrf Connect v3.4.2 on Windows. 
 I trie to add CC310 libray in sample hello_world to use AES and SHA256 hadware implementation 
 Here an abstract of .config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Sep 2020 08:09:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65240/conflicting-cpu-architectures-when-integrate-cc310-library-in-samples-hello_world-board-nrf9160dk_nrf9160" /><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/267377?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 08:09:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f51bab3-3b53-4c02-8d6f-8ef2d3077d48</guid><dc:creator>Torsten Rasmussen</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jeanfi"&gt;JeanFi&lt;/a&gt; Thanks for informing, especially as this could be useful for others to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/267360?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 07:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568b4e5a-314d-4f3a-a8fd-6dd9d601691f</guid><dc:creator>JeanFi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Related to issue &amp;#39;&lt;span&gt;ccache: FATAL: Could not find compiler &amp;quot;C:\Users\xxx\ncs\v1.3.0\toolchain\opt\bin\arm-none-eabi-gcc.exe&amp;quot; in PATH&amp;quot; it is because in my computer, I have another ccache.exe which is installed (cygwin)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I temporarily rename this other ccache.exe, the issue disappears.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266923?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 09:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55989b85-6ac1-4f8f-abaf-cf7d9656b20a</guid><dc:creator>Torsten Rasmussen</dc:creator><description>&lt;p&gt;Thanks for the update.&lt;br /&gt;&lt;br /&gt;And very interesting you see the same issue with `west`.&lt;br /&gt;I have successfully built using `cmake` + `ninja` and `west` in both windows command prompt and bash.&lt;/p&gt;
&lt;p&gt;I have managed to reproduce the issue in SES, and will look into a fix that can go into next release.&lt;/p&gt;
&lt;p&gt;You might want to try to build, using the Windows Command Prompt.&lt;br /&gt;Although bash works for many people, then it is not guaranteed to work in all cases.&lt;/p&gt;
&lt;p&gt;The Zephyr getting started is based on Windows command prompt.&lt;br /&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266905?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 08:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce9f272-b88c-4770-a720-a0cc016a2064</guid><dc:creator>JeanFi</dc:creator><description>&lt;p&gt;Toolchain Manager: V0.7.1&lt;/p&gt;
&lt;p&gt;SES V4;52 (64 bit)&lt;/p&gt;
&lt;p&gt;I launch toolchain through Toolchain Manager -&amp;gt; Open IDE&lt;/p&gt;
&lt;p&gt;I also try to build a sample by using West&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;nrfConnect SDK =&amp;gt; open bash&amp;nbsp;&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;li&gt;west build -b targetedboard&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And I have same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266892?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 08:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a834a693-e361-494f-b790-dcf62ef2fa8a</guid><dc:creator>Torsten Rasmussen</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jeanfi"&gt;JeanFi&lt;/a&gt; I have a suspicion that this relates to Segger Embedded Studio - Nordic Edition&lt;br /&gt;&lt;br /&gt;&amp;gt; I am using nrf Connect v3.4.2 on Windows.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This only tells the nRF Connect app itself, and not the version of the Toolchain manager.&lt;/p&gt;
&lt;p&gt;Could you provide some details on the Toolchain Manager version:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1598601978554v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;And the specific SES version you are using:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1598602050739v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and how you launch SES.&lt;/p&gt;
&lt;p&gt;- Using Toolchain Manager:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1598602128821v4.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;- Or using a Windows shortcut / command line.&lt;/p&gt;
&lt;p&gt;The reason why this is important to know, is because the PATH and other environment variables can be different depending on how SES is launched.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266618?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 06:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b93a2b3a-6b81-416c-ac37-e237a3b54854</guid><dc:creator>JeanFi</dc:creator><description>&lt;p&gt;When I try to use non secure board I have following issue:&lt;/p&gt;
&lt;p&gt;ccache: FATAL: Could not find compiler &amp;quot;C:\Users\rouault\ncs\v1.3.0\toolchain\opt\bin\arm-none-eabi-gcc.exe&amp;quot; in PATH. This is strange because this absolute&amp;nbsp;&amp;nbsp;path is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just open the hello world project with default configuration and try to build solution.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266612?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 06:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edbda7c3-8416-4699-83ab-9a6b58233ba5</guid><dc:creator>JeanFi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I guess I use default toolchain. I only open hello_world project and try to activate crypto libraries. So I made some update throuh &amp;quot;Configure nrf&amp;nbsp; SDK project&amp;quot; to activate securiity backend&amp;nbsp;&amp;nbsp;and CC310 and oberon librairies but&amp;nbsp;that&amp;#39;s all. From now I don&amp;#39;t know how to update toolchain.&lt;/li&gt;
&lt;li&gt;&amp;nbsp; I am using secure board. I&amp;nbsp;had&amp;nbsp;other issues with non-secure board. I will retry with non-secure board and will give you a feedback.&lt;/li&gt;
&lt;li&gt;Yes I would like to use both AES 128 and AES 256.&amp;nbsp;So I made assumption I have to activate CC310 and oberon back ends. But perhaps it is a wrong assumption. What is your advice?&amp;nbsp;Either only embed CC310 backend and so deal with a&amp;nbsp;limited subset of cryptographic service&amp;nbsp;or only embed oberon if I need full subset of cryptogrpahic serivices?&lt;/li&gt;
&lt;li&gt;One of my goal is to understand &amp;quot;NVM&amp;nbsp; used size&amp;quot; impact. when I embed CC310 library and/or oberon library and/or vanilla library. Do you have some metrics related to this NVM usage?&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conflicting CPU architectures when integrate cc310 library in samples/hello_world board nrf9160dk_nrf9160</title><link>https://devzone.nordicsemi.com/thread/266587?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 18:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0801a6b-bbf7-41f4-ae51-5f7af9205c2a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have some questions in order to better understand the issue.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What toolchain are you using? I ask because I see&amp;nbsp;ld.exe, and while the path seems sensible, I would have expected&amp;nbsp;arm-none-eabi-ld.exe.&lt;/li&gt;
&lt;li&gt;Are you using secure/non-secure?&lt;/li&gt;
&lt;li&gt;Also, we have an issue with combining libraries in our build systems, which also could cause problems here (&lt;a href="https://stackoverflow.com/questions/37924383/combining-several-static-libraries-into-one-using-cmake"&gt;this&lt;/a&gt;). You would not have any problems if you used a single backend though, so I wonder why you need the Oberon backend? Is it because you need AES 256 (CC310 only support AES 128), something else, or is it just by &amp;quot;accident&amp;quot; that you enabled both?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>