Overflow in Segment

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Overflow in Segment

2,025 Views
plasmaphase
Contributor I

I am currently using Codewarrior 10.1 and MQX 3.7.0.  I have a KwikStik K40X256 development board and am trying to make a basic project which allows me to read and write to an SD Card.  I created a new MQX 3.7 Project for a Kientis Evaluation Board -> TWRK40X256.  I added MFS Support as well as Shell Support.  I used a "Basic application" and have tried with and without RAMDISK enabled.  Without modifying any code I receive the following error when building (no code modifications whatsoever):

 

Description    Resource    Path    Location    Type
Overflow in segment: rom from section: .main_application Segment reserved size is: 0x00007be0 -- Overflow of: 0x00008e6c    SPID_MQX        line 0    C/C++ Problem

It seems to me like a default project should be able to just simply be built and run, but this is not the case.  Anyone know what's causing this? 

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

782 Views
chesterfield
Contributor I

you need to set the active build configuration to build for internal flash. Default is for RAM.

782 Views
tavo
Contributor I

 

hi chesterfield

 

how, cant tell us ?

you need to set the active build configuration to build for internal flash. Default is for RAM.?

 

Thanks will be a good help 

0 Kudos
Reply

782 Views
michele_novalia
Contributor III

@chesterfiled

 

thanks for posting that, it works!

 

@tavo

 

if you are using Code Warrior, right click on the project, then
Build configurations -> set active -> <select the one you wish for>

 

Mik

0 Kudos
Reply