Hi,
I have this memory.x
MEMORY
{
/* NOTE 1 K = 1 KiBi = 1024 bytes */
FLASH : ORIGIN = 0x00000000, LENGTH = 1024K
RAM : ORIGIN = 0x20000000, LENGTH = 256K
}
and this error message:
= note: rust-lld: error: memory.x:4: region 'FLASH' already defined
>>> FLASH : ORIGIN = 0x00000000, LENGTH = 1024K
>>>
For testing purpose, I tried removing the FLASH line:
= note: rust-lld: error: c:\Users\Geobomatic\Dev\embedded\demo\target\thumbv7em-none-eabihf\debug\build\cortex-m-rt-c18516fb3cf57635\out\link.x:66: memory region not defined: FLASH
>>> .vector_table ORIGIN(FLASH) :
>>>
What am I missing? :-/