Overflow in Segment

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Overflow in Segment

2,418 次查看
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? 

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,175 次查看
chesterfield
Contributor I

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

1,175 次查看
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 项奖励
回复

1,175 次查看
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 项奖励
回复