<?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>How to enable littlefs in mcuboot (not in the app)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112198/how-to-enable-littlefs-in-mcuboot-not-in-the-app</link><description>My project needs to enable Litlefs to read files in the bootloader. I added it in the configuration file of mcuboot 
 But when these errors occur ，I can&amp;#39;t find the reason 
 
 
 Can you help me solve this problem? (I think it is feasible to enable LFS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jun 2024 01:17:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112198/how-to-enable-littlefs-in-mcuboot-not-in-the-app" /><item><title>RE: How to enable littlefs in mcuboot (not in the app)</title><link>https://devzone.nordicsemi.com/thread/489609?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 01:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b82d57f0-84e5-402e-b2a6-fea347ca0188</guid><dc:creator>llly</dc:creator><description>&lt;p&gt;Hi Hieu&lt;/p&gt;
&lt;p&gt;Thank you for your reply. This is indeed the correct method. Enabling multithreading in the configuration of mcuboot can solve this problem.&lt;/p&gt;
&lt;p&gt;My original method was to comment out the undefined functions mentioned in the error message and have them return 0 directly.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4331.png" /&gt;&lt;/p&gt;
&lt;p&gt;This way, LFS can also be used normally, but there may be unknown errors.&lt;/p&gt;
&lt;p&gt;Thank you again for helping me solve the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable littlefs in mcuboot (not in the app)</title><link>https://devzone.nordicsemi.com/thread/489484?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 11:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2709e31a-e07e-46f8-bfe0-bdbeb4e22d70</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;It seems that the LittleFS subsystem implementation depends on some multithreading APIs. It should work if you enable multithreading for MCUboot.&lt;/p&gt;
&lt;p&gt;I see that you have a new case today where LittleFS is already working fine.&amp;nbsp;Can I assume that this issue is overcome? Could you please share the solution for future readers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable littlefs in mcuboot (not in the app)</title><link>https://devzone.nordicsemi.com/thread/489229?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 09:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd8db83d-81b7-4bb4-ac87-90051de96eba</guid><dc:creator>llly</dc:creator><description>&lt;p&gt;Thank you for your prompt reply.&lt;/p&gt;
&lt;p&gt;I removed the current build folder and rebuilt it again. If LFS is not enabled in the bootloader, the build is successful, but if Litlefs is enabled in the bootloader&amp;#39;s config, the build will fail.Now that these error messages have been output, it seems that it is because there is no function required by LFS in the bootloader?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/584712.png" /&gt;&lt;/p&gt;
&lt;p&gt;What should I do next to cooperate with you to solve this problem？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable littlefs in mcuboot (not in the app)</title><link>https://devzone.nordicsemi.com/thread/489223?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 08:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7728ee0-55f8-4333-9019-949e6a642dca</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;llly,&lt;/p&gt;
&lt;p&gt;Can you first check removing the entire build directory and rebuild?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>