Open aguaviva opened 4 months ago
This was my lazy fix
- if(strcmp(CONFIG_ESP_WIFI_SSID, "auto") == 0 || CONFIG_ESP_WIFI_IS_STATION) {
+ if(strcmp(CONFIG_ESP_WIFI_SSID, "auto") == 0
+#ifdef CONFIG_ESP_WIFI_IS_STATION
+ || CONFIG_ESP_WIFI_IS_STATION
+#endif
+ )
+ {
I also had to comment the two instances of esp_log_set_putchar
in platform.c, otherwise the app hangs there. I believe that might be because the UART is disables in an earlier call.
For some reason
CONFIG_ESP_WIFI_IS_STATION
is not set in sdkconfigAnd this causes a compilation error here https://github.com/walmis/blackmagic-espidf/blob/2f58e68c22b46e27bfc8942f7854c82f5ed24de5/main/platform.c#L453