Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.3142

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
DeusExMachina
Posts: 223
Joined: Tue Apr 03, 2012 5:08 am
Has thanked: 3 times
Been thanked: 3 times

Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.3142

Post by DeusExMachina »

Everything seems to be OK, but there is a warning message

Code: Select all

The stack pointer for stack 'CSTACK' (currently 0x20000400) is outside the stack range (0x20000800 to 0x20002000) 

I set memory limits according Linker - Config description of ST's doc
"UM0985 User manual Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software"
Increasing heap and stack size has no effect.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.

Post by Giovanni »

Hi,

That message is normal because each thread has its own stack area and the debugger is not aware of this, it only considers the C runtime stack (main thread stack).

Giovanni
User avatar
DeusExMachina
Posts: 223
Joined: Tue Apr 03, 2012 5:08 am
Has thanked: 3 times
Been thanked: 3 times

Re: Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.

Post by DeusExMachina »

thx
Post Reply