Skip to content
Snippets Groups Projects
Commit 2a4655b6 authored by Kees Bakker's avatar Kees Bakker
Browse files

cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom

The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.

Also the configuration for the boards was incomplete (no MUX, no pad
setting).

It was tested on a SODAQ Autonomo, but not on a samr21-xpro
parent be1113fa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment