Skip to content

Commit

Permalink
Merge pull request RIOT-OS#7307 from Hyungsin/forupstream_gpio_fix
Browse files Browse the repository at this point in the history
samd21: gpio support samr21e18a
  • Loading branch information
aabadie authored Aug 15, 2017
2 parents fa51e1e + e8e0694 commit 03caac8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpu/samd21/periph/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ static const int8_t exti_config[2][32] = {
-1, 1, 2, 3, -1, -1, 6, 7, 12, 13, -1, 15, 8, -1, 10, 11},
{ 0, -1, 2, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0, 1, -1, -1, -1, -1, 6, 7, -1, -1, -1, -1, 8, -1, -1, -1},
#elif CPU_MODEL_SAMR21E18A
{-1, -1, -1, -1, -1, -1, 6, 7, -1, 9, 10, 11, -1, -1, 14, 15,
-1, 1, 2, 3, -1, -1, -1, -1, 12, 13, -1, 15, 8, -1, 10, 11},
{ 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
#else
#error Please define a proper CPU_MODEL.
#endif
Expand Down

0 comments on commit 03caac8

Please sign in to comment.