Cube Project with STemwin generates linker error L6406E
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-30 5:24 AM
Posted on December 30, 2015 at 14:24
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, Osto
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-30 6:44 AM
Posted on December 30, 2015 at 15:44
Is this project using a scatter file?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-30 7:13 AM
Posted on December 30, 2015 at 16:13
There is a standard scatter file which is produced by compiler and is the same as a working project (Hello World example of STemwin).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-30 7:19 AM
Posted on December 30, 2015 at 16:19
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