samd: fixed first-scan failure
This commit is contained in:
parent
92ed79e68e
commit
77064754ad
@ -1 +1 @@
|
|||||||
Subproject commit a6405c6f2a3383173ad5da40ea167e206d950ad1
|
Subproject commit 832eb832fff85d0ecab461310466cf18b2f6006d
|
@ -163,6 +163,7 @@ void platform_init(void)
|
|||||||
gpio_config_output(TDI_PORT, TDI_PIN, 0);
|
gpio_config_output(TDI_PORT, TDI_PIN, 0);
|
||||||
|
|
||||||
gpio_config_output(TMS_PORT, TMS_DIR_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 */
|
/* enable both input and output with pullup disabled by default */
|
||||||
PORT_DIRSET(SWDIO_PORT) = SWDIO_PIN;
|
PORT_DIRSET(SWDIO_PORT) = SWDIO_PIN;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user