raiden00pl opened a new pull request, #17738:
URL: https://github.com/apache/nuttx/pull/17738
## Summary
Shmem region lives in RAM and should not be load in FLASH.
This fixes the issue with wrong binary size when build AMP configurations
with RPTUN enabled. Before this change shmem region was exported by objcopy to
binary file which caused the bin size to be huge and impossible to flash.
## Impact
Fix binary file with RPTUN enabled.
## Testing
Without this change bin file is 641M (wrong!):
```
[raiden00:~/git/RTOS/nuttx/nuttx]$ ll nuttx.bin
-rwxr-xr-x 1 raiden00 raiden00 641M Dec 30 12:54 nuttx.bin*
```
With this change bin file is 168K (OK!):
```
[raiden00:~/git/RTOS/nuttx/nuttx]$ ll nuttx.bin
-rwxr-xr-x 1 raiden00 raiden00 168K Dec 30 12:53 nuttx.bin*
```
--
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]