Hi David,

There have been a couple of mails on this list that describe this, and the effort to clean it up a bit:

http://mail-archives.apache.org/mod_mbox/incubator-mynewt-dev/201606.mbox/%3C06CB0682-8F67-4C3F-93E4-6A20444487A1%40apache.org%3E

Is the relevant thread. I’ve been a bit delayed in getting to this, but hopefully in the next few weeks we’ll simplify this quite a bit.

There is a description there about how it is currently architected.

Sterling

On 6 Jul 2016, at 10:04, David G. Simmons wrote:

So I’m finally getting comfortable with mynewt, and now it’s time to do some *real* work here … MY first order of business will be implementing the ADC on the NRF52 board. So of course I’ve been reading up on how to do that. SPI, I2C, etc will have to follow, but I’m starting with the ADC since the sensor I am working with right now is an analog sensor. Plus I think the ADC will be easier than SPI to start with.

I’m still a bit boggled by the HAL/BSP interactions, and am a bit unsure how to go about implementing the ADC. I have all the Nordic Source, which has an implementation of the ADC, and I’m wondering if I can somehow just drop this in to the existing source tree and use it directly, or if I have to basically roll my own for mynewt.

If anyone has some simple explanations that can clear up some of my confusion, I’d appreciate it.

Best regards,
dg
--
David G. Simmons
(919) 534-5099
Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin <http://linkedin.com/in/davidgsimmons> • Twitter <http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs>
/** Message digitally signed for security and authenticity.
* If you cannot read the PGP.sig attachment, please go to
 * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!!
* Public key available at keyserver.pgp.com <http://keyserver.pgp.com/>
**/
♺ This email uses 100% recycled electrons. Don't blow it by printing!

There are only 2 hard things in computer science: Cache invalidation, naming things, and off-by-one errors.

Reply via email to