<?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>Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45543/issue-with-command-line-compilation-of-nrf9160-samples</link><description>Hello, 
 I have configured the toolchain and SDK by following the NRF Connect getting started guide and followed the below steps to compile the mqtt_simple application (on master branch and using a MAC): 
 export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb  export</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2019 08:47:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45543/issue-with-command-line-compilation-of-nrf9160-samples" /><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/183039?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 08:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:106ba893-6181-4704-ba00-e0ddd8ed95d4</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Yes, there should be a new release tagged soon. In regards to the NCS master branch, there has been an update in &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/segger-embedded-studio-nordic-edition-updates-v4-16"&gt;this blog post here&lt;/a&gt;. Segger finally has support for the Zephyr master branch now!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have tested this myself &amp;amp; followed the following procedure (using Windows 10). Remember to run choco commands using an Administrator command prompt. First, I upgraded to the latest nRF Getting Started Assistant guide in nRF Connect. If you have already installed the toolchain, you can skip the first two commands:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;choco feature enable -n allowGlobalConfirmation
choco install -y cmake --installargs &amp;#39;ADD_CMAKE_TO_PATH=System&amp;#39;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For all of the following choco install commands, I instead ran choco upgrade (see example below):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;choco upgrade git&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After each upgrade, I verified the upgrade by pressing the Verify button in the nRF Connect for Desktop app.&lt;/p&gt;
&lt;p&gt;In the &amp;quot;Clone the nRF Connect SDK&amp;quot; section, I ran the following command first:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pip3 install west --upgrade&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I then created a new ncs folder. After running the &amp;quot;west init&amp;quot; command, I then ran &amp;quot;west update&amp;quot; when prompted to do so in the command prompt (if you want to use the master branch). If you want to use a tagged branch, see the command below this one. I was not able to verify the west init step unfortunately (most likely because I named by ncs folder ncs_master instead of ncs).&lt;/p&gt;
&lt;p&gt;I then deleted the old Segger v4.14 (the one used for NCS) &amp;amp; installed the new v4.16. I find it is helpful to make a shortcut of the emStudio.exe file. That way, you won&amp;#39;t need to go to that folder every time you want to launch SES.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1abbe5f136e54c8882c125b10cf35407/pastedimage1556009253844v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The first time, I received an error code 1. I needed to change the zephyr base as described in the linked blog post.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If you have any more questions regarding this, please open a new devzone case, as this thread is becoming large &amp;amp; slightly disorganized.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/182479?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2019 01:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba19c1f-95af-41dd-916b-cb513e6dd5f0</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;There has to be a new release tagged sometime soon, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/182325?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 10:32:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f966ce6-310f-4baa-89dd-f75c23d71989</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry for the delayed response everyone. I have been on a business trip &amp;amp; am now on vacation. Due to Easter break there will be lower support staffing, but DevZone should be fully staffed again next week from the 23rd of April. I will take a look at this case ASAP once I am back in office. You should have an answer latest by the 24th of April.&lt;/p&gt;
&lt;p&gt;The examples in the master branch have not been as rigorously tested as the &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/releases"&gt;tagged versions of Nordic Connect SDK&lt;/a&gt;, so there&amp;nbsp;are bound to be more bugs in the master branch.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/182218?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 02:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60fbf04b-aff2-4db1-a67c-9c444a2ea8b2</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;Oh man. Continuous integration should include windows buildts too.. Maybe use appveyor.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;&amp;nbsp;can you please have the devs take a look at this. Alternatively Gregory, you can actually do a git blame on the line in question and find the commit then make a comment I think...hmm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/182072?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 10:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:624d0621-0e3b-465d-baf3-1f51d5b61a9f</guid><dc:creator>Gregor Bader</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jbrzozoski"&gt;jbrzozoski&lt;/a&gt; Found Solution:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46208/nrf-connect-sdk-broken-for-nrf9160-command-line-build-on-windows"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46208/nrf-connect-sdk-broken-for-nrf9160-command-line-build-on-windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/181441?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 04:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a25baa07-aa52-4070-a3e4-5f68a233243f</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;Another clue: I was able to build from HEAD of master on an Ubuntu setup, and my failing builds earlier today were on Windows.&amp;nbsp; Now I&amp;#39;m hoping it&amp;#39;s something stupid like a /-vs-\ slash item in some Kconfig or CMake file somewhere...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/181392?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 17:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8500bed0-613c-480a-9ec1-12339caccf85</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;Those commits weren&amp;#39;t back to back, but I&amp;#39;m fighting the same issue and so just iterated through &amp;#39;git bisect&amp;#39;.&amp;nbsp; Here is the final output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;b5123a4edfe18cdd80a5d1972feb9791b8463e25 is the first bad commit
commit b5123a4edfe18cdd80a5d1972feb9791b8463e25
Author: Robert Lubos &amp;lt;robert.lubos@nordicsemi.no&amp;gt;
Date:   Thu Apr 4 14:51:57 2019 +0200

    manifest: update fw-nrfconnect-zephyr

    Update fw-nrfconnect-zephyr revision to reference latest upmerge.

    Signed-off-by: Robert Lubos &amp;lt;robert.lubos@nordicsemi.no&amp;gt;

