-
Notifications
You must be signed in to change notification settings - Fork 9
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 #5
Comments
This is now fixed in release v0.13.1 |
@lionyhw I can confirm that you extension compiles in MakeCode. Are you happy to close this issue? |
@microbit-mark Thank you for your confirmation. I'll close issues. |
I've bought a Smart AI Lens from ELECFREAKS, and the version is V2.8.4. I've tried to build a project using the AI Lens but the microbit diplay Init AI lens Error!. I'm using the web-base to download the program and upload the extension from PlanetX AI. Do anyone has a solution to it? Whether it is a version issue? Thank you. |
Describe the bug
Hi @elecfreaks ,
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:
To Reproduce
Compile a hex file for a micro:bit V2 using: makecode.microbit.org/beta
Expected behavior
The extension works on a micro:bit V2
The text was updated successfully, but these errors were encountered: