mlaz opened a new issue #2273: RFC - ADC API not abstract enough for a test app.
URL: https://github.com/apache/mynewt-core/issues/2273
 
 
   Currently the ADC API lacks on device and channel configuration data 
structures. This led us to having drivers which work in different fashions and 
use different configuration data structures. It made us deal with manufacturer 
SDK data structures on app code and stopped us from having an adc_test app 
(like we do with pwm_test) which besides being example code is helpful to test 
the drivers during manufacturer SDK code updates.
   
   This issue aims to find an ADC API witch abstracts as much as possible the 
hardware thus allowing more homogenous usage across drivers. 
   
   At this point I did a few 
[changes](https://github.com/mlaz/mynewt-core/tree/adc_api_changes) on the ADC 
API  and nRF52 driver so it works with the test app.
   The test app is based on the one we have on this 
[tutorial](https://mynewt.apache.org/latest/tutorials/sensors/nrf52_adc.html) 
and it can improved.
   
   Please review and comment.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to