netdev_list == RT_NULL: How to using ethernet in RT-Thread

Created at 2023-04-02 16:27:17

I used stm32f411-weact-blackpill to create a project on RT-Thread Stuido, then I installed the following drivers and packages:

image.png

image.png

image.png

I connect the ENC28J60 to the board as follows:

image.png

I use the sample at https://github.com/RT-Thread-packages/webclient/blob/master/samples/webclient_get_sample.c

to access internet but get null here:

image.png

image.png

what should i do to fix it, someone help me.

更多

Follower
0
Views
642
2 Answers
rbbbb
rbbbb 2023-04-04

I don't think you have enabled SPI peripherals.

wangyiwu
wangyiwu 2023-04-29

Can I discus with you directly, maybe througt Discord.

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share