2015-12-30 05:24 AM
Hi,
I genetrate a new cube project of STM32F746 discovery and let Cube activate all peripheral. No RTOS, Keil V5, generate files. Then I add the STemwin files and library to the project and compile. Everything is fine. Then I add GUI_Init() to the main and the next link gives 30 times following message: Error L6406E: No space in execution regions with .ANY selector matching main.o (.bss) the name of main.o changes from line to line and includes a lot of functions which was used before adding call to GUI_Init(). At the end of linking I get error message L6407E: sections of aggregate size 0x200e6c bytes could not fit into .ANY selectors. But there is enough space in all sections. Even when I increase RAM and ROM, there is no change at all. Need your help please. Regards, Osto2015-12-30 06:44 AM
Is this project using a scatter file?
2015-12-30 07:13 AM
There is a standard scatter file which is produced by compiler and is the same as a working project (Hello World example of STemwin).
2015-12-30 07:19 AM
This is the scatter file:
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x08000000 0x00F00000 { ; load region size_region ER_IROM1 0x08000000 0x00F00000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x20000000 0x00050000 { ; RW data .ANY (+RW +ZI) } } Regards