vxj9800 opened a new pull request, #6347:
URL: https://github.com/apache/incubator-nuttx/pull/6347

   ## Summary
   After a build, nsh_romfsimg.c file contains the nodes of cromfs. These nodes 
are generally not word aligned. Armv6-m architecture doesn't support unaligned 
memory access. Thus, a hardfault is generated when these unaligned nodes are 
accessed from cromfs_compare_node function.
   
   ## Impact
   Hardfault crashes Nuttx.
   
   ## Testing
   The issue and solution are both tested on a Raspberry Pi Pico running PX4. 
Unfortunately, I don't know enough about Nuttx to create a defconfig file that 
would make use of cromfs. It will be great if a core developer can confirm this 
on other armv6-m MCUs running Nuttx.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to