Show newer

@lopeztel Yep my port of Mynewt to BL602 should work on all BL602 boards. If you follow my (incomplete) article here...

lupyuen.github.io/articles/gpi

It means that we can reuse the BL602 Microcontroller Package. For each BL602 board we just create a simple Board Support Package to define the things specific to the board, like LED GPIO.

There's still a lot more work to be done. I have ported only the GPIO part, we still need to do UART, I2C, SPI, ...

So if you're in a hurry, you might have to use the low level BL602 IoT SDK. Just that the code will be locked in to BL602 and won't run on other microcontrollers.

@lupyuen Hi! quick technical question, how portable is the work you've done on the #PineCone to other #BL602 based boards? looking at this one: analoglamb.com/product/bl602-r

@chrysn Unfortunately the BL602 Rust HAL doesn't support I2C and SPI yet... So the more complex drivers won't work

@lupyuen Well one of your stash looks like a DHT11, and that's even on the first page of crates.io/keywords/embedded-ha

Not sure about the current status of BL602 Rust HAL (I2C, SPI, etc)... But I could take the Rust Drivers for the sensors and host them on top of Mynewt... Like I did with PineTime previously 🤔

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.