[riot-notifications] [RIOT-OS/RIOT] Arduino Zero ADC (#11335)

Kaspar Schleiser notifications at github.com
Wed Apr 3 15:06:29 CEST 2019


Welcome @Alexander-M1!

General questions like this are supposed to be asked on our mailing lists (e.g., users at riot-os.org or devel at riot-os.org).

> I'm also curious as to how come the Xpro board has ADC support and the Zero board hasn't got it - are the chips really that different, or is it just a matter of changing a few registers?

The actual periph implementation should work as is. The ADC configuration is definitely missing.
If you could get it working by just compiling for samr21-xpro, try copying the corresponding parts and add periph_adc to the Makefile.features.

Try this patch (it compiles but otherwise completely untested):

https://gist.github.com/98402b82ba7b871bc23cd4f5736b598f

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11335#issuecomment-479480779
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190403/875f2359/attachment.html>


More information about the notifications mailing list