From a7771fa23ff4c6ded71a62dc2ab9f415726e973a Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 8 Jun 2017 18:24:15 +0200 Subject: [PATCH] stlink/swlink: Remove missleading comments. --- src/platforms/stlink/platform.h | 21 --------------------- src/platforms/swlink/platform.h | 15 --------------- 2 files changed, 36 deletions(-) diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h index 54125a9..f74a1af 100644 --- a/src/platforms/stlink/platform.h +++ b/src/platforms/stlink/platform.h @@ -39,27 +39,6 @@ #define DFU_IDENT "Black Magic Firmware Upgrade (STLINK)" #define UPD_IFACE_STRING "@Internal Flash /0x08000000/8*001Kg" -/* Important pin mappings for STM32 implementation: - * - * LED0 = PB2 (Yellow LED : Running) - * LED1 = PB10 (Yellow LED : Idle) - * LED2 = PB11 (Red LED : Error) - * - * TPWR = RB0 (input) -- analogue on mini design ADC1, ch8 - * nTRST = PB1 - * SRST_OUT = PA2 - * TDI = PA7 - * TMS = PB14 (input for SWDP) - * TCK = PA5 - * TDO = PA6 (input) - * nSRST = PB0 (input) - * - * USB cable pull-up: PA8 - * USB VBUS detect: PB13 -- New on mini design. - * Enable pull up for compatibility. - * Force DFU mode button: PB12 - */ - /* Hardware definitions... */ #define TDI_PORT GPIOA #define TMS_PORT GPIOB diff --git a/src/platforms/swlink/platform.h b/src/platforms/swlink/platform.h index dbe4207..eef60b6 100644 --- a/src/platforms/swlink/platform.h +++ b/src/platforms/swlink/platform.h @@ -35,21 +35,6 @@ #define DFU_IDENT "Black Magic Firmware Upgrade (SWLINK)" #define UPD_IFACE_STRING "@Internal Flash /0x08000000/8*001Kg" -/* Pin mappings: - * - * nTRST = PB1 - * TDI = PA3 - * TMS = PA4 (input for SWDP) - * TCK = PA5 - * TDO = PA6 (input) - * nSRST = PA7 (input) - * - * USB cable pull-up: PA8 - * USB VBUS detect: PB13 -- New on mini design. - * Enable pull up for compatibility. - * Force DFU mode button: PB9 Low - */ - /* Hardware definitions... */ #define TMS_PORT GPIOA #define TCK_PORT GPIOA