Heap __top_RamAHB32

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Heap __top_RamAHB32

165件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nkarakotas on Tue Jun 05 22:58:05 MST 2012
Hi,

I tried the following as provided on the link:
     PROVIDE(${heap_symbol} = ADDR(.data_RAM2));
        PROVIDE(_vStackTop = __top_RamAHB32 - ${STACK_OFFSET});

http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts

But it gives me a linker script syntx error.
Where is the STACK_OFFSET defined? If I put it as zero will be ok?
0 件の賞賛
1 返信

150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jun 06 00:04:28 MST 2012
STACK_OFFSET is defined in the MCU Linker/Target settings and it appears the default is zero.

Of course, this only works if you are using the Managed Linker Script. If you are providing your own linker scripts, then you do not have any of these macros available
0 件の賞賛