<?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>Build errors when using FATFS/LittleFS on nrf52840 USB mass storage example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127905/build-errors-when-using-fatfs-littlefs-on-nrf52840-usb-mass-storage-example</link><description>I get this error when i try to use FATFS or LittleFS - RAM works though /Users/admin/mass_1/src/main.c: In function &amp;#39;setup_flash&amp;#39;: /opt/nordic/ncs/v2.9.0/nrf/include/flash_map_pm.h:47:22: error: &amp;#39;PM_storage_partition_ID&amp;#39; undeclared (first use in this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Apr 2026 14:17:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127905/build-errors-when-using-fatfs-littlefs-on-nrf52840-usb-mass-storage-example" /><item><title>RE: Build errors when using FATFS/LittleFS on nrf52840 USB mass storage example</title><link>https://devzone.nordicsemi.com/thread/565758?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2026 14:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34874130-a283-4a6f-ac1f-4e734d0d7236</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can use the JESD216 sample do retrieve these parameters from your FLASH IC:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.3/page/zephyr/samples/drivers/jesd216/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.3/page/zephyr/samples/drivers/jesd216/README.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build errors when using FATFS/LittleFS on nrf52840 USB mass storage example</title><link>https://devzone.nordicsemi.com/thread/565696?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 14:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb61674-0ad5-4afc-97a8-66d87c1cb87a</guid><dc:creator>sneeeiiil</dc:creator><description>&lt;p&gt;yesss i got it working with the 3.3.0 SDK, yet wanted to know how do i define sfdp-bfp for my external flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build errors when using FATFS/LittleFS on nrf52840 USB mass storage example</title><link>https://devzone.nordicsemi.com/thread/565443?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2026 09:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3595899-b859-418b-a754-bc5bf8153e24</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is it an option to upgrade to SDK v3.3.0? This version does not rely on the partition manager (errors from build log are related to missing PM partitions), but use static Devictree partitions instead:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_partitions.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_partitions.html&lt;/a&gt;. Using partition manager for new projects is not recommended.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;Similar question:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116348/usb-mass-storage-sample-application-and-external-spi-flash-memory-device/510635"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/116348/usb-mass-storage-sample-application-and-external-spi-flash-memory-device/510635&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>