請問 AMB82-mini 有支援 Ethernet 嗎?

請問 AMB82-mini 有支援 Ethernet 嗎?

我在 Standard SDK 試著修改
platform_opts.h @ project\realtek_amebapro2_v0_example\inc,
#define CONFIG_ETHERNET 1

執行 cmake --build . --target flash 後, 出現 error 如下:

/asdk-10.3.0/linux/newlib/bin/…/lib/gcc/arm-none-eabi/10.3.0/…/…/…/…/arm-none-eabi/bin/ld: warning: section .ram.bss' type changed to PROGBITS /asdk-10.3.0/linux/newlib/bin/../lib/gcc/arm-none-eabi/10.3.0/../../../../arm-none-eabi/bin/ld: CMakeFiles/application.ntz.dir/ameba-pro2_20220217/component/at_ cmd/log_service.c.obj:(.data.log_init_table+0xc): undefined reference to at_ethernet_init’
/asdk-10.3.0/linux/newlib/bin/…/lib/gcc/arm-none-eabi/10.3.0/…/…/…/…/arm-none-eabi/bin/ld: CMakeFiles/application.ntz.dir/ameba-pro2_20220217/component/lwi p/lwip_v2.1.2/port/realtek/freertos/ethernetif.c.obj: in function low_level_output_mii': /ameba-pro2_20220217/component/lwip/lwip_v2.1.2/port/realtek/freertos/ethernetif.c:196: undefined reference to rltk_mii_send’
collect2: error: ld returned 1 exit status
application/CMakeFiles/application.ntz.dir/build.make:5577: recipe for target ‘application/application.ntz’ failed
make[3]: *** [application/application.ntz] Error 1
CMakeFiles/Makefile2:289: recipe for target ‘application/CMakeFiles/application.ntz.dir/all’ failed
make[2]: *** [application/CMakeFiles/application.ntz.dir/all] Error 2
CMakeFiles/Makefile2:242: recipe for target ‘CMakeFiles/flash.dir/rule’ failed
make[1]: *** [CMakeFiles/flash.dir/rule] Error 2
Makefile:183: recipe for target ‘flash’ failed
make: *** [flash] Error 2

謝謝

您好 @Joy, 目前我們官方的開源 SDK 沒有支援 Ethernet 相關的庫和驅動程式。

請問從 Anchor 下載的 sdk-ameba-v9.5c.zip 有支援 Ethernet 嗎?

我試著修改
platform_opts.h @ project\realtek_amebapro2_v0_example\inc,
#define CONFIG_ETHERNET 1

執行 cmake … -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=…/toolchain.cmake -DEXAMPLE=sntp_showtime

compiler OK,
可是看起來 DHCP client 沒有要到 ip,
NTP 回傳的時間是
1970-1-1 0:0:10 UTC+8

請問如何確認 Ethernet 是正常的 ?
如何查看 DHCP client 要到的 ip 為何?

謝謝

可以請相關的FAE和PM來處理。