简体   繁体   English

RIOT 是否支持以太网物理层?

[英]Does RIOT support ethernet physical layer?

Setup:设置:

  1. Connect stm32f407vet6 and LAN8720, connect to ethernet连接stm32f407vet6和LAN8720,连接到以太网
  2. Code is here: https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn代码在这里: https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn : https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn

  3. cd RIOT/examples/emcute_mqttsn

  4. make BOARD=stm32f4discovery all flash term

  5. With ifconfig , ethernet interface info not printed.使用ifconfig ,不打印以太网接口信息。 Does RIOT support ethernet physical layer? RIOT 是否支持以太网物理层? Please see log:请看日志:

> help
2019-05-30 17:23:32,578 - INFO #  help
2019-05-30 17:23:32,581 - INFO # Command              Description
2019-05-30 17:23:32,584 - INFO # ---------------------------------------
2019-05-30 17:23:32,587 - INFO # con                  connect to MQTT broker
2019-05-30 17:23:32,592 - INFO # discon               disconnect from the current broker
2019-05-30 17:23:32,595 - INFO # pub                  publish something
2019-05-30 17:23:32,598 - INFO # sub                  subscribe topic
2019-05-30 17:23:32,603 - INFO # unsub                unsubscribe from topic
2019-05-30 17:23:32,606 - INFO # will                 register a last will
2019-05-30 17:23:32,609 - INFO # reboot               Reboot the node
2019-05-30 17:23:32,615 - INFO # ps                   Prints information about running threads.
2019-05-30 17:23:32,617 - INFO # ping6                Ping via ICMPv6
2019-05-30 17:23:32,623 - INFO # random_init          initializes the PRNG
2019-05-30 17:23:32,628 - INFO # random_get           returns 32 bit of pseudo randomness
2019-05-30 17:23:32,632 - INFO # nib                  Configure neighbor information base
2019-05-30 17:23:32,637 - INFO # ifconfig             Configure network interfaces
> ifconfig
2019-05-30 17:23:36,554 - INFO #  ifconfig
> 

STM32 Ethernet is supported in RIOT since a month ago , but the board you specified ( STM32F4Discovery ) does not have an Ethernet interface, and thus the module for it is not enabled.一个月前,RIOT 支持 STM32 以太网,但是您指定的板 ( STM32F4Discovery ) 没有以太网接口,因此未启用它的模块。

If your setup is similar to the discovery board, creating a board file for the stm32f407vet6 based on the discovery board and the nucleo-f767zi board that has support for STM32 Ethernet.如果您的设置与发现板类似,请根据发现板和支持 STM32 以太网的 nucleo-f767zi 板为 stm32f407vet6 创建板文件。 It's not a great deal of work if you know your board, and the project would certainly appreciate a pull request with whatever you come up with.如果您了解自己的董事会,这并不是一项繁重的工作,而且该项目肯定会感谢您提出的任何拉取请求

STM32 Ethernet is supported in RIOT since a month ago, but the board you specified (STM32F4Discovery) does not have an Ethernet interface, and thus the module for it is not enabled.一个月前,RIOT 支持 STM32 以太网,但是您指定的板(STM32F4Discovery)没有以太网接口,因此未启用它的模块。

If your setup is similar to the discovery board, creating a board file for the stm32f407vet6 based on the discovery board and the nucleo-f767zi board that has support for STM32 Ethernet.如果您的设置与发现板类似,请根据发现板和支持 STM32 以太网的 nucleo-f767zi 板为 stm32f407vet6 创建板文件。 It's not a great deal of work if you know your board, and the project would certainly appreciate a pull request with whatever you come up with.如果您了解自己的董事会,这并不是一项繁重的工作,而且该项目肯定会感谢您提出的任何拉取请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM