You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system:
Linux/Ubuntu 22.04
PlatformIO Version (platformio --version):
Tested in 6.0.2 and 6.1.0b1
Description of problem
For some reason, PlatformIO ignores dependency platforms when installing dependencies from library.json from an actual dependency defined in platformio.ini.
According to PlatformIO docs, PlatformIO should only install dependencies for the given platform. Instead, it appears that it installs all of them regardless on the platform.
#include<Arduino.h>
#include<ESPAsyncWebServer.h>voidsetup() {
// put your setup code here, to run once:
}
voidloop() {
// put your main code here, to run repeatedly:
}
Each run of build tries to install Hash but that has a platform of espressif8266 in the library.json dependencies config.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system:
Linux/Ubuntu 22.04
PlatformIO Version (
platformio --version
):Tested in 6.0.2 and 6.1.0b1
Description of problem
For some reason, PlatformIO ignores dependency platforms when installing dependencies from library.json from an actual dependency defined in platformio.ini.
My platformio.ini
Library.json of one of the affected libraries
According to PlatformIO docs, PlatformIO should only install dependencies for the given platform. Instead, it appears that it installs all of them regardless on the platform.
Output of a fresh build using these:
Steps to Reproduce
Actual Results
All library dependencies get installed regardless of the platform.
Expected Results
Only the dependencies for the platform used should be installed
The text was updated successfully, but these errors were encountered: