Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
802 Views

Ethernet compilation issue

Hi ,

I am new to NIOS SBT.I am trying to compile sample Ethernet application on the Arria 10 GX FPGA Development Board EVM.

I have added the eth_tse_0 driver and niche tcp ip stack in bsp editor tab and also -DTSE_MY_SYSTEM macro in defined symbols.

but still i am getting "undefined reference to `tse_mac_device'".

I have attached the sample code also.

 

let me know if any other steps i am missing.

0 Kudos
2 Replies
Highlighted
Moderator
9 Views

Hi,

You can try to refer this page of the NIOSII handbook for how to add the ethernet driver:

https://www.intel.co.jp/content/dam/altera-www/global/ja_JP/pdfs/literature/hb/nios2/n2sw_nii5v2.pdf...

 

0 Kudos
Highlighted
Beginner
9 Views

Hi ,

I have missed to add the tse_mac_device structure of type alt_tse_system_info. After adding below statement,it worked.

alt_tse_system_info tse_mac_device[MAXNETS] = {

TSE_SYSTEM_EXT_MEM_NO_SHARED_FIFO(ETH_TSE_0, 0, MSGDMA_TX, MSGDMA_RX, TSE_PHY_AUTO_ADDRESS, ADDITIONAL_PHY_CFG, DESCRIPTOR_MEMORY)

};

 

0 Kudos