-
Notifications
You must be signed in to change notification settings - Fork 130
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
microbit DAL doesn't build on mbed 5 #224
Comments
@RidaJichi is also looking at aspects of this |
Right @jaustin In conclusion, here is the recipe for bringing micro:bit Hello World (or another uBit app) to life on mbed-os 5 for now: If the microbit application is single-threaded, the option It is also possible to eliminate some parts of the mbed os while building the DAL, keeping the mbed SDK. This can be done by creating a EDIT: step 2 could be omitted, but the stack size will have to decrease to around 0.5k to allow having heap space sufficient for the microbit demands (at least 1214 bytes of heap to init uBit resources) (all this with BLE still removed). |
Thanks @jaustin @RidaJichi I'm very supportive of getting microbit-dal building against mainstream mbed, and resolving the issues we had to address in our local forks of the mbed repos along the way. If I understand correctly, there are two aspects to mbed 5. There's mbed os proper, which includes your RTOS scheduler etc. Then there's the SDK, which is pretty much similar to the mbed 2.0 HAL? Are we looking to support both these builds? For the SDK builds, we should be looking to have an equivalent (or ideally better!) build than we currently have against mbed classic. For mbed-os proper, I presume you do want to support BLE though? This will be quite a significant aspect for your partners/customers won't it? So some thought required there methinks... Probably starting with an analysis of where the memory use is, and then perhaps a tweaked configuration of both mbed-os and microbit-dal to suit? |
Is there a summary of WIP (Work In Progress or Who In Progress)? |
Any progress on this? Also +1 on wanting mbedOS 5 support. Is there any feature bounty on this which we could pitch in to? |
By default, the DAL doesn't build on mbed 5- there are a small number of API changes and build system changes that need to be accommodated
Some of these have been made by @tyomitch here:
https://github.com/tyomitch/microbit-dal
It is possible to use mbed 5 without the whole of mbed OS, and this would be a good step for micro:bit
The text was updated successfully, but these errors were encountered: