-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upgrade platformio lib to pio pkg to install library EspSoftwareSerial #4410
Comments
As
so you should be using
as the command instead. |
Thanks @maxgerhardt for pointing to this package installation command. This solved my problem. A combination of options |
I guess if the |
Yes, @maxgerhardt, I marked this issue as a bug. We will fix it. |
Please re-rest with the latest PlatformIO Core using |
@ivankravets The Thanks for your support. 👍 |
Configuration
Operating system: Ubuntu 22.04
PlatformIO Version: PlatformIO Core, version 6.1.4
Description of problem
I'm porting CI build scripts from legacy
platformio lib
topio pkg install
, but does not work for a specific library.Background: The developer of library
[email protected]
introduced a filename conflictsrc/SoftwareSerial.[c|h]
as this library can only be used for ESP targets, not AVR. For this reason, it cannot be installed globally. A workaround was to install this library directly in the ESP libraries framework directory:.platformio/packages/framework-arduinoespressif32/libraries/EspSoftwareSerial/
.Legacy code (worked):
New code (does not work):
Steps to Reproduce
Execute the commands above.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Not applicable, building directly an Arduino IDE sketch from the commandline.
Source file to reproduce issue:
See above.
Any suggestions how to proceed?
The text was updated successfully, but these errors were encountered: