I want to have
.noinit (NOLOAD):
{
. = ALIGN(4);
_noinit_start = ABSOLUTE(.);
*(.noinit .noinit.*)
. = ALIGN(4) ;
_noinit_end = ABSOLUTE(.);
} > dram0_0_seg
go ahead of
.dram0.data :
{ ...
}
in the linking of my application.
I see during the build process that esp32.project.ld.in is being copied into the output folder and renamed to esp32.project.ld, which is then used for linking.
I didnt want to edit files in the esp-idf install folder. Is there an easy way to copy the LD file to my project folder and edit the cmake file in my project folder to get this local copy used instead?
thanks
esp32.project.ld , changing order of data in segment
Re: esp32.project.ld , changing order of data in segment
Hi km-ids,
Unfortunately there isn't an easy way to override just this file in your project.
May I ask why you need the noinit data to come first in the memory map? There might be some other way we can suggest to support this.
Angus
Unfortunately there isn't an easy way to override just this file in your project.
May I ask why you need the noinit data to come first in the memory map? There might be some other way we can suggest to support this.
Angus
Who is online
Users browsing this forum: Google [Bot] and 113 guests