<?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>Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106652/using-bt-peripheral-sample-with-mass-storage-sample</link><description>As an exercise before diving into bigger projects I&amp;#39;m trying to create a bluetooth editable filesystem. I&amp;#39;m fairly new to Nordic, so I&amp;#39;ve been relying heavily on a lot of the samples. 
 So far I have simply copied the contents of the bluetooth peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Dec 2023 12:21:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106652/using-bt-peripheral-sample-with-mass-storage-sample" /><item><title>RE: Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/thread/461039?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 12:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f259cb-8d1c-40d7-b30e-c0a55ae39182</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thanks. I agree with the need to set up a new&amp;nbsp;partition for the file system to use. Do you have any plans on using MCUBOOT for the device? If so we should use PM for setting up the partitions, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/scripts/partition_manager/partition_manager.html#pm-external-flash"&gt;here&lt;/a&gt; is a link to how to set up partitions with PM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/thread/460915?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 19:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1fa62ec-1023-4721-beaf-14dc02375694</guid><dc:creator>Micl Fierro</dc:creator><description>&lt;p&gt;Here&amp;#39;s the prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_GPIO=y

CONFIG_LOG=y
CONFIG_LOG_MAX_LEVEL=4
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=8192
CONFIG_LOG_BACKEND_BLE=y
CONFIG_LOG_BACKEND_BLE_BUF_SIZE=60

CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_ATT_PREPARE_COUNT=5
CONFIG_BT_PRIVACY=y
CONFIG_BT_DEVICE_NAME=&amp;quot;TestName&amp;quot;
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
CONFIG_BT_DEVICE_NAME_MAX=65
CONFIG_BT_DEVICE_APPEARANCE=833

CONFIG_BT_KEYS_OVERWRITE_OLDEST=y
CONFIG_BT_SETTINGS=n #setting this to y causes bt_settings_init fail w err-45
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_HW_ID_LIBRARY=y

CONFIG_DEBUG_THREAD_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y

#USB related configs
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Zephyr MSC sample&amp;quot;
CONFIG_USB_DEVICE_PID=0x0008
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE=y
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
CONFIG_MAIN_STACK_SIZE=1536
CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No need to worry about setting case to private.&amp;nbsp; Copyright note in overlay was present when i created the mass storage sample, and I hadn&amp;#39;t bothered to take it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/thread/460757?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 09:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85178144-de92-4c75-9c62-cea808f109ac</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thanks, could you also post your entire prj.conf? Or just upload the project. I can also set the case to private if there is something you don&amp;#39;t want to have public&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/thread/460626?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 17:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4796fbc-5de4-4138-b12f-4a6504398cf4</guid><dc:creator>Micl Fierro</dc:creator><description>&lt;p&gt;This is what is what is used for the mass storage sample.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2019 Peter Bigot Consulting, LLC
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/delete-node/ &amp;amp;storage_partition;

&amp;amp;mx25r64 {
	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;
		
		storage_partition: partition@0 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x00000000 0x00020000&amp;gt;;
		};
	};
};

/ {
	msc_disk0 {
		compatible = &amp;quot;zephyr,flash-disk&amp;quot;;
		partition = &amp;lt;&amp;amp;storage_partition&amp;gt;;
		disk-name = &amp;quot;NAND&amp;quot;;
		cache-size = &amp;lt;4096&amp;gt;;
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using bt peripheral sample with mass storage sample</title><link>https://devzone.nordicsemi.com/thread/460530?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 12:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dcba87a-433f-4a9b-bcf1-66342eebb996</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;Could you post your overlay files so I can have a look at it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>