Hi,
I am trying to understand the Linker Script in PSoC Creator for a Project. I am referring <Mod:link deleted.E> project. In this project, a custom linker script is used. I am confused by the reference made in the linker script.
From above we can see that ROM and RAM memories are set. I tried searching for
Regards,
Srihari Rao M
I am trying to understand the Linker Script in PSoC Creator for a Project. I am referring <Mod:link deleted.E> project. In this project, a custom linker script is used. I am confused by the reference made in the linker script.
Code:
MEMORY
{
rom (rx) : ORIGIN = 0x0, LENGTH = `$CYDEV_FLS_SIZE`
ram (rwx) : ORIGIN = 0x20000000, LENGTH = `$SRAM_BYTES`
}
`$CYDEV_FLS_SIZE`
and `$SRAM_BYTES`
. But I didn't find a single reference for these. Where do these values come from? Is this a standard way of defining something? Even in standard linker scripts out on the internet, I haven't seen anything referred to like this. Please shed some light on this. I want to know where these values are coming from and my end goal is to be able to modify them.Regards,
Srihari Rao M
Last edited by a moderator: