You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the arduino-esp32 component loaded into an ESP-IDF template project and getting compilation errors:
Here is an example:
make[1]: Entering directory '/home/kolban/esp32/Espruino/template/build/arduino-esp32'
CXX libraries/WiFi/src/WiFiScan.o
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp: In static member function 'static void WiFiScanClass::_scanDone()':
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:102:53: error: 'esp_wifi_get_ap_num' was not declared in this scope
esp_wifi_get_ap_num(&(WiFiScanClass::_scanCount));
^
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:104:42: error: expected type-specifier before 'wifi_ap_list_t'
WiFiScanClass::_scanResult = new wifi_ap_list_t[WiFiScanClass::_scanCount];
^
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:104:42: error: expected ';' before 'wifi_ap_list_t'
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:106:65: error: 'wifi_ap_list_t' was not declared in this scope
esp_wifi_get_ap_list(&(WiFiScanClass::_scanCount), (wifi_ap_list_t*)_scanResult);
^
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:106:80: error: expected primary-expression before ')' token
esp_wifi_get_ap_list(&(WiFiScanClass::_scanCount), (wifi_ap_list_t*)_scanResult);
^
/home/kolban/esp32/Espruino/template/components/arduino-esp32/libraries/WiFi/src/WiFiScan.cpp:106:92: error: 'esp_wifi_get_ap_list' was not declared in this scope
esp_wifi_get_ap_list(&(WiFiScanClass::_scanCount), (wifi_ap_list_t*)_scanResult);
On 2016-10-27 there were some checkins to the Github ESP-IDF repository. These changes some of the header files and signatures of some of the APIs used by the implementation of Arduino-ESP32. I believe that these are what are causing us not to be able to compile. I was going to create a fork and make the changes to reflect the new ESP-IDF library but then I realized that this would break an Arduino download. Hence I'm just raising this issue in the hope that you can resynchronize the Arduino-ESP32 project with the current release of ESP-IDF.
The text was updated successfully, but these errors were encountered:
* Add color definition
* Replace current colors
* Add some yellow and tweak color names
* Fix
* Add more info about Installing Arduino IDE
* Improvements
* Uppercase
* Make esp32 pull silent
* Enhancements
* Fix
* Fix color codes
* Fix checkmarks
* Add more colors!
* Remove not-working coloring
* Remove mkdir warning when cache is on
I am trying to build the arduino-esp32 component loaded into an ESP-IDF template project and getting compilation errors:
Here is an example:
On 2016-10-27 there were some checkins to the Github ESP-IDF repository. These changes some of the header files and signatures of some of the APIs used by the implementation of Arduino-ESP32. I believe that these are what are causing us not to be able to compile. I was going to create a fork and make the changes to reflect the new ESP-IDF library but then I realized that this would break an Arduino download. Hence I'm just raising this issue in the hope that you can resynchronize the Arduino-ESP32 project with the current release of ESP-IDF.
The text was updated successfully, but these errors were encountered: