<?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 properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25055/how-to-properly-build-a-project-for-nordic-thingy-52</link><description>Hello dear Nordic Semiconductor!!! I took your wonderful Thingy:52 everything was great until I wanted to build a project based on your Thingy: 52-SDK. I have nrf52840 pdk in order to flash Thingy. Inside the sdk folder I found the project ble_app_thingy_s132_pca20020</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Nov 2017 12:57:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25055/how-to-properly-build-a-project-for-nordic-thingy-52" /><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98654?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 12:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:879344d6-4250-4962-bbfa-73c62e600357</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you taken a look at the comment I posted above in response to Andre? Have you gotten regular OTA-DFU to work on the Nordic Thingy yet (i.e. upload the latest 2.1.0 Thingy FW to your Nordic Thingy:52)? It is possible to compile the Nordic FW via Keil or ARM GCC, but not using Segger Embedded Studio. If you want to upload custom FW or a custom Thingy:52 application, you will need to use Secure DFU unfortunately.&lt;/p&gt;
&lt;p&gt;If you &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/Nordic-Thingy-52/Thingy-52-DFU-complete-zip/61954"&gt;download the 2.1.0 FW from here&lt;/a&gt;, you can easily do an OTA-DFU either via the Thingy app on Android or iOS by going to the Device Firmware Update tab, click on the custom tab &amp;amp; pressing the &amp;quot;How To...&amp;quot; button. There, you will get tips on how to transfer the zip file from your computer to your smartphone. After that, it should be plug and play essentially.&lt;/p&gt;
&lt;p&gt;You can also upload the newest Thingy:52 FW via an nrf51/52 dk &amp;amp; attaching a SWD cable to the P19 port on your DK (if you have one). Then attach the other end of the SWD cable to the SWD port to the right of the USB port on the Thingy. Then, open up nrfgostudio &amp;amp; &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/dfu_cable.html"&gt;follow the instructions here&lt;/a&gt;. Hope that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98651?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2017 11:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:141b9f64-a4d8-4cd7-8c01-aeec9998b3c6</guid><dc:creator>kordi</dc:creator><description>&lt;p&gt;Yes, of course, I&amp;#39;m not a strong connoisseur of gcc and compilers, I understand that I&amp;#39;m doing something wrong and that I do not know, because I can not find it. I understand of course that you can download the project from scratch like nrf52840pdk. For example, take the CC2650 SensorTag or Thunderboard Silicon Labs there is also a similar application, but there you can normally open the project and normally patch it. Well if there is a debugger programmer but the project for Thingy is not going to for example in KeiI certainly understand that the product is new but if the code is opened then it probably somehow should be compiled more simply.I for example did not understand how to compile and compile a project. Although I did everything according to the instructions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98649?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 14:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46da4eb5-02f0-4dbf-a893-0b1a059cf51b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;strong&gt;Another comment:&lt;/strong&gt; if you want to upload your own project, you&amp;#39;ll have to compile your own bootloader (&lt;a href="https://devzone.nordicsemi.com/question/169462/thingy52-upload-sample-project-ota/"&gt;see here&lt;/a&gt;). &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/dfu_generating.html"&gt;This link&lt;/a&gt; could also be helpful. &lt;strong&gt;You will need to &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;use Secure DFU&lt;/a&gt; at the moment to be able to flash your own custom application or FW to the Thingy:52.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98648?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 13:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb622b7-4072-495c-9ad8-316062c4b42d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hey Andre, have you tried flashing the original FW (2.1.0) onto the Thingy yet? Might be easiest to start here first with the zip for Android (&lt;a href="https://www.nordicsemi.com/eng/nordic/Products/Nordic-Thingy-52/Thingy-52-DFU-complete-zip/61954"&gt;download here&lt;/a&gt;) hex file for iOS &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/Nordic-Thingy-52/Thingy-52-HEX/61957"&gt;you can download from here&lt;/a&gt; if you haven&amp;#39;t tried this already. You can either do this via the the nrf51/52 dk &amp;amp; a SWD cable or via the Thingy app for iOS or Android. If you do it via the Thingy app, you just go to the Device Firmware Update (DFU) tab, click on the Custom FW tab &amp;amp; then you can press the &amp;quot;How to&amp;quot; button. There, it will show you the different options for loading the hex or zip file to your phone. Then, you can do a DFU using the Thingy app. I will research whether the project compiling can be done with segger embedded studio. Have had a few people asking about this. Will get back to you soon!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; It is not possible to compile the Thingy FW via Segger Embedded Studio. You will need to use Keil or Arm GCC for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98653?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 13:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c569c4ab-7c2a-4e84-aeec-583650684eac</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Did you get this working kordi?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98647?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 06:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1ef8631-160b-4fd5-ae74-f251aca82fa5</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;The instructions given do not work at all for me.&lt;/p&gt;
&lt;p&gt;After fighting with various versions of compilers/linbraries I gave up on trying to compile with hardfp support. Switched to softfp mode and ripped out all the motion stuff from the source code to get it to compile and it still doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Furthest I got is this (GCC):
Linking target: nrf52832_xxaa_s132.out
/usr/libexec/gcc/arm-none-eabi/ld: section .rel.dyn LMA [0000000000035bc4,000000000003672b] overlaps section .data LMA [0000000000035bc4,0000000000036613]
/usr/libexec/gcc/arm-none-eabi/ld: section .dynamic LMA [0000000000036614,00000000000366cb] overlaps section .rel.dyn LMA [0000000000035bc4,000000000003672b]
/usr/libexec/gcc/arm-none-eabi/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: error: ld returned 1 exit status&lt;/p&gt;
&lt;p&gt;Nordic, massively disapointed here.&lt;/p&gt;
&lt;p&gt;What are the steps to get a project to compile?&lt;/p&gt;
&lt;p&gt;PS: Bonus gripes: Your path setup with all the relative/absolute and &amp;quot;../../../&amp;quot; path is horrible. Also, make with more than one thread completely bombs because your dependencies are not set up. That&amp;#39;s really sloppy :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98652?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 20:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a18ac34-42e7-40a9-8e4b-0a6c4f356115</guid><dc:creator>kordi</dc:creator><description>&lt;p&gt;And I think I understand about what You say )) I&amp;#39;m just a little worked in Linux environment Thank you I will try)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly build a project for Nordic Thingy 52 ?</title><link>https://devzone.nordicsemi.com/thread/98650?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 13:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc2be76-02aa-4022-886a-7544248a7ebc</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Try to follow this &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_compile.html"&gt;link&lt;/a&gt; using Keil. Should hopefully work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>