This new implementation is posted as https://github.com/apache/incubator-mynewt-core/pull/25
Take a look and let me know what you think. Without negative feedback, I’ll commit on Monday/Tuesday Paul On 3/25/16, 2:58 PM, "Paul Dietrich" <[email protected]> wrote: >Just updating the group with my plan > >Folks commented offline that they didn¹t like that the mbed hal doesn¹t >allow multiple kinds of devices with the same HAL API at the same time. > >But they liked the pin mapping and init function that tied it to a pin. > >So the new API will combine the best of hal_adc3 and hal_adc2. I¹ll >hopefully post the pull request by the COB or during the weekend. > >One NOTE. The memory (RAM) issues of hal_adc2 will be addressed by >getting the device initializer from the BSP. So the BSP may malloc memory >for these to be efficient. > > > > >> > >
