Skip to content
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

Missing dependency in the samd21_xpro configuration #487

Closed
benesjan opened this issue Jan 30, 2016 · 0 comments
Closed

Missing dependency in the samd21_xpro configuration #487

benesjan opened this issue Jan 30, 2016 · 0 comments
Assignees
Milestone

Comments

@benesjan
Copy link

Hi, I tried to initialize project using the following command: "platformio init --ide clion --board samd21_xpro".
It downloaded some dependencies but failed on the following error: IOError: [Errno 2] No such file or directory: '/home/honza/.platformio/packages/framework-mbed/variant/SAMD21J18A/SAMD21J18A.eix':
Basically the whole /home/honza/.platformio/packages/framework-mbed/ directory was missing.
The initialization failed, however the platformio.ini file was generated.
Solution:
I added teensy31, which is also dependant upon mbed framework, to the platformio.ini file. Then I ran the "platformio run" command. It downloaded the framework and now it works fine.

Content of modified platformio.ini file:
[env:samd21_xpro]
platform = atmelsam
framework = mbed
board = samd21_xpro

[env:teensy31]
platform = teensy
framework = mbed
board = teensy31

Thanks

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

No branches or pull requests

3 participants