nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on issue #1020: [RFC] Using devicetree (DTS) to improve board support
Date Mon, 18 May 2020 04:14:03 GMT

xiaoxiang781216 edited a comment on issue #1020:
URL: https://github.com/apache/incubator-nuttx/issues/1020#issuecomment-629935359


   This method can't be used for:
   1.The constant on the flash or
   2.The code execute XIP from flash
   But I think the flash is much cheap than RAM.
   The most concern is the RAM usage(e.g. in no XIP case), we can reuse RAM as heap after:
   1.The code in RAM is used only for initialization 
   2.The data is used only for initialization
   The implementation is very simple:
   1.All data used for init put into .init_data section
   2.All funtion used for init put into .init_func section
   3.Ensure .init_data/.init_func immediately follow the heap section
   4.Call mm_extend just after the initialization finish


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message