<?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>Set BT_CONFIG=y on prj.conf under direct test mode example causing &amp;quot;HARD FAULT&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106549/set-bt_config-y-on-prj-conf-under-direct-test-mode-example-causing-hard-fault</link><description>Hello, 
 I am working with the nRF5340 SoC and using the Nordic Connect SDK (NCS) version 2.4.0. My project involves the following configuration: 
 
 Network Core: Direct Test Mode (Path: ...\ncs\v2.4.0\nrf\samples\bluetooth\direct_test_mode) 
 Application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2023 16:37:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106549/set-bt_config-y-on-prj-conf-under-direct-test-mode-example-causing-hard-fault" /><item><title>RE: Set BT_CONFIG=y on prj.conf under direct test mode example causing "HARD FAULT"</title><link>https://devzone.nordicsemi.com/thread/459989?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 16:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bbccc62-9e5f-4af8-8019-44d38a24fc69</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think&amp;nbsp;&lt;span&gt;CONFIG_BT and&amp;nbsp;bt_enable() are supported in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/bluetooth/direct_test_mode/README.html"&gt;DTM sample&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The implementation of the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/bluetooth/direct_test_mode/README.html"&gt;DTM sample&lt;/a&gt; is self-contained and requires no Bluetooth Low Energy protocol stack for its operation. See&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/samples/bluetooth/direct_test_mode/README.html#id12"&gt;Implementation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set BT_CONFIG=y on prj.conf under direct test mode example causing "HARD FAULT"</title><link>https://devzone.nordicsemi.com/thread/459869?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a4df91a-f22e-452c-b48f-c008c049b211</guid><dc:creator>Anroll</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Apologies for the mistyping. The correct configuration in the &lt;/span&gt;&lt;code&gt;prj.conf&lt;/code&gt;&lt;span&gt; file is &lt;/span&gt;&lt;code&gt;CONFIG_BT=y&lt;/code&gt;&lt;span&gt;, as shown below.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_BT=y

# Configure assertions
CONFIG_ASSERT=y
CONFIG_ASSERT_NO_COND_INFO=y
CONFIG_ASSERT_NO_MSG_INFO=y

CONFIG_HW_STACK_PROTECTION=y

CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n

CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y

# Use necessary peripherals
CONFIG_NRFX_TIMER0=y
CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_TIMER2=y

CONFIG_FEM_AL_LIB=y&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>