Search found 2 matches

by ataweg
Tue Nov 19, 2019 8:17 pm
Forum: General Discussion
Topic: How to migrate from tcpip_adapter_* to esp_netif_`*
Replies: 7
Views: 18207

How to migrate from tcpip_adapter_* to esp_netif_`*

Today I updated to the last version of esp-idf and wanted to build my project. There was a message "tcpip_adapter_init () is deprecated please use esp_netif_init ()". Ok, I did it and my project was built, but there was a crash. So I edited around until my project ran again. I would like to share th...
by ataweg
Sat Jan 20, 2018 2:00 pm
Forum: Report Bugs
Topic: ESP_LOGD crashes when a %s parameter is NULL
Replies: 1
Views: 4975

ESP_LOGD crashes when a %s parameter is NULL

The following code snipplet results in a program crash:

Code: Select all

 char *string = NULL;
 ESP_LOGD( TAG, "*** crash here %s", string );
Since the ESP_LOG * functions are often used for debugging, it is more than annoying when these functions themselves crash, because the parameters are not well defined.