Установка:
- Подключите stm32f407vet6 и LAN8720, подключитесь к Ethernet
Код здесь: https://github.com/RIOT-OS/RIOT/tree/master/examples/emcute_mqttsn
cd RIOT/examples/emcute_mqttsn
make BOARD=stm32f4discovery all flash term
При ifconfig
информация об интерфейсе Ethernet не печатается. Поддерживает ли RIOT физический уровень Ethernet? Пожалуйста, смотрите журнал:
> 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
>