use larger rom and ram for more example

Signed-off-by: liangkangnan <liangkangnan@163.com>
pull/1/head
liangkangnan 2020-04-25 17:07:31 +08:00
parent f110a2c0e0
commit db8a65ebf4
1 changed files with 4 additions and 3 deletions

View File

@ -4,14 +4,14 @@ ENTRY(_start)
MEMORY MEMORY
{ {
flash (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 8K flash (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 16K
ram (wxa!ri) : ORIGIN = 0x10000000, LENGTH = 8K ram (wxa!ri) : ORIGIN = 0x10000000, LENGTH = 16K
} }
SECTIONS SECTIONS
{ {
__stack_size = DEFINED(__stack_size) ? __stack_size : 2K; __stack_size = DEFINED(__stack_size) ? __stack_size : 8K;
.init : .init :
{ {
@ -142,6 +142,7 @@ SECTIONS
PROVIDE( _heap_end = . ); PROVIDE( _heap_end = . );
. = __stack_size; . = __stack_size;
PROVIDE( _sp = . ); PROVIDE( _sp = . );
__freertos_irq_stack_top = .;
} >ram AT>ram } >ram AT>ram
} }