Hello,
I've a small simple question:
ldr r4, =||Image$$ER_IROM1$$RO$$Length||+||Image$$RW_IRAM1$$RW$$Length||
At the moment I get an error message from Keil, using this code in the startup file. Maybe an syntax error?
If I write
ldr r4, =||Image$$ER_IROM1$$RO$$Length|| ldr r4, =||Image$$RW_IRAM1$$RW$$Length||
there's no such error message.
best regards David
"The inline expression in your original code requires values known at compilation time in order to work. Hence the error message."
But why that particular message?
That particular message doesn't seem to be particularly relevant?
Agreed. It could be a parser glitch, where symbol names are matched by something like "||.*||" (* being greedy).
Since I cannot think of any situation where more than one linker defined symbol could be legally used in an expression, this might not have come up, yet. Just guessing.
Regards Marcus http://www.doulos.com/arm/