aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO32_L432KC
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-12-21 20:06:30 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-12-21 20:06:30 +0000
commita1a0c1cc177dcb53f0f11182c03f8725667633c8 (patch)
treeb4f0a9736f2716595b4c5e6ae6d67f418c3d1d1a /os/hal/boards/ST_NUCLEO32_L432KC
parentbfbb1a6d9e0b534a18d33246faaef90d81916e71 (diff)
downloadChibiOS-a1a0c1cc177dcb53f0f11182c03f8725667633c8.tar.gz
ChibiOS-a1a0c1cc177dcb53f0f11182c03f8725667633c8.tar.bz2
ChibiOS-a1a0c1cc177dcb53f0f11182c03f8725667633c8.zip
Fixed wrong configuration for PA15 on ST_NUCLEO32_L432KC board.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9975 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_NUCLEO32_L432KC')
-rw-r--r--os/hal/boards/ST_NUCLEO32_L432KC/board.h4
-rw-r--r--os/hal/boards/ST_NUCLEO32_L432KC/cfg/board.chcfg2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/boards/ST_NUCLEO32_L432KC/board.h b/os/hal/boards/ST_NUCLEO32_L432KC/board.h
index 7311fdc3a..ea1c70d00 100644
--- a/os/hal/boards/ST_NUCLEO32_L432KC/board.h
+++ b/os/hal/boards/ST_NUCLEO32_L432KC/board.h
@@ -270,7 +270,7 @@
* PA12 - ARD_D2 (analog).
* PA13 - SWDIO (alternate 0).
* PA14 - SWCLK (alternate 0).
- * PA15 - VCP_RX (alternate 7).
+ * PA15 - VCP_RX (alternate 3).
*/
#define VAL_GPIOA_MODER (PIN_MODE_ANALOG(GPIOA_ARD_A0) | \
PIN_MODE_ANALOG(GPIOA_ARD_A1) | \
@@ -367,7 +367,7 @@
PIN_AFIO_AF(GPIOA_ARD_D2, 0) | \
PIN_AFIO_AF(GPIOA_SWDIO, 0) | \
PIN_AFIO_AF(GPIOA_SWCLK, 0) | \
- PIN_AFIO_AF(GPIOA_VCP_RX, 7))
+ PIN_AFIO_AF(GPIOA_VCP_RX, 3))
#define VAL_GPIOA_ASCR (PIN_ASCR_DISABLED(GPIOA_ARD_A0) | \
PIN_ASCR_DISABLED(GPIOA_ARD_A1) | \
PIN_ASCR_DISABLED(GPIOA_VCP_TX) | \
diff --git a/os/hal/boards/ST_NUCLEO32_L432KC/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO32_L432KC/cfg/board.chcfg
index 31079ee1d..e74a4f84a 100644
--- a/os/hal/boards/ST_NUCLEO32_L432KC/cfg/board.chcfg
+++ b/os/hal/boards/ST_NUCLEO32_L432KC/cfg/board.chcfg
@@ -178,7 +178,7 @@
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
- Alternate="7"
+ Alternate="3"
AnalogSwitch="Disabled"
PinLock="Disabled" />
</GPIOA>