native: Improved pinout legend comment block.
This commit is contained in:
parent
e7982d594e
commit
2d63021344
|
@ -43,38 +43,38 @@ int usbuart_debug_write(const char *buf, size_t len);
|
||||||
|
|
||||||
/* Important pin mappings for STM32 implementation:
|
/* Important pin mappings for STM32 implementation:
|
||||||
*
|
*
|
||||||
* LED0 = PB2 (Yellow LED : Running)
|
* LED0 = PB2 (Yellow LED : Running)
|
||||||
* LED1 = PB10 (Yellow LED : Idle)
|
* LED1 = PB10 (Orange LED : Idle)
|
||||||
* LED2 = PB11 (Red LED : Error)
|
* LED2 = PB11 (Red LED : Error)
|
||||||
*
|
*
|
||||||
* TPWR = PB0 (input) -- analogue on mini design ADC1, ch8
|
* TPWR = PB0 (input) -- analogue on mini design ADC1, CH8
|
||||||
* nTRST = PB1 (output) [blackmagic]
|
* nTRST = PB1 (output) [blackmagic]
|
||||||
* PWR_BR = PB1 (output) [blackmagic_mini] -- supply power to the target, active low
|
* PWR_BR = PB1 (output) [blackmagic_mini] -- supply power to the target, active low
|
||||||
* TMS_DIR = PA1 (output) [blackmagic_mini v2.1] -- choose direction of the TCK pin, input low, output high
|
* TMS_DIR = PA1 (output) [blackmagic_mini v2.1] -- choose direction of the TCK pin, input low, output high
|
||||||
* SRST_OUT = PA2 (output)
|
* SRST_OUT = PA2 (output)
|
||||||
* TDI = PA3 (output)
|
* TDI = PA3 (output)
|
||||||
* TMS = PA4 (input/output for SWDIO)
|
* TMS = PA4 (input/output for SWDIO)
|
||||||
* TCK = PA5 (output SWCLK)
|
* TCK = PA5 (output SWCLK)
|
||||||
* TDO = PA6 (input)
|
* TDO = PA6 (input)
|
||||||
* nSRST = PA7 (input)
|
* nSRST = PA7 (input)
|
||||||
*
|
*
|
||||||
* USB cable pull-up: PA8
|
* USB_PU = PA8 (output)
|
||||||
* USB VBUS detect: PB13 -- New on mini design.
|
* USB_VBUS = PB13 (input) -- New on mini design.
|
||||||
* Enable pull up for compatibility.
|
* Enable pull up for compatibility.
|
||||||
* Hardware 4 and older. (we needed the pin for SPI on 5)
|
* Hardware 4 and older. (we needed the pin for SPI on 5)
|
||||||
* PA15 -- Hardware 5 and newer.
|
* PA15 (input) -- Hardware 5 and newer.
|
||||||
* Force DFU mode button: PB12
|
* BTN1 = PB12 (input) -- Force DFU bootloader when pressed during powerup.
|
||||||
*
|
*
|
||||||
* AUX Interface:
|
* AUX Interface:
|
||||||
* SCLK = PB13
|
* SCLK = PB13 (output)
|
||||||
* COPI = PB15
|
* COPI = PB15 (output)
|
||||||
* CIPO = PB14
|
* CIPO = PB14 (input)
|
||||||
* FLASH_CS = PB5
|
* FLASH_CS = PB5 (output)
|
||||||
* DISPLAY_CS = PB6
|
* DISPLAY_CS = PB6 (output)
|
||||||
* DISPLAY_DC = PB8
|
* DISPLAY_DC = PB8 (output)
|
||||||
* BTN1 = PB12
|
* BTN1 = PB12 (input) -- Shared with the DFU bootloader button
|
||||||
* BTN2 = PB9
|
* BTN2 = PB9 (input)
|
||||||
* VBAT = PA0 (ADC CH0)
|
* VBAT = PA0 (input) -- Battery voltage sense ADC2, CH0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Hardware definitions... */
|
/* Hardware definitions... */
|
||||||
|
|
Loading…
Reference in New Issue