cancel
Showing results for 
Search instead for 
Did you mean: 

#pragma section not working with free 32kB cosmic?

Carsten SBICK
Associate
Posted on August 10, 2010 at 13:15

#pragma section not working with free 32kB cosmic?

2 REPLIES 2
wolfgang239955_stm1_st
Associate II
Posted on May 17, 2011 at 15:09

Hi Carsten,

please note the text inside the generated .lkf!

# LINK COMMAND FILE AUTOMATICALLY GENERATED BY STVD:

 

#  * TOTALLY IF AUTO MODE IS ENABLED

 

#  * ONLY INSIDE MARKERS IN SEMI-AUTO MODE

 

#

 

# CHOOSE THE CUSTOM MODE IN STVD IN ORDER TO HAVE FULL CONTROL OVER THIS FILE.

 

#

 

# Sections delimited by <BEGIN ...> and <END ...> markers are reserved for

 

# STVD: DO NOT MODIFY INSIDE.

 

#

 

# Manual modifications are allowed OUTSIDE these sections, WHEN STVD AUTO MODE

 

# IS DISABLED.

 

Please let us know, when you succeed.

Regards,

WoRo
luca239955_stm1_st
Senior II
Posted on May 17, 2011 at 15:09

Hi,

the problem seems to be that you redirect @near variables whereas i is @tiny (this is forced by the memory model and is seen by the fact that it is assigned to .bsct).

Try

#pragma section @tiny [tempdata]

Regards,

Luca