From 51ac0fe319a9ac7d363376f9397ad71d32975c69 Mon Sep 17 00:00:00 2001 From: Param Aggarwal Date: Sun, 1 Jan 2017 14:50:58 +0530 Subject: [PATCH] Actual pin mappings and the comment differ! I was stuck trying to debug the issue why my probe would not find any attached targets. This is because I was doing the pin mapping as per the comments, and not the actual code. There is a mismatch! This PR updates the comment to reflect the values set in code. :) --- src/platforms/stlink/platform.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h index e10aa869..ef030541 100644 --- a/src/platforms/stlink/platform.h +++ b/src/platforms/stlink/platform.h @@ -49,11 +49,11 @@ * TPWR = RB0 (input) -- analogue on mini design ADC1, ch8 * nTRST = PB1 * SRST_OUT = PA2 - * TDI = PA3 - * TMS = PA4 (input for SWDP) + * TDI = PA7 + * TMS = PB14 (input for SWDP) * TCK = PA5 * TDO = PA6 (input) - * nSRST = PA7 (input) + * nSRST = PB0 (input) * * USB cable pull-up: PA8 * USB VBUS detect: PB13 -- New on mini design.