Getting not enough room error before 32K limit! How is that?

3 posts / 0 new
Last post
brian
Offline
Last seen:6 years 1 month ago
Expert Master
加入:2014-10-16 18:10
Getting not enough room error before 32K limit! How is that?

I am getting this error using the Keil uvision compiler on the DA14580

, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching hardfault_handler.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching gpio.o(i.GPIO_SetPinFunction).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching gpio.o(i.GPIO_ConfigurePin).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching gpio.o(i.GPIO_SetInactive).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching gpio.o(i.GPIO_SetActive).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching d2f.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching arch_main.o(.constdata).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffixui.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching f2d.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching strcpy.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching app.o(.constdata).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffltui.o(.text).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching gpio.o(.constdata).
, \ \ full_emb_sysram.axf: Error: L6406E: No space in execution regions with .ANY selector matching jump_table.o(.text).
, \ \ full_emb_sysram.axf: Error: L6407E: Sections of aggregate size 0x300 bytes could not fit into .ANY selector(s).

However, I am using the limited version of the compiler which should opt out at 32K. 32K, as I understand it, is less than the available space on the DA14580. Why am I getting this error then?

gcblair
Offline
Last seen:4 years 9 months ago
Master
加入:2014-09-08 10:21
这是32 k吗

这是32 k吗relates to data/constants/code and doesn't include RAM?

brian
Offline
Last seen:6 years 1 month ago
Expert Master
加入:2014-10-16 18:10
I am beginning to believe the

I am beginning to believe the 32K limit is just code and constants (like strings).