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 07:50] 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 13: Line 14:
 Moving from API 2.0.17 to 3.x.\\ Moving from API 2.0.17 to 3.x.\\
 Espressive massively broke the compatibility from 2.x to 3.x which is the main reason to stick with 2.0.17\\ Espressive massively broke the compatibility from 2.x to 3.x which is the main reason to stick with 2.0.17\\
 +
 +Changes are saved in a separate branch: https://gitlab.com/rocrail/wio/-/tree/ESP32_API3?ref_type=heads \\
  
  \\  \\
Line 27: 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.1747806658.txt.gz · Last modified: 2025/05/21 07:50 by rjversluis