diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 12:55:31 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 13:14:01 -0700 |
| commit | 7ea76e0889d3f11960056cfca3bde77a3b70c33e (patch) | |
| tree | d01549ae0293395e6560c39721969eecb3464962 /atmel-samd/boards | |
| parent | 6984425f5da415ff232bd93c1b3c3cf10f81c1c2 (diff) | |
atmel-samd: Pin reset improvements.
* Reset SWD lines to SWD rather than GPIO. This makes OpenOCD happier.
* Default speaker enable lines to False for CircuitPlayground to prevent
the speaker from buzzing when no sound is playing. Fixes #126
Diffstat (limited to 'atmel-samd/boards')
| -rw-r--r-- | atmel-samd/boards/circuitplayground_express/mpconfigboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atmel-samd/boards/circuitplayground_express/mpconfigboard.h b/atmel-samd/boards/circuitplayground_express/mpconfigboard.h index 243e50358..c31e7f8eb 100644 --- a/atmel-samd/boards/circuitplayground_express/mpconfigboard.h +++ b/atmel-samd/boards/circuitplayground_express/mpconfigboard.h @@ -30,6 +30,8 @@ #define MICROPY_PORT_A (PORT_PA16 | PORT_PA20 | PORT_PA21 | PORT_PA24 | PORT_PA25) #define MICROPY_PORT_B (PORT_PB22) +#define SPEAKER_ENABLE_PIN (&pin_PA30) + #define AUTORESET_DELAY_MS 500 #include "spi_flash.h" |
