-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compatibility with micro:bit v2 #3
Comments
@ShiquanYu - Are you able to look at this issue? |
Hi, Pauline I will take a look at this issue and attempt to fix. However, the link to MicroBitSerial compatibility points to a 404 page. Please update if possible. |
@microbit-sam Is the 404 error something that you are able to look at? |
That link should be to lancaster-university/codal-microbit-v2#31, which it looks like you've already found @tianli
|
@microbit-sam Our extension compiled but shows 927 when download to a MicroBit V2. Could you confirm if MicroBitSerial is working or it simply disabled in MicroBit V2? |
I just disabled all the MicroBitSerial in the code, can you take a look if this will resolve the 927 problem? Thank you! |
Hi @tianli Hope that's clear! Thanks |
Thanks @microbit-sam Thank you! |
You will have to fork the repository and create a new branch to edit the file, and then submit a pull request for the MakeCode team to accept I can do this for you if you want |
That's great, please help me do that. Thank you! |
@microbit-sam please help me do that, thank you! |
@microbit-sam Sorry to bother you again, do you know why the build failed? It looks like a dependency issue for 'pxt-microbit'? npm ERR! code ETARGET |
@microbit-sam I updated release v1.2.21 to include a few fixes. It seems that this statement After trial-and-error, I was able to use The code now fully compiles and I updated release v1.2.21. Please try to build again and it should work now. Thanks!. |
Hi @mu-opensource,
As you might have seen from microsoft/pxt-microbit#3506 this extension is currently not compiling against the latest version of Micro:bit CODAL. This means it will not work with micro:bit V2.
Software for micro:bit V2 boards is built using CODAL rather than the DAL, and no longer includes the mbed layer. We’ve implemented the most frequently used mbed classes to support easy porting of existing extensions, but there may still be corner cases with this compatibility layer.
As your extension is currently not building, it will be disabled for micro:bit V2. People attempting to use your extension with a micro:bit V2 board will get error 929. This extension will only be re-enabled on micro:bit V2 once it is fixed.
There are details on how to ensure extensions work on both version of the micro:bit here (lancaster-university/codal-microbit-v2#31).
Looking at your extension source I believe that your extension falls under this category:
MicroBitSerial compatibility is still being looked at and updates will be tracked here
The text was updated successfully, but these errors were encountered: