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

Makecode microbit taking forever to compile #3755

Closed
KalbeAbbas opened this issue Nov 25, 2020 · 7 comments
Closed

Makecode microbit taking forever to compile #3755

KalbeAbbas opened this issue Nov 25, 2020 · 7 comments

Comments

@KalbeAbbas
Copy link

Microbit makecode editior is taking forever to compile extension containing cpp files. I tried to build both locally on PC and with microbit.makecode.com online editor.

@KalbeAbbas KalbeAbbas changed the title Makecode micorbit taking forever to compile Makecode microbit taking forever to compile Nov 25, 2020
@jaustin
Copy link
Collaborator

jaustin commented Nov 25, 2020

@abchatra this looks like the compile service is the issue here too

@abchatra
Copy link
Contributor

Compile service is up and running. Can you share the program? Likely extension is not compiling

@KalbeAbbas
Copy link
Author

@abchatra https://github.com/xinabox/pxt-IM01

It used to work with the old microbit. Thanks

@abchatra
Copy link
Contributor

abchatra commented Nov 26, 2020

We released v2 support in our editor last week. By default we build both on v2 & v1 hardware. If you don't want to build on v2 hardware right away, you can disable it for v2 by add the following to your extension. Then you should be able to just compile for v1.

    "disablesVariants": [
        "mbcodal"
     ]

See this PR for example: https://github.com/TinkerGen/pxt-BitPlayer/pull/2/files

@KalbeAbbas
Copy link
Author

Thanks lot :)

@KalbeAbbas
Copy link
Author

The server is running now and can compile with online editior. But, now I can't compile on my with pxt build command and is continuous polling. This is again with cpp files:

image

Note that the repo I am using here doesn't contain any mbed dependencies. It contains cpp files.

@KalbeAbbas
Copy link
Author

Reported this on new issue: #3770 (comment)

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