Hello,I try to add a script '-Wl,--mgen-symbol-ld-script=export.txt' in "optins for target"/"linker"/"misc controls". After build, when linking it shows
error: L3900U: Unrecognized option '-Wl,--mgen-symbol-ld-script=export.txt'.
Any idea how to fix this error?
Hi Rich
Thanks for your quick answer,it's very helpful to me.
You are right, I'm trying to use scatter file in keil. It seems I couldn't change the scatter file in project setting,it's grey as pitcture shows.
Any suggestion to enable it?
Hi Kelong
Glad I could help just a little.
I think you will need to go to the Keil forum for the answer to that one!
I can see that you are passing a scatter file already in the "user control string" box below (see --scatter option) so perhaps MDK won't let you also add one with the "Scatter file" box? That is a guess though, best to seek expert advice.
Ta
Rich
You are right!
If I disable "Use Memory Layout from Target Dialog", I could add othes with the "Scatter file"box.
Thanks very much,