<?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>Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations</link><description>I created two build configurations a Debug and a Release in SES IDE. 
 Build &amp;gt; Build Configurations... 
 I wanted to select the DEBUG_OPTIMIZATIONS level for the Debug build configuration and the SPEED_OPTIMIZATIONS for the Release one. 
 In Project Explorer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Mar 2022 13:43:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations" /><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/360332?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 13:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c948b54c-572d-4b7f-be8a-f6d1e2f021e0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I just opened the nrf_desktop example I referenced and it seems to work here, I did however use NCS v1.7.1.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/360306?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:48:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84f698f0-9b56-4d8d-9770-1584773ee30c</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;I am using nRF Connect SDK&amp;nbsp;v1.7.0.&amp;nbsp;Zephyr OS build v2.6.99-ncs1&lt;br /&gt; and&amp;nbsp;SES-Nordic Edition v5.60&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;SEGGER Embedded Studio for ARM&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Release 5.60&amp;nbsp;&amp;nbsp;Build 2021081102.47262&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Nordic Edition&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Windows x64&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;copy; 2014-2021 SEGGER Microcontroller GmbH&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;copy; 1997-2021 Rowley Associates Ltd.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-as: version 2.11&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-cc: version 12.2.1&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-cc-ng: version 12.91.6&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-ld: version 4.12.1&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-rtl: version 2.22.0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/360216?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 09:32:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5525220-71e6-422c-8e2c-2bd042b51b57</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Which version of NCS are you working on, and are you using the SES that is&amp;nbsp;bundled&amp;nbsp;with the NCS release or a newer one?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/360200?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 08:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2663146b-1567-48f3-abb8-05aa9f5db0a2</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Thank you Kenneth.&lt;/p&gt;
