User Tools

Site Tools


arduino:esp32-api3-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:esp32-api3-en [2025/05/21 09:29] rjversluisarduino:esp32-api3-en [2025/05/21 09:43] (current) rjversluis
Line 7: Line 7:
   * **[[:arduino:esp32-api3-en|ESP32 API 3.x]]**   * **[[:arduino:esp32-api3-en|ESP32 API 3.x]]**
  
 + \\ 
 +|  Due to OTA/mDNS compile errors WIO ESP32 cannot use API 3.x  |
  
  \\  \\
Line 29: Line 30:
 #include "rom/gpio.h" #include "rom/gpio.h"
 </code> </code>
 +
 + \\
 +=====Show stopper OTA/mDNS=====
 +The API 3.x is not consistent and cannot compile itself:
 +<code>
 +In file included from ~/Library/Arduino15/packages/esp32/hardware/esp32/3.2.0/libraries/ArduinoOTA/src/ArduinoOTA.cpp:21:
 +~/Library/Arduino15/packages/esp32/hardware/esp32/3.2.0/libraries/ESPmDNS/src/ESPmDNS.h:125:3: error: 'mdns_result_t' does not name a type
 +  125 |   mdns_result_t *results;
 +      |   ^~~~~~~~~~~~~
 +~/Library/Arduino15/packages/esp32/hardware/esp32/3.2.0/libraries/ESPmDNS/src/ESPmDNS.h:126:3: error: 'mdns_result_t' does not name a type
 +  126 |   mdns_result_t *_getResult(int idx);
 +      |   ^~~~~~~~~~~~~
 +~/Library/Arduino15/packages/esp32/hardware/esp32/3.2.0/libraries/ESPmDNS/src/ESPmDNS.h:127:3: error: 'mdns_txt_item_t' does not name a type
 +  127 |   mdns_txt_item_t *_getResultTxt(int idx, int txtIdx);
 +      |   ^~~~~~~~~~~~~~~
 +exit status 1
 +</code>
 +This blocks the WIO ESP32 migration from 2.x to 3.x.\\
  
  
arduino/esp32-api3-en.1747812558.txt.gz · Last modified: 2025/05/21 09:29 by rjversluis