Setting Heap and Stack sizes for MK22

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

Setting Heap and Stack sizes for MK22

2,547件の閲覧回数
Solarhacker
Contributor II

Using MCUXpresso IDE v11.2.1 with SDK_2.8.2_MK22FN128xxx12, Redlib (none)

Trying to change stack and heap size from default.  When I click on Heap or Stack Size (Default) No dialog is displayed.  I've tried --defsym=_HeapSize=0x0100 --defsym=_StackSize=0x0200 in linker flags

My project doesn't use any heap and stack requirements are less the 512 bytes. Currently out of 24K of RAM 7.5K are being consumed by unused heap and stack

>Darren

Solarhacker_0-1612816931144.png

 

0 件の賞賛
返信
3 返答(返信)

2,516件の閲覧回数
Solarhacker
Contributor II

I finally got it to work. When I click on "default" stack size, nothing changes on display. if I enter a value and then left click again, value updates. Not expected dialog behavior.

0 件の賞賛
返信

2,530件の閲覧回数
ErichStyger
Specialist I

You can change the value from the default:

ErichS_0-1612867511971.png

 

Click into the field and enter a value.

 

I hope this helps,

Erich

2,535件の閲覧回数
frank_m
Senior Contributor III

Have you tried to enter approriate size values in the shown "Settings" screen, instead of leaving it at "Default" ?

There appears no additional screen for me, but I can manually enter values.

Version 11.1. for a LPC546xx, though.