Hi,
I posted:
https://issues.apache.org/jira/browse/MYNEWT-174
If folks have a little spare time to look at this over the weekend, I'd
be super appreciative for any thoughts people have.
I've spelled out what I'm thinking in the comments section. But the
summary here is: it would be good to have some re-use of the mbed-hal
work, and not force chip vendors who are doing new microcontrollers to
implement both mbed's hal and ours.
The ideal case would be that we can map our HAL to Mbed's HAL, and then
find someway that we can use our package system to include all the
mbed-hal libraries. That way, for ARM Cortex-M* platforms, we can share
effort on the HAL.
And the benefit to keeping our HAL, and developing against it -- we can
be microcontroller architecture (i.e. non-ARM) agnostic.
Anyhow, please do look through the mbed-hal, and an implementation:
https://github.com/ARMmbed/mbed-hal (top-level HAL apis)
https://github.com/ARMmbed/mbed-hal-silabs (general silabs hal)
https://github.com/ARMmbed/mbed-hal-efm32gg (EFM32 silabs chipset impl)
(there are more links in the ticket)
Thoughts? Issues?
Sterling