Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12616 Discussions

TSE initialization : Memory Allocation Problem

Altera_Forum
Honored Contributor II
1,070 Views

Hello all, 

 

Currently I am working on DE2-115 Dev kit. I want to initialise the ethernet port without Niche Stack (TCP/IP Stack). For this purpose, I need to allocate the memory for packet. So I want to know how to allocate the memory in NIOS2. 

 

Thanks for any suggestion or help.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
333 Views

The same as in C: malloc()

0 Kudos
Altera_Forum
Honored Contributor II
333 Views

I think NicheStack provides a pk_alloc() function for this purpose

0 Kudos
Reply