FreeRTOS xHeap address location

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

FreeRTOS xHeap address location

465件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nkarakotas on Tue Mar 06 00:31:11 MST 2012
Hello,

In my application im using quite alot of ram for eth/ppp/httpd/timezone etc. Im starting to have problems with the heap. Im not using the USB in my application and I would like to use that space to have lwip heap and FreeRTOS xheap.

Which is the best way of doing this? By just using the __BSS(RAM2) macros?

Regards,
Nick
0 件の賞賛
返信
1 返信

437件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nkarakotas on Tue Mar 06 00:53:22 MST 2012
I added the following:

static union xRTOS_HEAP
{
#if portBYTE_ALIGNMENT == 8
volatile portDOUBLE dDummy;
#else
volatile unsigned long ulDummy;
#endif
unsigned char ucHeap[ configTOTAL_HEAP_SIZE ];
} xHeap __attribute__((section(".RamAHB32")));
0 件の賞賛
返信