在SOPC中做了一个以太网的软核,想在nios中用simple_socket_server_rgmii测试一下,但是一直有错误无法解决,用开发版自带的软核测试也是同样的错误,纠结了,不知如何解决。。。我用的是nios11.0,错误如下:
Compiling network_utilities.c...
../network_utilities.c: In function `generate_and_store_mac_addr':
../network_utilities.c:239: error: `EXT_FLASH_NAME' undeclared (first use in this function)
../network_utilities.c:239: error: (Each undeclared identifier is reported only once
../network_utilities.c:239: error: for each function it appears in.)
../network_utilities.c: In function `get_board_mac_addr':
../network_utilities.c:316: error: `EXT_FLASH_BASE' undeclared (first use in this function)
../network_utilities.c: In function `FindLastFlashSectorOffset':
../network_utilities.c:385: error: `EXT_FLASH_NAME' undeclared (first use in this function)