Thanks!! it works!. Now I get this problem when trying to upload:
Indexing .pio\build\esp-wrover-kit\libFrameworkArduino.a
*** [.pio\build\esp-wrover-kit\firmware.elf] Implicit dependency `C:\Users\jcbsk\.platformio\platforms\espressif32\builder\DUSER_SETUP_LOADED=1' not found, needed by target `.pio\build\esp-wrover-kit\firmware.elf'.
==================================================================== [FAILED] Took 24.88 seconds ====================================================================The terminal process "C:\Users\jcbsk\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.
but it is specified in the .ini file, so I do not know what is missing!!
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
build_flags =
DUSER_SETUP_LOADED = 1
DST7735_DRIVER=1
DTFT_WIDTH=240
DTFT_HEIGHT=240
DST7735_BLACKTAB=1
DTFT_RST=PIN_D2
DTFT_CS=PIN_D8
DTFT_DC=PIN_D4
DTFT_MOSI=23
DTFT_SCLK=18
DLOAD_GLCD=1
DLOAD_FONT2=1
DLOAD_FONT4=1
DLOAD_FONT6=1
DLOAD_FONT7=1
DLOAD_FONT8=1
DLOAD_FONT8N=1
DLOAD_GFXFF=1
DSMOOTH_FONT=1
DSPI_FREQUENCY=27000000
; lib_deps =
; adafruit/Adafruit BusIO@^1.5.0
; adafruit/Adafruit SSD1306@^2.4.0
; adafruit/Adafruit ST7735 and ST7789 Library@^1.6.0
bodmer/TFT_eSPI@^2.3.66