From 72210e42502a15b28440901e88cd3378515fc5ad Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 15 Dec 2017 22:18:22 +0900 Subject: [PATCH] Fix USART README and Alternate input config. --- board/board-st-nucleo-f103.h | 4 ++-- example-usb-serial/README | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/board/board-st-nucleo-f103.h b/board/board-st-nucleo-f103.h index 5a8ff00..9f52d7d 100644 --- a/board/board-st-nucleo-f103.h +++ b/board/board-st-nucleo-f103.h @@ -42,7 +42,7 @@ * PAx - input with pull-up */ #define VAL_GPIO_LED_ODR 0xFFFFE7FF -#define VAL_GPIO_LED_CRL 0x882E8EE8 /* PA7...PA0 */ +#define VAL_GPIO_LED_CRL 0x882A8AA8 /* PA7...PA0 */ #define VAL_GPIO_LED_CRH 0x88811888 /* PA15...PA8 */ /* @@ -59,7 +59,7 @@ */ #define VAL_GPIO_OTHER_ODR 0xFFFFFFFF #define VAL_GPIO_OTHER_CRL 0x88888888 /* PB7...PB0 */ -#define VAL_GPIO_OTHER_CRH 0x8E8E8E88 /* PB15...PB8 */ +#define VAL_GPIO_OTHER_CRH 0x8A8A8A88 /* PB15...PB8 */ #define RCC_ENR_IOP_EN (RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN) #define RCC_RSTR_IOP_RST (RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPBRST) diff --git a/example-usb-serial/README b/example-usb-serial/README index b311676..4822926 100644 --- a/example-usb-serial/README +++ b/example-usb-serial/README @@ -1 +1,4 @@ This is an application example using ST Nucleo F103 board. + +SB62 and SB63 should be soldered. +ST-Link/V2 is disconnected (SB13 and SB14).