Hello,
I’m new to PlatformIO, so it’s possible I missed something silly and/or obvious.
I just created a blank project using the following platformio.ini:
[env:test]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
lvgl/lvgl@^8.3.4
It builds fine, no issues. I noticed I see the following in the dependencies list:
Scanning dependencies...
Dependency Graph
|-- lvgl @ 8.3.4
Now I want to switch my MCU to RP2040. I changed platformio.ini accordingly to look like this:
[env:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps =
lvgl/lvgl@^8.3.4
Now it fails to build with error message:
fatal error: Portenta_Video.h: No such file or directory
I also noticed my dependencies list is slightly different:
Dependency Graph
|-- lvgl @ 8.3.4
| |-- Portenta_lvgl @ 1.0
I would guess I got the error message due to added “Portenta_lvgl”.
I was trying to debug how PlatformIO builds its dependencies list and why it picked up Portenta when my MCU is RP2040.
Any ideas?