This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding header file in scatter file

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!