Skip to content

add library.json file #19

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

james-shoemaker
Copy link

PlatformIO works better with a library.json file. I realize the file isn't completely correct, but my platformIO native test builds don't work without it.

@jpb10
Copy link
Owner

jpb10 commented Jan 16, 2023

PlatformIO is supposed to support the library.properties manifest. Do you know why it doesn't work in some cases?

If there's a particular character or field it doesn't like, I can fix the current file.

@james-shoemaker
Copy link
Author

james-shoemaker commented Jan 17, 2023 via email

@jpb10
Copy link
Owner

jpb10 commented Jan 17, 2023

Let me look into it, I don't mind adding the json file if necessary.

@james-shoemaker
Copy link
Author

james-shoemaker commented Jan 17, 2023 via email

@jpb10
Copy link
Owner

jpb10 commented Jan 18, 2023

Yes, whatever you prefer.

Also, consider asking the people at platformio... it could be very obvious to them.

@james-shoemaker
Copy link
Author

james-shoemaker commented Jan 18, 2023 via email

@jpb10
Copy link
Owner

jpb10 commented Jan 21, 2023

Can you try adding the following line to platformio.ini:

lib_compat_mode = off

This seems to get past the library dependency finder issues, but I'm getting various undeclared/undefined errors... so I'm not able to finish the build.

@james-shoemaker
Copy link
Author

james-shoemaker commented Jan 23, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants