vxj9800 commented on PR #6347:
URL: https://github.com/apache/incubator-nuttx/pull/6347#issuecomment-1142116113

   > 1. Please squash changes into a single commit.
   > 2. I'm wondering that this comes only in your case as NuttX have support 
of many platforms that does not support unaligned access. Could you please 
share more about your use case? Maybe in your case the memory is not allocated 
properly or something else. I would like to examine your case more carefully.
   
   1. @pkarashchenko I hope I have done this correctly. I used this 
[answer](https://stackoverflow.com/a/5201642).
   2. I was wondering that too. I am adding support for raspberry pi rp2040 to 
PX4, but most of the testing is done using pi pico right now. The 
[nsh_romfsimg](https://github.com/apache/incubator-nuttx/files/8805206/nsh_romfsimg.zip)
 was generated by 
[gencromfs.c](https://github.com/apache/incubator-nuttx/blob/3366f1fb3510a5eaca79eee2b6d831a9dbdee4c2/tools/gencromfs.c).
 Note that many node offsets in nsh_romfsimg.c are not word aligned. Following 
is the video showing the hardfault. Unfortunately, I don't know how to 
replicate this problem while using the Nuttx only. Please let me know if any 
other information is required.
   
   
https://user-images.githubusercontent.com/45529441/171179932-e3ed082e-89d9-4f95-bdc9-dec20b7bec76.mp4
   
    


-- 
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