Closed meakashrao closed 4 months ago
The old build uses mdns build 1.2.1
In file included from D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/cores/esp32/Print.h:28,
from D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/WiFi/src/WiFi.h:29,
from D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/OTA/OTA.c:24:
D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/cores/esp32/Printable.h:25:1: error:
unknown type name 'class'
From the log, the error occurs because you are including a C++ header file (WiFi.h) from a C source file (DelishUP-RTOS/components/OTA/OTA.c).
@igrr Thanks, That solved it
Now please help with this as well, I have mdns 1.3.1 as a managed component. So, why this? I can hower and open this .h file
[1630/1643] Building CXX object esp-idf/OTA/CMakeFiles/idf_OTA.dir/OTA.cpp.obj
FAILED: esp-idf/OTA/CMakeFiles/__idf_OTA.dir/OTA.cpp.obj
C:\Users\Akash\esp\Tools_Directory\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DESP_PLATFORM -DIDF_VER=\"v5.1.2-666-ga5e3e0b90e\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/build/config -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/OTA/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/newlib/platform_include -IC:/Users/Akash/esp/v5.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/freertos/esp_additions/include/freertos -IC:/Users/Akash/esp/v5.1/esp-idf/components/freertos/esp_additions/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/freertos/esp_additions/arch/xtensa/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_hw_support/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_hw_support/include/soc -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/Akash/esp/v5.1/esp-idf/components/heap/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/log/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/soc/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/soc/esp32 -IC:/Users/Akash/esp/v5.1/esp-idf/components/soc/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/hal/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/hal/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/hal/platform_port/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_rom/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_rom/include/esp32 -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_rom/esp32 -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_common/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_system/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_system/port/soc -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_system/port/include/private -IC:/Users/Akash/esp/v5.1/esp-idf/components/xtensa/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/xtensa/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/include/apps -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/include/apps/sntp -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/lwip/src/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/port/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/port/freertos/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/port/esp32xx/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/lwip/port/esp32xx/include/arch -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/variants/esp32 -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/cores/esp32 -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ArduinoOTA/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/AsyncUDP/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/BLE/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/BluetoothSerial/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/DNSServer/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/EEPROM/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ESP_I2S/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ESP_NOW/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ESP_SR/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ESPmDNS/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Ethernet/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/FFat/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/FS/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/HTTPClient/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/HTTPUpdate/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Insights/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/LittleFS/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/NetBIOS/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Network/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/PPP/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Preferences/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/RainMaker/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/SD_MMC/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/SD/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/SimpleBLE/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/SPIFFS/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/SPI/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Ticker/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Update/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/USB/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/WebServer/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/NetworkClientSecure/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/WiFi/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/WiFiProv/src -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/Wire/src -IC:/Users/Akash/esp/v5.1/esp-idf/components/spi_flash/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_partition/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/port/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/mbedtls/library -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/Users/Akash/esp/v5.1/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/Users/Akash/esp/v5.1/esp-idf/components/wifi_provisioning/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/protocomm/include/common -IC:/Users/Akash/esp/v5.1/esp-idf/components/protocomm/include/security -IC:/Users/Akash/esp/v5.1/esp-idf/components/protocomm/include/transports -IC:/Users/Akash/esp/v5.1/esp-idf/components/protocomm/include/crypto/srp6a -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/include/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/common/osi/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/common/api/include/api -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/common/btc/profile/esp/blufi/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/common/btc/profile/esp/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/host/bluedroid/api/include/api -IC:/Users/Akash/esp/v5.1/esp-idf/components/bt/porting/ext/tinycrypt/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_timer/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_wifi/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_wifi/wifi_apps/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_event/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_phy/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_phy/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_netif/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/wpa_supplicant/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/wpa_supplicant/port/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_adc/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_adc/interface -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_adc/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_adc/deprecated/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_eth/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/deprecated -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/analog_comparator/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/dac/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/gpio/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/gptimer/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/i2c/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/i2s/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/ledc/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/mcpwm/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/parlio/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/pcnt/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/rmt/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/sdio_slave/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/sdmmc/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/sigma_delta/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/spi/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/temperature_sensor/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/touch_sensor/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/twai/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/uart/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/usb_serial_jtag/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/driver/touch_sensor/esp32/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_pm/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_ringbuf/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/http_parser -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/managed_components/chmorganesp-libhelix-mp3/libhelix-mp3/pub -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_https_ota/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_http_client/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bootloader_support/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/bootloader_support/bootloader_flash/include -IC:/Users/Akash/esp/v5.1/esp-idf/components/esp_app_format/include -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/GPIO_Definitions/include -ID:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/ESP_Nuvoton_UART/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS=. -fmacro-prefix-map=C:/Users/Akash/esp/v5.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu++2b -fno-exceptions -fno-rtti -DARDUINO=10812 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32_DEV\" -DARDUINO_VARIANT=\"esp32\" -DESP32 -MD -MT esp-idf/OTA/CMakeFiles/idf_OTA.dir/OTA.cpp.obj -MF esp-idf\OTA\CMakeFiles__idf_OTA.dir\OTA.cpp.obj.d -o esp-idf/OTA/CMakeFiles/idf_OTA.dir/OTA.cpp.obj -c D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/OTA/OTA.cpp
In file included from D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/OTA/OTA.cpp:30:
D:/UP/GitHubVSArea/ESP_IDF/ESP32FW-IDF-RTOS/DelishUP-RTOS/components/arduino/libraries/ESPmDNS/src/ESPmDNS.h:45:10: fatal error: mdns.h: No such file or directory
45 | #include "mdns.h"
| ^~~~
compilation terminated.
[1635/1643] Building CXX object esp-idf/arduino/CMakeFiles/__idf_arduino.dir/libraries/WiFi/src/STA.cpp.obj
ninja: build stopped: subcommand failed.
Seems like mdns
dependency in arduino-esp32 has to be declared as public
because mdns.h
is included from a public header file.
@meakashrao You can work around the issue by adding espressif__mdns
to the list of requirements of your OTA
component (in DelishUP-RTOS/components/OTA/CMakeLists.txt).
@igrr
You can work around the issue by adding
espressif__mdns
to the list of requirements of yourOTA
component (in DelishUP-RTOS/components/OTA/CMakeLists.txt).
Thank you, this helps.
What about these two issues
Deleting and commenting, helped me solve them, is this the right thing to do, doesn't look like it asking for clarity
I think the latest Arduino-esp32 uses a more recent bug fix release of IDF v5.1.x where these fields/types are introduced. Please try updating your IDF to latest release/v5.1 branch, that should solve the remaining issues.
This seems to be a mismatch between Arduino Core 3.0.0 and the IDF version it comes with, then. I have the same two issues:
cores/esp32/chip-debug-report.cpp:197:18: error: 'ESP_PARTITION_SUBTYPE_DATA_LITTLEFS' was not declared in this scope
and
libraries/WiFi/src/WiFiGeneric.cpp:668:3: error: 'wifi_ftm_initiator_cfg_t' has no non-static data member named 'use_get_report_api'
The first one is easy to work around by defining -DESP_PARTITION_SUBTYPE_DATA_LITTLEFS=0x83
on the command line, but the second one requires patching the source.
I use makeEspArduino, if this makes any difference.
@everslick which exact version or better commit is used for IDF 5.1? I do successfully compile Arduino 3.0.0 as an component (using my Platformio, Arduino and IDF fork) The issues you encounter looks like an old IDF 5.1 version is used. LittleFS Partition is added sometime this year. The second one looks like a reference to a newer / changed function call in source wifi lib
IDF commit from release 3.0.0 can be seen here https://github.com/espressif/arduino-esp32/blob/b3ad98cbf6162b07719c6f9e587cdef0ed00ea2b/package/package_esp32_index.template.json#L45
@meakashrao Your IDF version is to old. ESP-IDF v5.1.2-666-ga5e3e0b90e
Best to use commit where the core 3.0.0 is compiled with IDF.
Using the release version IDF 5.1.4 will probably work too.
hmm, I never had to worry about this. I was under the impression, that a specific IDF version comes with a specific CORE version (i.e. they are version pinned to each other). Installing IDF was never a separate thing to do. CORE and IDF came as one.
@Jason2866 The contents of the file you posted above is the same as yours, btw.
"version": "idf-release_v5.1-442a798083"
maybe something is wrong with get.py
?
That is true. Are you sure that when you update the core you also run get.py? You must have the wrong libs to get those errors (or you use as IDF component and have the wrong IDF version)
I just realized that this might be exactly the issue. I DID NOT run get.py again after git pull
ing from master...
System: Linux, Bits: 64, Info: Linux-6.5.0-28-generic-x86_64-with-glibc2.35
Platform: x86_64-pc-linux-gnu
Downloading 'esp32-arduino-libs-951ade74d7886e1ce931ea46614c4ac47ae3a6c0.zip' ...
Downloading... 194.94 MB downloaded - Elapsed Time: 02:33.53 - Speed: 1.27 MB/s
@everslick with previous versions, the libs used to come inside the core. We changed this for v3.x, so it's usually critical to run get.py when updating the core.
@meakashrao can we close this issue?
Thx, @me-no-dev ! Iwill update my build scripts to handle this!
BTW, good work on the 3.0.0 release, the migration was pretty straight forward and you managed to keep it pretty API compatible. I'm very impressed! :+1:
@meakashrao can we close this issue?
Hey I have just sometime started using IDF, I use IDF in VS Code, what do I need to do?
idf.py --version
ESP-IDF v5.1.2-666-ga5e3e0b90e
@meakashrao get ESP-IDF v5.1.4 instead (or pull branch release/v5.1
) and use that
@everslick glad to hear! I hope the new APIs make more sense in Arduino also :)
Sure. Thanks will do that
Answers checklist.
IDF version.
ESP-IDF v5.1.2-666-ga5e3e0b90e
Espressif SoC revision.
ESP32-WROOM-32E-N8
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP-WROOM-32
Power Supply used.
USB
What is the expected behavior?
I expected that when using Arduino as a component, the Arduino core to compile, I had use one similar some 3 moths ago and it did compile.
I had to make some changes,
1) The Arduino Core I downloaded on 6th Feb 2024 did not have this line so I erased it after it threw the error.
2) Same goes with this, earlier version does not have this and I had to comment this out.
I also tried IDF Version 5.2.1, but it has some other error while downloading mdns as an component, so came back to idf version 5.1.2
What is the actual behavior?
Even after making those above changes, there are some errors in .h files of the Arduino cores.
IDF Bug.zip
Steps to reproduce.
Its a .c file, for uploading here made .txt file OTA.txt CMakeLists.txt
Debug Logs.
More Information.
No response