Skip to content

PlatformIO requires explicit M5Unified dependency or build fails. #66

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

Closed
2 tasks done
dansiviter opened this issue Jan 23, 2025 · 4 comments
Closed
2 tasks done

Comments

@dansiviter
Copy link

Describe the bug

When using this library in a PlatformIO project, it does not automatically bring in M5Unified dependency.

To reproduce

  1. Add the following to PlatformIO project:
lib_deps =
    m5stack/M5CoreS3@^1.0.0
  1. Build project and observe failure.

Expected behavior

It should automatically depend on M5Unified.

Screenshots

No response

Environment

  • OS: Windows 11
  • IDE &IDE Version: PlatformIO 3.3.4 via VSCode 1.96.4
  • Repository Version: 1.0.0

Additional context

It can be worked around by also including M5Unified:

lib_deps =
    m5stack/M5Unified@^0.2.2
    m5stack/M5CoreS3@^1.0.0

Issue checklist

  • I searched for previous reports in the issue tracker
  • My report contains all necessary details
@Tinyu-Zhao
Copy link
Collaborator

Why not use that .ini file.

@dansiviter
Copy link
Author

@Tinyu-Zhao that's a workaround, the dependency chain is still broken.

@Tinyu-Zhao
Copy link
Collaborator

@Tinyu-Zhao that's a workaround, the dependency chain is still broken.

Do you have any good suggestions.

@Tinyu-Zhao
Copy link
Collaborator

If you like, Ivan Kravets gives the answer.

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

No branches or pull requests

2 participants