&lt;p&gt;I should be able to build different build configurations in SES e.g. &amp;#39;debug&amp;#39; or &amp;#39;release&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Build &amp;gt; Build Configurations...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, when I try to do this SES stop responding to any subsequent key presses. I have to press the ESC key to get SES to&amp;nbsp;escape from this strange mode. However, this also means I escaped the &lt;strong&gt;Build Configurations...&lt;/strong&gt; menu. So, I cannot build configurations. The only one available is the default &lt;strong&gt;Common &lt;/strong&gt;configuration shown in the top left hand side&amp;nbsp;above the Project explorer in SES IDE.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;Kind regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mohamed&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/358450?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 14:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1767bca-8b0d-460d-8b74-1783ce45d502</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you take a random application example, e.g. nRF Desktop which have a lot of build types:&lt;br /&gt;nrf\applications\nrf_desktop&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#selecting-a-build-type"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#selecting-a-build-type&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#nrf-desktop-requirements-build-types"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#nrf-desktop-requirements-build-types&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does that work as you expect? I don&amp;#39;t understand what problems you may have, since there are examples that already does this that you should be able to compare with.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/358449?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 14:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a912ee1-3bb4-4dbf-94d4-2d0a624ec2a0</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;div&gt;Maybe I did not make myself very clear in my previous message.&lt;/div&gt;
&lt;div&gt;I inherited the CMakelists.txt from a colleague not from ncs.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I would appreciate it a great deal if you could address the following:&lt;/div&gt;
&lt;div&gt;I&amp;nbsp;still cannot create debug and release configurations in SES. I asked this question over a year ago in this ticket but I still don&amp;#39;t know how to do it. Can you help?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/358447?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 13:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e083ec-5fb5-4b37-ad4f-425eaacfbaac</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I searched through all the&amp;nbsp;CMakeLists.txt in ncs, and I could not find these lines used anywhere, do you know where you have gotten these lines of code?&amp;nbsp;In any case, I suggest to remove them and follow the description in the documentation how to set build type.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#configuring-build-types"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#configuring-build-types&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/358259?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 14:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47b516ed-b82e-4be3-b1e0-375cc93bddfc</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for your on-going support. I do appreciate it.&lt;/p&gt;
&lt;p&gt;I have found the root cause of my problem. It is self-inflicted.&lt;/p&gt;
&lt;p&gt;I inherited a CMakelists.txt and in there I found these configuration lines,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;if (NOT CMAKE_BUILD_TYPE)&lt;/em&gt;&lt;br /&gt;&lt;em&gt; &lt;/em&gt;&lt;span style="background-color:#ffff00;"&gt;&lt;em&gt;set(&lt;strong&gt;CMAKE_BUILD_TYPE&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;em&gt; debug&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;)&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;endif()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;# Set main PID4 configuration file&lt;/em&gt;&lt;br /&gt;&lt;em&gt;set(CONF_FILE &amp;quot;${CMAKE_CURRENT_LIST_DIR}/&lt;strong&gt;prj_${CMAKE_BUILD_TYPE}.conf&lt;/strong&gt;&amp;quot;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So, it was always the &lt;strong&gt;prj_debug.conf&lt;/strong&gt; that was used. It seems the content of the CMakelists.txt overrides whatever I specify in SES using -DCONF_FILE=....&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tools &amp;gt; Options &amp;gt; nRF Connect&lt;/strong&gt;&lt;span&gt;&amp;nbsp;then added&amp;nbsp;&lt;/span&gt;&lt;em&gt;-DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/p&gt;
&lt;div&gt;Now, I just change the line highlighted in yellow above to switch between debug and release configuration.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;However, I&amp;nbsp;still cannot create debug and release configurations in SES. I asked the question over a year ago in this ticket but I still don&amp;#39;t know how to do it. Can you hel?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357843?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 08:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4567e5f7-6078-48af-b7b5-ef2241eb520c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you tried (at least for testing) to compile your project from command line using west and/or visual studio code? That can at least provide information if the issue is related to SES or not.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357231?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 15:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59ac8819-300f-4d00-9dc5-adfc699b7b11</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Yes, I have but no success still.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In SES I did&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Tools &amp;gt; Options &amp;gt; nRF Connect&lt;/strong&gt;&amp;nbsp;then added&amp;nbsp;&lt;em&gt;-DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;File &amp;gt; Open nRF Connect SDK Project...&amp;nbsp;&lt;/strong&gt;to re-open the project&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;did a new build in a new empty build folder but the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;.config&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;file is still not being updated with my config that is in prj_release.conf.&lt;/p&gt;
&lt;p&gt;For example I set&amp;nbsp;&lt;strong&gt;CONFIG_LOG=n&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;prj_release.conf&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;but in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;.config&lt;/em&gt;&amp;nbsp;in the new build folder I see&amp;nbsp;&lt;strong&gt;CONFIG_LOG=y&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I then ran Cmake, as you suggested,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Project &amp;gt; Run CMake&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But nothing has changed in the .config file, see extract from the log trace below,&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;Creating solution HomeBeacon_dev_sb.emProject&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Application: C:/Sandbox/HomeBeacon_dev_sb&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Zephyr version: 2.6.99 (C:/Zypher/v1.7.0/zephyr), build: v2.6.99-ncs1&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found west (found suitable version &amp;quot;0.11.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Board: nrf52833dk_nrf52833&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Cache files will be written to: C:/Zypher/v1.7.0/zephyr/.cache&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found dtc: C:/Zypher/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found toolchain: gnuarmemb (C:/Zypher/v1.7.0/toolchain/opt)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found BOARD.dts: C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found devicetree overlay: C:/Sandbox/HomeBeacon_dev_sb/nrf52833dk_nrf52833.overlay&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated zephyr.dts: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/zephyr.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated devicetree_unfixed.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/include/generated/devicetree_unfixed.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated device_extern.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/include/generated/device_extern.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Including generated dts.cmake file: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/dts.cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Parsing C:/Sandbox/HomeBeacon_dev_sb/Kconfig&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Loaded configuration &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/.config&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;color:#0000ff;"&gt;No change to configuration in &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/.config&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;No change to Kconfig header in &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/zephyr/include/generated/autoconf.h&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Application: C:/Zypher/v1.7.0/bootloader/mcuboot/boot/zephyr&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Zephyr version: 2.6.99 (C:/Zypher/v1.7.0/zephyr), build: v2.6.99-ncs1&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found west (found suitable version &amp;quot;0.11.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Board: nrf52833dk_nrf52833&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Cache files will be written to: C:/Zypher/v1.7.0/zephyr/.cache&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found dtc: C:/Zypher/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found toolchain: gnuarmemb (C:/Zypher/v1.7.0/toolchain/opt)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found BOARD.dts: C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found devicetree overlay: C:/Zypher/v1.7.0/bootloader/mcuboot/boot/zephyr/dts.overlay&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found devicetree overlay: C:/Zypher/v1.7.0/bootloader/mcuboot/boot/zephyr/dts.overlay&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated zephyr.dts: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/zephyr.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated devicetree_unfixed.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/include/generated/devicetree_unfixed.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated device_extern.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/include/generated/device_extern.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Including generated dts.cmake file: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/dts.cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Parsing C:/Zypher/v1.7.0/bootloader/mcuboot/boot/zephyr/Kconfig&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Loaded configuration &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/.config&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;No change to configuration in &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/.config&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;No change to Kconfig header in &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot/zephyr/include/generated/autoconf.h&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Configuring done&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generating done&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Build files have been written to: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake/mcuboot&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Partition &amp;#39;mcuboot&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Partition &amp;#39;mcuboot_pad&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Partition &amp;#39;mcuboot_primary&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Partition &amp;#39;mcuboot_primary_app&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Partition &amp;#39;mcuboot_secondary&amp;#39; is not included in the dynamic resolving since it is statically defined.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Dropping partition &amp;#39;nvs_storage&amp;#39; since its size is 0.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Configuring done&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generating done&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Build files have been written to: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1399_cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Including boilerplate (Zephyr base (cached)): C:/Zypher/v1.7.0/zephyr/cmake/app/boilerplate.cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Using NCS Toolchain 1.7.0 for building. (C:/Zypher/v1.7.0/toolchain/cmake)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;=== child image mcuboot - begin ===&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Including boilerplate (Zephyr base (cached)): C:/Zypher/v1.7.0/zephyr/cmake/app/boilerplate.cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Using NCS Toolchain 1.7.0 for building. (C:/Zypher/v1.7.0/toolchain/cmake)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;MCUBoot bootloader key file: C:/Zypher/v1.7.0/bootloader/mcuboot/root-rsa-2048.pem&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;=== child image mcuboot - end ===&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;CMake Warning at C:/Zypher/v1.7.0/nrf/modules/mcuboot/CMakeLists.txt:204 (message):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;---------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; --- WARNING: Using default MCUBoot key, it should not ---&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; --- be used for production. ---&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; ---------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Loading solution HomeBeacon_dev_sb.emProject&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Loading solution build.emProject&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Mapping project information&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Mapping project zephyr/merged.hex&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Mapping project all&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;Let me know if you would like to see the whole trace.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;Kind regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#000000;"&gt;Mohamed&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357209?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 14:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:099c4d5b-6fdc-4216-a78b-5267a101a825</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you tried the&amp;nbsp;other option also?&amp;nbsp;&lt;br /&gt;&lt;span&gt;- Run Cmake with Project &amp;gt; Run CMake.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357196?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 14:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc12c43-c4cb-4de5-a815-7ebdd227f0ff</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for your answers.&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/357171#357171"]I am not sure why the documentation says not to choose clean build directory, unless there are some configurations you have set using menuconfig in SES that you may want to keep.&amp;nbsp;[/quote]
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I am not aware of any configurations I have in SES that I would like to keep.&lt;/div&gt;
&lt;div&gt;How do I check whether I have configurations set in SES using menuconfig?&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/357171#357171"]&lt;p&gt;&lt;em&gt;&amp;gt;&amp;nbsp;When I open the project after performing the actions in Q2/ above, I see in SES logs that prj_debug.conf is being merged instead of prj_release.conf as specified in -DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This is likely because you don&amp;#39;t clean the build folder and/or CMake does not run.&lt;/p&gt;[/quote]
&lt;p&gt;I have tried both with and without selecting the &amp;#39;Clean Build folder&amp;#39; option and I still see prj_debug.conf instead of prj_release.conf being merged in .config. as reported in my previous post.&lt;/p&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357171?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 13:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dbc9115-e115-4776-bc83-90a82ba09a89</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure why the documentation says not to choose clean build directory, unless there are some configurations you have set using menuconfig in SES that you may want to keep.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;gt;&amp;nbsp;What is the difference between re-opening and re-loading a project?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;nbsp;close and open the same project with &amp;quot;clean build directory&amp;quot; not chosen, then this can cause items from the cache/build folder to impact configuration, and that changes in prj.conf. cmakelist.txt is not applied. To ensure the changes are applied then CMake must run, which can be done by either of the following:&lt;/p&gt;
&lt;p&gt;- Open the project again with &amp;quot;Open nRF Connect SDK project&amp;quot;, make sure to choose &amp;quot;clean build directory&amp;quot;.&lt;/p&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;p&gt;- Run Cmake with Project &amp;gt; Run CMake.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;gt;&amp;nbsp;When I open the project after performing the actions in Q2/ above, I see in SES logs that prj_debug.conf is being merged instead of prj_release.conf as specified in -DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This is likely because you don&amp;#39;t clean the build folder and/or CMake does not run.&lt;/p&gt;
&lt;p&gt;If you reload the project with Project &amp;gt; Reload &amp;lt;project name&amp;gt;, then CMake does not run.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357072?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 09:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82945b70-9412-496d-8117-6964bcaf294b</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Good morning Kenneth,&lt;/p&gt;
&lt;p&gt;I appreciate you are trying to get me to migrate to VS Code but unfortunately, the team and management&amp;nbsp;are reluctant to make the switch right now. So, we need to get this sorted as soon as possible. If you cannot solve this problem maybe you can consult with other members in your team.&lt;/p&gt;
&lt;p&gt;These are the outstanding questions I would like help with.&lt;/p&gt;
&lt;p&gt;Q1/&amp;nbsp;&lt;/p&gt;
[quote userid="92434" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/356975#356975"]&lt;div&gt;From the link you sent me, it is stated in &lt;strong&gt;step 4 Do not select&amp;nbsp;&lt;span class="guilabel"&gt;Clean Build Directory&lt;/span&gt;&lt;/strong&gt;.&lt;/div&gt;
&lt;div&gt;Why is this the case?&lt;/div&gt;[/quote]
&lt;p&gt;Q2/&amp;nbsp;&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/355585#355585"]That said, the description for SES should be as stated here (seems there are two different ways it can be done in SES if you see the Note also below the first suggestion):&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses&lt;/a&gt;&amp;nbsp;[/quote]
&lt;p&gt;If I choose to select the project conf file using the second method as shown below&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tools &amp;gt; Options &amp;gt; nRF Connect&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;&amp;nbsp;&amp;gt;&amp;nbsp;Additional CMake Options&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;-DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;File &amp;gt; Open nRF Connect SDK Project...&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;to re-open the project&lt;/p&gt;
&lt;p&gt;Can I select to do a &amp;#39;Clean Build Directory&amp;#39;?&lt;/p&gt;
&lt;div&gt;Q3/&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;What is the&amp;nbsp;difference between re-opening and re-loading a project?&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Q4/ When I open the project after performing the actions in Q2/ above, I see in SES logs that prj_debug.conf is being merged instead of prj_release.conf as specified in &lt;em&gt;&lt;strong&gt;-DCONF_FILE=prj_release.conf&lt;/strong&gt;. See logs below.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color:#0000ff;"&gt;Creating solution HomeBeacon_dev_sb.emProject&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/em&gt;&lt;em&gt;&lt;span style="color:#0000ff;"&gt;C:/Zypher/v1.7.0/toolchain/opt/bin/&lt;strong&gt;cmake.exe&lt;/strong&gt; -GNinja -DBOARD=nrf52833dk_nrf52833 -DBOARD_DIR=C:\Zypher\v1.7.0\zephyr\boards\arm\nrf52833dk_nrf52833 -BC:\Sandbox\HomeBeacon_dev_sb\build_nrf52833dk_nrf52833_rel_v1_3_99 -SC:\Sandbox\HomeBeacon_dev_sb -DNCS_TOOLCHAIN_VERSION=1.7.0 &lt;strong&gt;&lt;span style="background-color:#ffff00;"&gt;-DCONF_FILE=prj_release.conf&lt;/span&gt;&lt;/strong&gt; -DDTC_OVERLAY_FILE=C:/Sandbox/HomeBeacon_dev_sb/nrf52833dk_nrf52833.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Zypher\v1.7.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Application: C:/Sandbox/HomeBeacon_dev_sb&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Zephyr version: 2.6.99 (C:/Zypher/v1.7.0/zephyr), build: v2.6.99-ncs1&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found Python3: C:/Zypher/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found west (found suitable version &amp;quot;0.11.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Board: nrf52833dk_nrf52833&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Cache files will be written to: C:/Zypher/v1.7.0/zephyr/.cache&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found dtc: C:/Zypher/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found toolchain: gnuarmemb (C:/Zypher/v1.7.0/toolchain/opt)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found BOARD.dts: C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Found devicetree overlay: C:/Sandbox/HomeBeacon_dev_sb/nrf52833dk_nrf52833.overlay&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated zephyr.dts: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/zephyr.dts&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated devicetree_unfixed.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/include/generated/devicetree_unfixed.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Generated device_extern.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/include/generated/device_extern.h&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;-- Including generated dts.cmake file: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/dts.cmake&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Parsing C:/Sandbox/HomeBeacon_dev_sb/Kconfig&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Loaded configuration &amp;#39;C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="background-color:#ffff00;color:#0000ff;"&gt;Merged configuration &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/prj_debug.conf&amp;#39;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Configuration saved to &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/.config&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Kconfig header saved to &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_rel_v1_3_99/zephyr/include/generated/autoconf.h&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="color:#0000ff;"&gt;...&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;span&gt;Kind regards&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;Mohamed&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/357043?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 08:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac67e3c8-5065-4044-8c07-a81471cd4b2f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you please try building from command line using west and/or transition to Visual Studio code?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/356975?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 17:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e32c2fb-ef9c-4124-bd1b-000969ad0431</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/355585#355585"]That said, the description for SES should be as stated here (seems there are two different ways it can be done in SES if you see the Note also below the first suggestion):&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses&lt;/a&gt;&amp;nbsp;[/quote]
&lt;div&gt;From the link you sent me, it is stated in &lt;strong&gt;step 4 Do not select&amp;nbsp;&lt;span class="guilabel"&gt;Clean Build Directory&lt;/span&gt;&lt;/strong&gt;.&lt;/div&gt;
&lt;div&gt;Why is this the case?&lt;/div&gt;
&lt;div&gt;I thought starting with a clean build folder is often if not always good practice.&lt;/div&gt;
&lt;div&gt;Please clarify.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thank you.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355608?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 14:58:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a7d8b0-8731-4e72-84ee-ebd2c5315ae0</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SES_5F00_Creating_5F00_Solution_5F00_Log.txt"&gt;devzone.nordicsemi.com/.../SES_5F00_Creating_5F00_Solution_5F00_Log.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SES_5F00_Building_5F00_Solution_5F00_Log.txt"&gt;devzone.nordicsemi.com/.../SES_5F00_Building_5F00_Solution_5F00_Log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you Kenneth.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;You can also specify the build type in the&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;Additional CMake Options&lt;/span&gt;&lt;span&gt;&amp;nbsp;field in&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;Tools&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;Options&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;nRF Connect&lt;/span&gt;&lt;span&gt;. However, &lt;strong&gt;the changes will only be applied after re-opening the project. Reloading the project is not sufficient&lt;/strong&gt;.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am not sure what the&amp;nbsp;difference is between re-opening and re-loading a project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In SES I did&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Tools &amp;gt; Options &amp;gt; nRF Connect&lt;/strong&gt; then added &lt;em&gt;-DCONF_FILE=prj_release.conf&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;File &amp;gt; Open nRF Connect SDK Project... &lt;/strong&gt;to re-open the project&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;did a new build in a new empty build folder but the &lt;em&gt;.config&lt;/em&gt; file is still not being updated with my config that is in prj_release.conf.&lt;/p&gt;
&lt;p&gt;For example I set&amp;nbsp;&lt;strong&gt;CONFIG_LOG=n&lt;/strong&gt; in &lt;em&gt;prj_release.conf&lt;/em&gt; but in &lt;em&gt;.config&lt;/em&gt;&amp;nbsp;in the new build folder I see&amp;nbsp;&lt;strong&gt;CONFIG_LOG=y&lt;/strong&gt;.&lt;/p&gt;
&lt;div&gt;Looking closely at the logs when opening the project and creating the solution I can see that it is the content of prj_debug.conf that is merged in the configuration NOT prj_release.conf as expected. This is despite the fact that the cmake.exe command line includes -DCONF_FILE=prj_release.conf.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;Creating solution HomeBeacon_dev_sb.emProject
C:/Zypher/v1.7.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf52833dk_nrf52833 -DBOARD_DIR=C:\Zypher\v1.7.0\zephyr\boards\arm\nrf52833dk_nrf52833 -BC:\Sandbox\HomeBeacon_dev_sb\build_nrf52833dk_nrf52833_release -SC:\Sandbox\HomeBeacon_dev_sb -DNCS_TOOLCHAIN_VERSION=1.7.0 -DCONF_FILE=prj_release.conf -DDTC_OVERLAY_FILE=C:/Sandbox/HomeBeacon_dev_sb/nrf52833dk_nrf52833.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Zypher\v1.7.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: C:/Sandbox/HomeBeacon_dev_sb
-- Zephyr version: 2.6.99 (C:/Zypher/v1.7.0/zephyr), build: v2.6.99-ncs1
-- Found Python3: C:/Zypher/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.11.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52833dk_nrf52833
-- Cache files will be written to: C:/Zypher/v1.7.0/zephyr/.cache
-- Found dtc: C:/Zypher/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (C:/Zypher/v1.7.0/toolchain/opt)
-- Found BOARD.dts: C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/Sandbox/HomeBeacon_dev_sb/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/dts.cmake
Parsing C:/Sandbox/HomeBeacon_dev_sb/Kconfig
Loaded configuration &amp;#39;C:/Zypher/v1.7.0/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig&amp;#39;
Merged configuration &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/prj_debug.conf&amp;#39;
Configuration saved to &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/Sandbox/HomeBeacon_dev_sb/build_nrf52833dk_nrf52833_release/zephyr/include/generated/autoconf.h&amp;#39;
&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Please explain what is going on here and help sort this problem out.&lt;/div&gt;
&lt;div&gt;Thank you.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355585?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 14:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c24664ed-b339-48ea-b9ff-ff6f98a7f0e9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Migrating is very easy:&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=ptJBEAOIm5w&amp;amp;list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl&amp;amp;index=6"&gt;https://www.youtube.com/watch?v=ptJBEAOIm5w&amp;amp;list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl&amp;amp;index=6&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That said, the description for SES should be as stated here (seems there are two different ways it can be done in SES if you see the Note also below the first suggestion):&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html?highlight=dconf_file#selecting-a-build-type-in-ses&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355541?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 12:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87359561-a0ca-456c-9237-f99753235d86</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for your response but that is not the answer I was hoping for.&lt;/p&gt;
&lt;p&gt;Switching IDE at this critical time in the development phase of the project is not an option.&lt;/p&gt;
&lt;p&gt;I am aware of the &amp;quot;cache&amp;quot; problem SES suffers from so, I do reload the project after each mod to prj.conf.&lt;/p&gt;
&lt;p&gt;Can you please try to find out how I can build a debug and a release version of my project under SES. I would like to be able to achieve this using two project configuration files, &lt;strong&gt;prj_debug.conf&lt;/strong&gt; and &lt;strong&gt;prj_release.conf&lt;/strong&gt;.&amp;nbsp; Note, since&amp;nbsp;I initially submitted this ticket I have moved to a new SES version,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;SEGGER Embedded Studio for ARM&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Release 5.60&amp;nbsp;&amp;nbsp;Build 2021081102.47262&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Nordic Edition&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Windows x64&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;copy; 2014-2021 SEGGER Microcontroller GmbH&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&amp;copy; 1997-2021 Rowley Associates Ltd.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-as: version 2.11&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-cc: version 12.2.1&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-cc-ng: version 12.91.6&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-ld: version 4.12.1&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;segger-rtl: version 2.22.0&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355530?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 12:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2070b49-ebf8-458f-b17c-d6e637f2d0b6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I suggest to use Visual Studio Code instead of SES, I know that SES may &amp;quot;cache&amp;quot; some of the configuration unless you re-open the project in SES after doing modifications to prj conf files.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355461?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 09:13:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87dbaa95-6ebb-49fa-923b-7f1e3ff427b8</guid><dc:creator>Learner</dc:creator><description>&lt;div&gt;How can I check if my project configurations have been applied?&lt;/div&gt;
&lt;div&gt;Also, are the quotation marks &amp;quot; &amp;quot; necessary?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I built a debug version of my project using prj_debug.conf and a release version using prj_release.conf in two different build folders but when I compare the debug and release&amp;nbsp;.config files I find they are identical. I disabled logs in the release build CONFIG_LOG=n but in it is set to &amp;#39;y&amp;#39; in .config.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;This is not what I was expecting. What am I doing wrong?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Kind regards&lt;/div&gt;
&lt;div&gt;Mohamed&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355441?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 08:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50b1244b-63c1-47fa-a19b-c097b80184f9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not tried it myself, but you can try&amp;nbsp;&lt;em&gt;-DCONF_FILE=&amp;quot;prj_1.conf prj_2.conf prj_3.conf&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/355370?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 17:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eae8272-edc4-4a7f-8a94-df9168f978b9</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/66226/segger-embedded-studio-debug-and-release-build-configurations/301449#301449"]ou may find this useful:&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#selecting-a-build-type-in-ses"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#selecting-a-build-type-in-ses&lt;/a&gt;&amp;nbsp;[/quote]
&lt;p&gt;Is it possible to specify more than one prj.conf file via the &amp;#39;Extended Settings&amp;#39; in the field &amp;#39;&lt;span&gt;Extra CMake Build Options&amp;#39;. If yes, then what is the syntax?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;-DCONF_FILE=prj_1.conf prj_2.conf prj_3.conf&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;or&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;-DCONF_FILE=prj_1.conf&amp;nbsp;-DCONF_FILE=prj_2.conf&amp;nbsp;-DCONF_FILE=prj_3.conf&lt;/em&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kind regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Mohamed&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/301548?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 21:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:752af444-8308-4b5f-9043-dd9113f93f1b</guid><dc:creator>Learner</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve had a look but it looks rather convoluted. Maybe because I am used to setting build configurations from within the IDE I am using for development and debugging. So,&amp;nbsp;it would be great if you could&amp;nbsp;get this information. Otherwise I will just carry on using&amp;nbsp;the two prj-xxx.conf files.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Mohamed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio: Debug and Release build configurations</title><link>https://devzone.nordicsemi.com/thread/301526?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 16:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4a541e3-68f6-4319-8d76-7936137f6ae0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Isn&amp;#39;t this also described in the same page?&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#creating-build-type-files"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_modifying.html#creating-build-type-files&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>