Hello there!
I was trying to add a header file with some macros in my scatter file using ' #! armcc -E ' but got the subtool invocation error. My compiler version being 6.12, after referring https://www.keil.com/appnotes/files/apnt_298.pdf , I changed it to " #! armclang -E --target=arm-arm-none-eabi -mcpu=cortex-m4 -xc ". It's still not working and there are some errors like:
error: L6292E: Ignoring unknown attribute 'SRAM_L' specified for region /.
The header file included is an otherwise working good file. Does anybody know what I'm missing or doing wrong?
Thanks!
Related article:
https://developer.arm.com/documentation/dui0591/a/BABHAI
"...This error message is specific to execution regions with the FIXED attribute.
FIXED
FIXED means make the load address the same as the execution address.
The linker can only do this if the execution address is greater than or equal to the next available load address within the load region.
See:
Using the FIXED attribute to create root regions.
Execution region attributes.
..."