Hi there!
I get this on windows: (VSCODE)
Linking .pio\build\esp32_omotor_drv_r14\bootloader.elf
c:/users/glmne/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lUsersglmne.platformiopackagesframework-espidf@3.40001.200521componentsxtensaesp32libhal
collect2.exe: error: ld returned 1 exit status
Archiving .pio\build\esp32_omotor_drv_r14\lib99c\libota_logs.a
Archiving .pio\build\esp32_omotor_drv_r14\libe5b\libota_server.a
*** [.pio\build\esp32_omotor_drv_r14\bootloader.elf] Error 1
=========================================================== [FAILED] Took 12.39 seconds ===========================================================
Environment Status Duration
-------------------- -------- ------------
esp32_omotor_drv_r14 FAILED 00:00:12.391
platformio.ini relevant parts are:
[env]
platform = espressif32@1.12.2
framework = espidf
board = esp32doit-devkit-v1
monitor_speed = 115200
monitor_filters = time, esp32_exception_decoder
board_build.partitions = partitions.csv
upload_speed = 921600
[env:esp32_omotor_drv_r14]
build_flags =
${env.build_flags}
-DPESPAGV_OMOTOR_DRV
-DPESPAGV_IP=192.168.2.21
-DPESPAGV_PORT=4081
-DPESPAGV_BOARD_REV=14
It does work on windows wsl2 ubuntu 20 (clean pio cli only install)
I reproduced this issue in two windows machines. I tried deleting the %USER%/.platformio folder and even uninstalling the Platformio IDE plugin from VSCODE