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

Compatibility with micro:bit V2 #4

Open
microbit-mark opened this issue Nov 24, 2020 · 8 comments
Open

Compatibility with micro:bit V2 #4

microbit-mark opened this issue Nov 24, 2020 · 8 comments

Comments

@microbit-mark
Copy link

Hi @waveshare

This extension is currently not compiling against the latest version of Micro:bit CODAL. This means it will not work with micro:bit V2.

microsoft/pxt-microbit#3506 provides more information on approved builds that are failing.

Whilst it is not on our approved list, we have had a user get in contact to say that it is not working for them.

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, people attempting to use your extension with a micro:bit V2 board will get error 929.

There are details on how to ensure extensions work on both version of the micro:bit here (lancaster-university/codal-microbit-v2#31).

@microbit-mark
Copy link
Author

@waveshare please take a look at this issue

@mszulen
Copy link

mszulen commented Dec 24, 2020

I wish I've found this issue before I've got the display for my 10 years old son.
He has Micro:Bit V2 and this display.
How frustrated he got at the Christmass eve discovering one of his gifts to not work....

@microbit-pauline
Copy link

@hnwangkg-ezio and @waveshare - We have another user that has contacted Micro:bit to confirm that the waveshare extension is not working with a micro:bit V2 board. Can you please confirm whether you will be putting the fix in place to enable the V2 board to work?

@mszulen
Copy link

mszulen commented Jan 27, 2021

This is the response I've received on 26th of Dec from the Waveshare support:
"I'm sorry about the problem.
The package is unavailable because the makecode was updated. We are looking on it and will update as soon as possible."

Seems, there's still nothing changed :(

@microbit-pauline
Copy link

I have been in contact with the Waveshare support team and they are working to put a solution in place for V2.

Response is 'Our engineer and working for the package, the problem is that we didn't get the document of the new compiler, in this case we are not able to modify it, could you please help with this?
We are making an javascript version and we will update it in the few days as soon as possible.

@microbit-sam is this something that you can assist the Waveshare team with?

@hnwangkg-ezio
Copy link
Contributor

@hnwangkg-ezio
Copy link
Contributor

you can git this TS version

@hnwangkg-ezio
Copy link
Contributor

We are sorry that this library has not been updated for a long time, because we want to use C++ to process the output of SPI, but recently learned that lancaster-university started editing the C++ compilation document. I will update the C++ version after their document is completed. . Currently, the global refresh using TS takes about 3S refresh time

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

4 participants