tmedicci opened a new pull request, #14600:
URL: https://github.com/apache/nuttx/pull/14600

   ## Summary
   
   * libs/modlib: Load data using `up_textheap_data_address`
   
   Some chips have different memory addressing spaces for the same region. This 
is true, for instance, for ESP32-S3: the same memory region can be accessed 
using the data bus or the data bus using different address ranges. The 
instruction bus, however, requires word-aligned access. That being said, it is 
recommended to use the data bus while copying sections to the text heap to 
avoid any illegal access using the instruction bus address which will be later 
used to run the program.
   
   ## Impact
   
   Fix https://github.com/apache/nuttx/issues/14487
   
   ## Testing
   
   Internal CI testing + ESP32-S3-DevKitC-1 v1.0:
   
   Build steps:
   
   ```
   make -j distclean && ./tools/configure.sh esp32s3-devkit:elf && make flash 
ESPTOOL_PORT=/dev/ttyUSB0 -s -j$(nproc) && minicom -D /dev/ttyUSB0
   ```
   
   And, then, run elf example:
   ```
   nsh> elf
   ```


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