-
Notifications
You must be signed in to change notification settings - Fork 876
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
WIP: Add BBC micro:bit board #38
Conversation
So some things not yet working on Microbit. Specifically, the IRQ handler for the UART is not getting triggered. I would have expected to change this to then work |
You can take a look at src/device/nrf/nrf51.s for the proper interrupt name. |
@deadprogram can you maybe test whether I2C works, on the nrf52 and the nrf51? This PR is of course not finished but I wanted to share what I have so far. |
src/device/nrf/nrf51.s has an entry |
I fixed a few things in the last commits and I think it is ready now. |
OK just tested UART on both pca10040 and on Microbit. Both worked as expected. Then tested I2C on pca10040 and worked as previous. I do not currently have the correct adaptor for the Microbit edge connector to test i2c on that with my BlinkM. Seems like ready to merge. I will submit a PR with some code for the correct button mappings and also some basic code for the LED matrix once it lands. |
Thank you for testing! Merged in bc9210b. |
fix(pre-commit): rename .pre-commit-hook.yaml to .pre-commit-hooks.yaml
Not yet finished: the stm32 target breaks with the changes to .svd file parsing. But the micro:bit works! I've tested examples/serial.
closes #27