-
Couldn't load subscription status.
- Fork 7.7k
Facing compile error when updating framework-arduinoespressif32 #6611
-
Dear team,
Thank you for this great framework. I am facing a compile issue after updating the framework-arduinoespressif32. Any help to resolve it will be great.
Compile Error:
-IC:/users/asish johney george/.platformio/packages/framework-arduinoespressif32@src-537c58760dafe7fcc8a1d9bbcf00b6f6/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman/include" "-IC:/users/asish johney george/.platformio/packages/framework-arduinoespressif32@src-537c58760dafe7fcc8a1d9bbcf00b6f6/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_harris/include" "-IC:/users/asish johney george/.platformio/packages/framework-arduinoespressif32@src-537c58760dafe7fcc8a1d9bbcf00b6f6/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_nuttall/include" "-IC:/users/asish johney george/.platformio/packages/framewoxtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
rk-arduinoespressif32@src-537*** [.pio\build\esp32dev\test\test_main.cpp.o] Error 1
c5876xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
0dafe7fcc8a1d9bbcf00b6f6/t*** [.pio\build\esp32dev\test\tmp_pio_test_transport.cpp.o] Error 1
ools/sdk/esp32/include/esp-dsp/modules/windows/nuttall/include" "-IC:/users/asish johney george/.platformio/packages/framework-arduinoespressif32@src-537c58760dafe7fcc8a1d9bbcf00b6f6/tools/sdk/esp32/include/esp-dsp/modules/windows/flat_top/include" "
Platform.ini file:
[env:esp32dev]
;platform = espressif32
platform = https://github.com/platformio/platform-espressif32.git#v3.5.0
board = esp32dev
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
board_build.partitions = F:\Aspiration Energy\Heat Pump Monitoring\Hardware Development\Thermelgy tMY Future\Firmware\Development\Thermelgy Gen2 Gateway\Partition\Thermelgy_Custom_16MB.csv
lib_extra_dirs = C:\Users\Asish Johney George\Documents\Arduino\libraries
monitor_speed = 115200
build_flags =
-L.pio/libdeps/esp32dev/mDash/src/esp32/ -llibmDash
-DLOG_LEVEL=LOG_LEVEL_NONE
lib_deps =
cesanta/mDash@^1.2.14
eModbus@^1.3
esphome/AsyncTCP-esphome@^1.2.2
knolleary/PubSubClient@^2.8
[env:env1]
lib_deps =
eModbus@^1.3
esphome/AsyncTCP-esphome@^1.2.2
knolleary/PubSubClient@^2.8
Build Details:
Building...
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.5.0+sha.1ebe574) (git+https://github.com/platformio/platform-espressif32.git#v3.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 2.0.3+sha.b3c203d (git+https://github.com/espressif/arduino-esp32.git)
- tool-esptoolpy @ 1.30100.210531 (3.1.0)
- toolchain-xtensa32 @ 2.50200.97 (5.2.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 3 replies
-
Your setup is combining versions which are not working together. The good news PlatformIO crew has released a version based on core 2.0 x. So the setup looks like this to use actual Arduino .git master.
platform = espressif32 @ 4.1.0
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
This build_flags = -L.pio/libdeps/esp32dev/mDash/src/esp32/ -llibmDash looks very doubtfull
Avoid ALWAYS did i say ALWAYS? Whitespaces in path!! C:/users/asish johney george/
Beta Was this translation helpful? Give feedback.
All reactions
-
Thankq @Jason2866 for your valuable points.
As from the release notes of espressif32 @ 4.1.0 includes the framework-arduinoespressif32@2.0.1
Trying this:
platform = espressif32 @ 4.1.0
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
I have checked it but shows the same issue, may be because the master branch is 2.0.3 beta version.
This setting compiles fine :
platform = espressif32 @ 4.1.0
It sets the framework-arduinoespressif32 @ 2.0.1 in default.
But I am facing an another issue :
platformio/platform-espressif32#769 (comment)
build_flags = -L.pio/libdeps/esp32dev/mDash/src/esp32/ -llibmDash
Including this line is recommented by the mdash lib & it was compiling fine on espressif32 @ 3.5.0 and arduinoespressif32@1.0.6. But I am not sure that this cause problem on espressif32 @ 4.1.0.
Stuck on this issue, Any help will be really great.
Beta Was this translation helpful? Give feedback.
All reactions
-
Only the maintainer of mDash can help you, since he does not provide the source code.
Imho a bad idea to do this way. I would not use mDash since it could be spyware or other unwanted features in this software.
Beta Was this translation helpful? Give feedback.
All reactions
-
@Jason2866 Thank you so much for your help and guidance, I also raised an issue to Mdash official repository,
Beta Was this translation helpful? Give feedback.