Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: Stack size problem

$
0
0
Hi, I`m using YRDKRL78G13 Eval board.  For my project, I should define unsigned char array which size is 18000.  (  unsigned char readArray[18000] ;  ) So I try to increase Stack size on IAR IDE . (Project- Options- General Options- Stack size) I set the Stack size(bytes) as 20000 then this following error occures when I compile the project. Error[e16]: Segment CSTACK (size: 0x4e20 align: 0x1) is too long for segment definition. At least 0x3f14 more bytes needed. The problem occurred.  while processing the segment placement command "-Z(DATA)CSTACK+_CSTACK_SIZE=FEF00-FFE1F", where at the moment of placement the available memory ranges were "CODE:fef13-ffe1f" What might cause this error ? How can I increase stack size for my Renesas eval board ?   

Viewing all articles
Browse latest Browse all 59170

Trending Articles