有限公司de size exceeds error after use 3.0.8.0 sdk

4 posts / 0 new
Last post
zzdwuliang
Offline
Last seen:5 years 7 months ago
加入:2015-02-04 07:35
有限公司de size exceeds error after use 3.0.8.0 sdk

Hi,Dialog

I have downloaded the newest sdk (version 3.0.8.0),after I transfer my code(which is wrote with sdk version 3.0.4.0) in 3.0.8.0 sdk,I meet an error from keil complier , the error showed in Keil's Build Output window is:

.\out\full_emb_sysram.axf: Error: L6220E: Execution region ER_IROM5 size (32464 bytes) exceeds limit (31424 bytes). Region contains 16 bytes of padding and 1404 bytes of veneers (total 1420 bytes of linker generated content).
.\out\full_emb_sysram.axf: Error: L6221E: Execution region ER_IROM5 with Execution range [0x20000440,0x20008310) overlaps with Execution region RW_IRAM50 with Execution range [0x20008000,0x20008310).

It seems that this is because my code size is too long?
我能做些什么来解决这个?

PY_Dialog
Offline
Last seen:2 years 9 months ago
工作人员
加入:2014-08-25 09:59
Hi zzdwuliang,

Hi zzdwuliang,

Looks like your code exceed the limitation. Please optimize your code.

Regards!
PY

ggotta
Offline
Last seen:1 year 8 months ago
加入:2016-02-20 20:10
I am also facing the same

I am also facing the same issue!
Optimizing the code is fine! but is there a way to play with target linker file?
-Gotta

MT_dialog
Offline
Last seen:1 month 6 days ago
工作人员
加入:2015-06-08 11:34
Hi ggotta,

Hi ggotta,

You can can configure your memory mapping through the scatter file, if that is what you are looking for, you can find the scatter file under the Linker Tab of the project options window.

Thanks MT_dialog

Topic locked