Closed KiraVerSace closed 4 years ago
hihi yes this is an issue with platformio's greedy compilation strategy - it compiles files even when they are not used by the project @ivankravets can help you configure the libraries to not compile all files
@KiraVerSace please ignore not needed libraries with https://docs.platformio.org/en/latest/projectconf/section_env_library.html#lib-ignore
hihi yes this is an issue with platformio's greedy compilation strategy - it compiles files even when they are not used by the project @ivankravets can help you configure the libraries to not compile all files
@KiraVerSace please ignore not needed libraries with https://docs.platformio.org/en/latest/projectconf/section_env_library.html#lib-ignore
Hi, Two great gods I am not bright enough and from China, Could you help me more detailed, I just want to use my IPS_TFT with ST7789 under the stm32duino and use the SPI1, which library should I ignored and where should I changed in files.
But I never meet the problem berfore I update the library in the platformIO,
Thankyou very much. Best regards!
Hi @KiraVerSace ! Your platformio.ini
should look something like this:
[env:nucleo_l476rg]
platform = ststm32
board = nucleo_l476rg
framework = arduino
lib_deps =
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Wire
lib_ignore =
SD
@KiraVerSace please ignore not needed libraries with https://docs.platformio.org/en/latest/projectconf/section_env_library.html#lib-ignore
Hi @KiraVerSace ! Your
platformio.ini
should look something like this:[env:nucleo_l476rg] platform = ststm32 board = nucleo_l476rg framework = arduino lib_deps = Adafruit GFX Library Adafruit ST7735 and ST7789 Library Wire lib_ignore = SD
Thak you for your help, It seems slove my problem, I just add lib_ignore = SD, but I want to know why, because I used to use the adafruit library and I don't meet this problem, But now, so I want to know, what's the reason cause it? and I never use lib_deps before.
it happens now because we now document all dependancies for libraries, as the Arduino IDE now auto-installs them - so there are more dependancies that are compiled
OK, I use the library in vscode with platformIO, I just install the library adafruit_gfx, and adafruit_st7789, and some libraries depend on it, it install automatically. After it, I start to use it like this:
I just build it, there are too many errors as blew. Would you like to help me, thank you very much.