<?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 can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54500/how-can-i-write-the-cmakelists-and-generate-the-hex-file-for-bootloader</link><description>Hi, 
 I try to use cmake in Linux to get the hex file fo bootloader. The Platform is nrf52832_xxAA, the toolchain is gccarmemb. I read the given cmakelists but many variables have not been defined already and as a result, I cannot generate the hex file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Nov 2019 15:17:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54500/how-can-i-write-the-cmakelists-and-generate-the-hex-file-for-bootloader" /><item><title>RE: How can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/thread/221374?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 15:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:543e8ec4-ee7f-468b-8368-f94f41329d34</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you continue the discussion in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/54518/how-can-the-code-create_hex-work-in-bootloader-s-cmakelists"&gt;this thread&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/thread/221183?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 01:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ef2cf9-23f5-48b0-8080-cf73847f9563</guid><dc:creator>ZHENGXIANG</dc:creator><description>&lt;p&gt;I have correctly installed all the tools which shows in the given document:&amp;nbsp;&lt;a title="Installing the toolchain" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.2.0/md_doc_getting_started_how_to_toolchain.html?cp=6_2_1_1"&gt;Installing the toolchain&lt;/a&gt;&lt;span&gt;&amp;nbsp;(for Linux). The only thing I do in the cmakelists is adding&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;project(bootloader)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;cmake_minimum_required(VERSION 3.9)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to the top and make it work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also follow the steps in&amp;nbsp;&lt;a title="Building the mesh stack and examples" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v3.2.0/md_doc_getting_started_how_to_build.html?cp=6_2_1_2"&gt;Building the mesh stack and examples&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, the official file seems to be incomplete and cannot generate the hex file. In the path&amp;nbsp;\nrf5SDKforMeshv320src\bin\bootloader\gccarmemb, I find the correct hex file.&amp;nbsp;I want to generate these hex files from the cmakelists given by Nordic and I cannot do that. There must be some problem with the cmakelists so could you please show me the correct one?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/thread/221014?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 10:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd3c89c-f4f5-4864-9bab-d499fdba6f06</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Okay, my fault. I was mixing it with the NCS, where CMake is used everywhere. I&amp;#39;ll look into your issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/thread/220957?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 01:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2422da1e-7ca1-45af-93a0-2682e8f1a41d</guid><dc:creator>ZHENGXIANG</dc:creator><description>&lt;p&gt;I cannot understand what you say. Because all of my screenshot is from nRF5 SDK for MESH file. You can find these code in&amp;nbsp;\nrf5SDKforMeshv320src\mesh\bootloader\cmakelists.txt.&lt;/p&gt;
&lt;p&gt;The following document is the cmakelists:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2148.CMakeLists.txt"&gt;devzone.nordicsemi.com/.../2148.CMakeLists.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I cannot use this cmakelists to generate the hex file, could you please give me the correct cmakelists?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I write the cmakelists and generate the hex file for bootloader?</title><link>https://devzone.nordicsemi.com/thread/220758?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 09:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd35dd53-269e-4f27-99d3-5fc1c6ca0fa0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Before answering your question I would like to ask why you are using &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;NCS&lt;/a&gt; for the nRF52832? We mainly give support for questions where nrf52/nRF51 devices are used along with the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_nrf5_latest.html&amp;amp;cp=6_1"&gt;nRF5 SDK&lt;/a&gt;. Is this choice intentional?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could also ask for help in the&amp;nbsp;Zephyr&amp;nbsp;&lt;a href="https://lists.zephyrproject.org/mailman3/lists/"&gt;mailing list&lt;/a&gt;&amp;nbsp;or join the #zephyrproject IRC channel.&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>