技术学英语

Hi,

I recently updated from ESP-IDF 4.2 to 4.4

Now I want to compile the Ethernet basic example, but I have no succes. The code compiles without errors but at run-time it does not show the expected output.

The example contains a number of conditional compilation statements, such as e.g.: #if CONFIG_EXAMPLE_USE_SPI_ETHERNET

By placing some logs I notice that the code inside the conditional blocks does not compile. Only logs outside these blocks give the expected output.

I used menuconfig to configure the example, but apparently that action does not produce the correct macros.

Did I overlook some action that must be carried out to enable conditional compilation? Especially after a fresh install of ESP-IDF 4.4?

Thanks
Fred

 

 

Ethernet example for W5500 does not compile OK - ESP32 Forum

 

posted on 2022-08-25 16:49  lydstory  阅读(19)  评论(0)    收藏  举报

导航