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

Is offline c/c++ development dead? #484

Open
stalexwang opened this issue Nov 18, 2021 · 3 comments
Open

Is offline c/c++ development dead? #484

stalexwang opened this issue Nov 18, 2021 · 3 comments

Comments

@stalexwang
Copy link

I cloned microbit-examples repo, execute 'yt build', then I got the error message:
error: Can't pickle <function Pack.runScript at 0x10ef25e50>: it's not the same object as yotta.lib.pack.Pack.runScript

The official yotta project on GitHub is marked as deprecated.
So, does anyone have any idea about the future of microbit-dal?

It's sad the mbed 2.0 version used in DAL was already obsolete even before micro:bit was shipped.
And now yotta is gone.

@stalexwang stalexwang changed the title Is offline development dead? Is offline c/c++ development dead? Nov 18, 2021
@martinwork
Copy link
Contributor

Could that error be related to your local setup? Is that a Python error?
I see there was a recent update to microbit-samples: lancaster-university/microbit-samples@a97ba70
Maybe it's necessary to grab the latest microbit-samples, or make the same change locally?

@stalexwang
Copy link
Author

stalexwang commented Nov 18, 2021

Thanks, apparently some fellow developers also ran into this issue.

Found a workaround here:
ARMmbed/yotta#863 (comment)

@carlosperate
Copy link

I think I had the same issue a while ago, but only with Python 3.8+, so I installed yotta with Python3.6 and that worked.

Alternatively if you are familiar with Docker you could use this container image that has all the tooling setup: https://github.com/carlosperate/docker-microbit-toolchain

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

3 participants