Creating a newproject i have this kind of issue:
Compiling is write but linking failes with this messge:
Linking .pio\build\az-delivery-devkit-v4\firmware.elf
c:/users/mormic/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lC:\Users\Mormic\OneDrive\Documents\PlatformIO\Projects\TOUCH_ESP32=
c:/users/mormic/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lC:\Users\Mormic\OneDrive\Documents\PlatformIO\Projects\TOUCH_ESP32\32
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\az-delivery-devkit-v4\firmware.elf] Error 1
I removed all folders in c:\users\mormic\.platformio\packages + c:\users\mormic\.platformio\platforms + .cache
Always the same issue idem with old project which ran before.
My platformio.ini:
[env:az-delivery-devkit-v4]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
board_build.partitions = spiffs_1_1MB.csv
lib_deps =
bodmer/TFT_eSPI
build_flags =
-D USER_SETUP_LOADED=1 ; Set this settings as valid
-D ILI9163_DRIVER=1 ; Select ILI9163 driver
-D TFT_WIDTH=240 ; Set TFT size
-D TFT_HEIGHT=320
-D TFT_MISO=19 ; Define SPI pins
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=5
-D TFT_DC=4 ; Data/Comand pin
-D TFT_RST=22 ; Reset pin
-D LOAD_GLCD=1 ; Load Fonts
-D TFT_BL = 32
-D TFT_BACKLIGHT_ON_HIGH
-D TOUCH_CS=14
-D TOUCH_IRQ=27
-D SPI_FREQUENCY=27000000 ; Set SPI frequency
-D SPI_READ_FREQUENCY=20000000
-D SPI_TOUCH_FREQUENCY=2500000
Is it a upgrade issue?