<?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>Unable to build common mode test under sample code in v3.0.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121783/unable-to-build-common-mode-test-under-sample-code-in-v3-0-1</link><description>Hi 
 I ve to use nrf pwm common mode feature, and there is sample code under project name common_mode_test, but i am unable to build it either with ncs version 2.9.1 or 3.0.1 
 here is the build output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 May 2025 10:56:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121783/unable-to-build-common-mode-test-under-sample-code-in-v3-0-1" /><item><title>RE: Unable to build common mode test under sample code in v3.0.1</title><link>https://devzone.nordicsemi.com/thread/537134?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 10:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3ad3b3d-fe89-4444-9542-703a331c15ad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;Looks like the example have not been updated to sysbuild, so you need to use&amp;nbsp;&lt;/span&gt;&lt;span&gt;--no-sysbuild&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: Unable to build common mode test under sample code in v3.0.1</title><link>https://devzone.nordicsemi.com/thread/537118?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 10:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26c6c82-125c-425e-ab3e-64b433427813</guid><dc:creator>S149_2025</dc:creator><description>&lt;p&gt;there is an example for PWM in nrf connect for common mode&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt="nrfx_PWM common mode" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/snip-of-cmmon-mode-nrf.png" /&gt;&lt;/p&gt;
&lt;p&gt;This is sample code available under nrf connect...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;Are you trying to use nrfx directly&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;I believe it uses nrfx directly instead of zephyr...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build common mode test under sample code in v3.0.1</title><link>https://devzone.nordicsemi.com/thread/537116?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 10:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4796c9f-33bc-49ee-a28c-67adf3c09d0e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Edit: Found the example, trying now.&lt;/p&gt;
&lt;p&gt;Edit2: Looks like the example have not been updated to sysbuild, so you need to use&amp;nbsp;&lt;span&gt;--no-sysbuild&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to build common mode test under sample code in v3.0.1</title><link>https://devzone.nordicsemi.com/thread/536880?ContentTypeID=1</link><pubDate>Mon, 26 May 2025 08:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab502302-e888-4c5f-b258-d4143e70fa1a</guid><dc:creator>S149_2025</dc:creator><description>&lt;p&gt;&lt;br /&gt;Loading Zephyr default modules (Zephyr base).&lt;br /&gt;-- Application: C:/Users/username/source/repos/proj1/common_mode_test&lt;br /&gt;-- CMake version: 3.21.0&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version &amp;quot;3.12.4&amp;quot;, minimum required is &amp;quot;3.10&amp;quot;) found components: Interpreter&lt;br /&gt;-- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf52833dk, qualifiers: nrf52833&lt;br /&gt;-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)&lt;br /&gt;-- Found Dtc: C:/ncs/toolchains/b620d30767/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;br /&gt;-- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts&lt;br /&gt;-- Found devicetree overlay: C:/Users/username/source/repos/proj1/common_mode_test/boards/nrf52833dk_nrf52833.overlay&lt;br /&gt;-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts&lt;br /&gt;-- Generated pickled edt: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/edt.pickle&lt;br /&gt;-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_generated.h: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/devicetree_generated.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/dts.cmake&lt;br /&gt;Parsing C:/ncs/v3.0.1/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/username/source/repos/proj1/common_mode_test/common/common.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/username/source/repos/proj1/common_mode_test/prj.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config.sysbuild&amp;#39;&lt;br /&gt;Configuration saved to &amp;#39;C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/autoconf.h&amp;#39;&lt;br /&gt;-- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)&lt;br /&gt;-- The C compiler identification is GNU 12.2.0&lt;br /&gt;-- The CXX compiler identification is GNU 12.2.0&lt;br /&gt;-- The ASM compiler identification is GNU&lt;br /&gt;-- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe&lt;br /&gt;CMake Warning at C:/ncs/v3.0.1/zephyr/CMakeLists.txt:2180 (message):&lt;br /&gt;__ASSERT() statements are globally ENABLED&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):&lt;br /&gt;CMake configure failed for Zephyr project: common_mode_test&lt;/p&gt;
&lt;p&gt;Location: C:/Users/username/source/repos/proj1/common_mode_test&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt;cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)&lt;br /&gt;cmake/modules/sysbuild_default.cmake:21 (include)&lt;br /&gt;C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)&lt;br /&gt;C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt;C:/ncs/v3.0.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)&lt;br /&gt;template/CMakeLists.txt:10 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/Users/username/source/repos/proj1/common_mode_test/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe &amp;#39;-Bc:\Users\username\source\repos\proj1\common_mode_test\build&amp;#39; -GNinja -DBOARD=nrf52833dk/nrf52833 &amp;#39;-DBOARD_ROOT=c:/users/username/documents/project/proj1;c:/users/username/source/repos;c:/users/username/source/repos/proj1/common_mode_test&amp;#39; &amp;#39;-SC:\ncs\v3.0.1\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=c:\Users\username\source\repos\proj1\common_mode_test&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1.&lt;br /&gt;* Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>