:100644 100644 fc4ad48cc887a00a67d7be32da7b4891057df750 d049a0e6ba8e5cf227c3f9e403c4551caee7d4c0 M      west.yml&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/181310?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 11:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0da34bae-c151-4228-9f0b-a7f1cd75addb</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;Thank you. Are these commits back to back? If so, I think you&amp;#39;ve just given Nordic a big clue as to what caused the problem. &lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/181292?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 11:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aff72b84-7988-40f8-b877-33ac6ad96a2b</guid><dc:creator>Gregor Bader</dc:creator><description>&lt;p&gt;I&amp;#39;m getting these errors with latest github sources too!&lt;/p&gt;
&lt;p&gt;An older checkout (from 28. march) is working correctly.&lt;/p&gt;
&lt;p&gt;Error with: &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/commit/f8233c7a88c7d4a1fd2094da52833d030fa8e338"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/commit/f8233c7a88c7d4a1fd2094da52833d030fa8e338&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Working with: &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/commit/dea29b663b047a473b3767a8ecbbc4599b39577a"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/commit/dea29b663b047a473b3767a8ecbbc4599b39577a&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/181258?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 08:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fede1049-1b16-4cc3-9942-f2a887e00704</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/rkguy"&gt;rkguy&lt;/a&gt; Have you deleted the build folder before you tried building the spm example? I tried to build using the:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf9160_pca10090 -d build&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;which worked. When building the spm example, it is important to set the board to nrf9160_pca10090 instead of nrf9160_pca10090ns because the spm example sets the secure peripherals. Therefore, you should not use the nrf9160_pca10090ns, which refers to the non-secure version of the board. Use the nrf9160_pca10090 board instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/180889?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 04:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b504b45-629b-4273-a8e4-ffb758680211</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;I am still getting similar errors when trying to build for the secure boot (now called spm?):&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ cmake -DBOARD=nrf9160_pca10090 -GNinja ..
-- Using application from &amp;#39;C:/PROJECTCODE/ncs/nrf/samples/nrf9160/spm&amp;#39;
Zephyr version: 1.14.0
-- Found PythonInterp: C:/Python37/python.exe (found suitable version &amp;quot;3.7.2&amp;quot;, minimum required is &amp;quot;3.4&amp;quot;)
-- Selected BOARD nrf9160_pca10090
-- Found west: C:/Python37/Scripts/west.exe (found suitable version &amp;quot;0.5.7&amp;quot;, minimum required is &amp;quot;0.5.6&amp;quot;)
-- Cache files will be written to: C:\Users\ruben\AppData\Local/.cache/zephyr
-- Loading C:/PROJECTCODE/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying C:/PROJECTCODE/ncs/zephyr/dts/common/common.dts
-- Overlaying C:/PROJECTCODE/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay

