Hello Amen Zwa, > On Aug 21, 2017, at 6:08 PM, Christopher Collins <[email protected]> wrote: > > Hi Amen, > > On Mon, Aug 21, 2017 at 08:18:42PM -0400, Amen Zwa wrote: >> Hello Devs, >> >> Is there any documentation on how to install and run Mynewt on the BBC >> micro:bit? > > There isn't any documentation specific to the BSP, but hopefully you > won't have much trouble working from a tutorial for a different device. > I suggest starting with the nRF52dk blinky tutorial: > http://mynewt.apache.org/latest/os/tutorials/nRF52/ > > I believe the only discrepancy is the BSP name. You should use this > BSP: @apache-mynewt-core/hw/bsp/bbc_microbit. > > (the tutorial says to use .../nrf52dk instead). > >> Along the same line, is Mynewt able to control all the sensors built >> into the micro:bit? > > I don't believe the necessary drivers have been implemented, but I will > let others who are more familiar chime in. > >> My fervent wish is to use Mynewt as the RTOS for the micro:bit, then >> layer a Scheme or a Common Lisp atop the OS. It's a bit of a >> nostalgia, really; I want to create a plug-and-play “LISP Machine”, >> based on the micro:bit and Mynewt. > Very cool. I would love to know how it goes. > > Chris > >> >> Splendid work, you lot have done. I very much appreciate it. >> >> Sincerely, >> >> Amen Zwa
I agree with Chris’s responses. Unfortunately, we do not have support for the sensors BBC microbit has onboard. However, we are accepting PRs if you plan to write drivers for the same. Thank you for the appreciation. You can checkout other drivers at: https://github.com/apache/mynewt-core/tree/master/hw/drivers/sensors <https://github.com/apache/mynewt-core/tree/master/hw/drivers/sensors> If you would like to write drivers for onboard sensors and add support for sensor framework for them you can checkout the following documentation: http://mynewt.apache.org/latest/os/tutorials/sensors/sensor_thingy_lis2dh12_onb/ <http://mynewt.apache.org/latest/os/tutorials/sensors/sensor_thingy_lis2dh12_onb/> Regards, Vipul Rahane
