samd: fixed first-scan failure

This commit is contained in:
Ryan 2018-10-17 15:08:08 -07:00
parent 92ed79e68e
commit 77064754ad
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit a6405c6f2a3383173ad5da40ea167e206d950ad1
Subproject commit 832eb832fff85d0ecab461310466cf18b2f6006d

View File

@ -163,6 +163,7 @@ void platform_init(void)
gpio_config_output(TDI_PORT, TDI_PIN, 0);
gpio_config_output(TMS_PORT, TMS_DIR_PIN, 0);
gpio_set(TMS_PORT, TMS_DIR_PIN);
/* enable both input and output with pullup disabled by default */
PORT_DIRSET(SWDIO_PORT) = SWDIO_PIN;