C:/PROJECTCODE/ncs/nrf/samples/nrf9160/spm/prj.conf:2: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SPM
Parsing Kconfig tree in C:/PROJECTCODE/ncs/zephyr/Kconfig
Loading C:/PROJECTCODE/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base
Merging C:/PROJECTCODE/ncs/nrf/samples/nrf9160/spm/prj.conf

Error: Aborting due to non-whitelisted Kconfig warning
&amp;#39;C:/PROJECTCODE/ncs/nrf/samples/nrf9160/spm/prj.conf:2: warning: attempt to assign the value &amp;#39;y&amp;#39; to
the undefined symbol SPM&amp;#39;. Note: If this warning doesn&amp;#39;t point to an actual problem, you can add it
to the whitelist at the top of C:/PROJECTCODE/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at C:/PROJECTCODE/ncs/zephyr/cmake/kconfig.cmake:191 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/PROJECTCODE/ncs/zephyr/cmake/app/boilerplate.cmake:476 (include)
  CMakeLists.txt:3 (include)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/180387?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 19:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bbd1bb-01df-4a3c-9ca5-14b174a20696</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/martin"&gt;Martin&lt;/a&gt; Thanks for letting us know! We are aware of this issue &amp;amp; are busy looking for a fix.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/rf"&gt;Ryan Farrelly&lt;/a&gt; Thanks for the tips!&lt;/p&gt;
&lt;p&gt;In addition to using cmake &amp;amp; ninja, it is also possible to use the Zephyr west tool to build &amp;amp; program the board. These two links helped me figure this out: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44879/build-nrf-connect-sdk-project-via-command-line"&gt;link 1&lt;/a&gt;, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html#getting-started-run-sample"&gt;link 2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Inside ncs/zephyr/zephyr-env.cmd:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;@echo off
set ZEPHYR_BASE=%~dp0

if exist &amp;quot;%userprofile%\zephyrrc.cmd&amp;quot; (
	call &amp;quot;%userprofile%\zephyrrc.cmd&amp;quot;
)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you define zephyrrc.cmd inside your user profile (i.e. C:/Users/&amp;lt;username&amp;gt;/), you can write:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;@echo off
echo zephyrrc_running

set ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
set GNUARMEMB_TOOLCHAIN_PATH=C:\gnuarmemb
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;That way, when you call zephyr-env.cmd from a command prompt window, you set the Zephyr base, zephyr toolchain variant &amp;amp; gnuarmemb toolchain path without needing to write the three commands each time. This may not work with a bash window (e.g. git bash) because the username may be different.&lt;/p&gt;
&lt;p&gt;You can then follow this link to download NCS &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/getting_started/index.html#getting-started-run-sample"&gt;using west&lt;/a&gt;. To build the at_client example for example, change directory to ncs/samples/nrf9160/at_client &amp;amp; then run the following commands:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf9160_pca10090ns -d build
west flash -d build

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can then flash using:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash -d build&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/180120?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 22:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f2f2adf-11c5-4e67-8131-ef7de0a277de</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;I have the same problem.&lt;/p&gt;
&lt;p&gt;The issue is that with Segger Embedded Studio 4.14 (Nordic Version) it is NOT possible to build code after 0.3.X.&lt;br /&gt;It works on the command line with generating ninja files with cmake and then building with ninja.&lt;/p&gt;
&lt;p&gt;If I copy the command line that is displayed in the SES output it works also!!!&lt;br /&gt;Therefore the environment variables that I set in the .bashrc are obviously set in the terminal but do not get defined when starting SES from the desktop, make the difference.&lt;br /&gt;If I start SES directly from the terminal it works also.&lt;br /&gt;&lt;br /&gt;What also works is starting the project with SES then coping the command line to the terminal and let the project generate. Then I can open the project normally with SES.&lt;/p&gt;
&lt;p&gt;So Nordic / Segger &amp;nbsp;please have a look at this issue ....&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;- Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/180085?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d4a6e99-bd81-4ed6-9f43-f58af1126d04</guid><dc:creator>Ryan Farrelly</dc:creator><description>&lt;p&gt;Ok, managed to get this to work i.e, build, compile and flash.&lt;/p&gt;
&lt;p&gt;Before anything, follow the steps in the NRF Connect making sure all dependancies are installed but stay on Master branch.&lt;/p&gt;
&lt;p&gt;Set up your .bash_profile like this:&lt;/p&gt;
&lt;p&gt;export ZEPHYR_BASE=/path/to/ncs/zephyr&lt;br /&gt;export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb&lt;br /&gt;export GNUARMEMB_TOOLCHAIN_PATH=/path/to/gcc-arm-none-eabi-7-2018-q2-update&lt;br /&gt;source /path/to/ncs/zephyr/zephyr-env.sh&lt;/p&gt;
&lt;p&gt;From the ncs root directory:&lt;br /&gt;west init -l nrf&lt;br /&gt;west update&lt;/p&gt;
&lt;p&gt;Go to mqtt_simple/build ( clean the build folder if already exists )&lt;br /&gt;cmake -DBOARD=nrf9160_pca10090ns -GNinja ..&lt;/p&gt;
&lt;p&gt;NOTE: You may get an error about &amp;lsquo;pykwalify&amp;rsquo; not being installed: &lt;br /&gt;pip uninstall pykwalify &lt;br /&gt;pip install pykwalify&lt;/p&gt;
&lt;p&gt;Run cmake:&lt;br /&gt;cmake -DBOARD=nrf9160_pca10090ns -GNinja ..&lt;br /&gt;ninja&lt;br /&gt;ninja flash&lt;/p&gt;
&lt;p&gt;NOTE: Make sure you have the latest nrfjprog otherwise the ninja flash command won&amp;rsquo;t work and will complain about memory access alignment. And of course, the secure boot should be flashed prior to the main application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/179865?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 01:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df05308c-eb3d-48f4-b0fb-c0633e20e855</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;+1 same problem here ....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/179418?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e8acdb6-1213-429b-adc2-e1114bef67f0</guid><dc:creator>Ryan Farrelly</dc:creator><description>&lt;p&gt;Thanks for replying. I&amp;#39;ve tried all all of your suggestions but the problem persists.&lt;/p&gt;
&lt;p&gt;1. I changed the the gcc compiler to version you specified (&lt;span&gt;v7 q2 from 2018) and have tried three other versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. The link you provided is what I have followed originally, I&amp;#39;ve also changed the structure of the cmake command.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Changing prj.conf values will throw the following error e.g: &amp;#39;&lt;strong&gt;&lt;em&gt;warning: ignoring malformed line &amp;#39;LTE_LINK_CONTROL=y&lt;/em&gt;&lt;/strong&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with command line compilation of NRF9160 samples</title><link>https://devzone.nordicsemi.com/thread/179398?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc35e01-021c-4486-914f-090bd2ffe14b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Which version of the GNU ARM EMB toolchain are you using? v7 q2 from 2018 or v8 q4 from 2018? If you are using v8 q4, this may be related to this. Could you try using v7 q2 from 2018 instead?&lt;/p&gt;
&lt;p&gt;It may also be the way you have structured your cmake command. Have you taken a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44879/build-nrf-connect-sdk-project-via-command-line"&gt;this link&lt;/a&gt; to see how to build the zephyr master branch?&lt;/p&gt;
&lt;p&gt;In addition, in your prj.conf file in the mqtt_simple folder, does it say&amp;nbsp;CONFIG_LTE_LINK_CONTROL=y or LTE_LINK_CONTROL=y. If it is the latter, I would change it to the former.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>