aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO32_F031K6/board.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-12-11 11:11:45 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-12-11 11:11:45 +0000
commit78fa3a2203129637482a2580bb5948d01798f9bc (patch)
treece2501d9520a1cf8da6da6723615d9da0b168b29 /os/hal/boards/ST_NUCLEO32_F031K6/board.h
parent129c0f14b0f03ad3fbef66ec66f803fdd14c1208 (diff)
downloadChibiOS-78fa3a2203129637482a2580bb5948d01798f9bc.tar.gz
ChibiOS-78fa3a2203129637482a2580bb5948d01798f9bc.tar.bz2
ChibiOS-78fa3a2203129637482a2580bb5948d01798f9bc.zip
Nucleo32 fixed some pins, ADCv3 compiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8583 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_NUCLEO32_F031K6/board.h')
-rw-r--r--os/hal/boards/ST_NUCLEO32_F031K6/board.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/boards/ST_NUCLEO32_F031K6/board.h b/os/hal/boards/ST_NUCLEO32_F031K6/board.h
index 12867057e..471ea4e1d 100644
--- a/os/hal/boards/ST_NUCLEO32_F031K6/board.h
+++ b/os/hal/boards/ST_NUCLEO32_F031K6/board.h
@@ -222,8 +222,8 @@
* PA2 - VCP_TX (alternate 1).
* PA3 - ARD_A2 (input pullup).
* PA4 - ARD_A3 (input pullup).
- * PA5 - ARD_A4 (input floating).
- * PA6 - ARD_A5 (input floating).
+ * PA5 - ARD_A4 (input pullup).
+ * PA6 - ARD_A5 (input pullup).
* PA7 - ARD_A6 (input pullup).
* PA8 - ARD_D9 (input pullup).
* PA9 - ARD_D1 (input pullup).
@@ -287,8 +287,8 @@
PIN_PUPDR_FLOATING(GPIOA_VCP_TX) | \
PIN_PUPDR_PULLUP(GPIOA_ARD_A2) | \
PIN_PUPDR_PULLUP(GPIOA_ARD_A3) | \
- PIN_PUPDR_FLOATING(GPIOA_ARD_A4) | \
- PIN_PUPDR_FLOATING(GPIOA_ARD_A5) | \
+ PIN_PUPDR_PULLUP(GPIOA_ARD_A4) | \
+ PIN_PUPDR_PULLUP(GPIOA_ARD_A5) | \
PIN_PUPDR_PULLUP(GPIOA_ARD_A6) | \
PIN_PUPDR_PULLUP(GPIOA_ARD_D9) | \
PIN_PUPDR_PULLUP(GPIOA_ARD_D1) | \
@@ -342,7 +342,7 @@
* PB5 - ARD_D11 (input pullup).
* PB6 - ARD_D5 ARD_A5_ALT (input pullup).
* PB7 - ARD_D4 ARD_A4_ALT (input pullup).
- * PB8 - PIN8 (input floating).
+ * PB8 - PIN8 (input pullup).
* PB9 - PIN9 (input pullup).
* PB10 - PIN10 (input pullup).
* PB11 - PIN11 (input pullup).
@@ -407,7 +407,7 @@
PIN_PUPDR_PULLUP(GPIOB_ARD_D11) | \
PIN_PUPDR_PULLUP(GPIOB_ARD_D5) | \
PIN_PUPDR_PULLUP(GPIOB_ARD_D4) | \
- PIN_PUPDR_FLOATING(GPIOB_PIN8) | \
+ PIN_PUPDR_PULLUP(GPIOB_PIN8) | \
PIN_PUPDR_PULLUP(GPIOB_PIN9) | \
PIN_PUPDR_PULLUP(GPIOB_PIN10) | \
PIN_PUPDR_PULLUP(GPIOB_PIN11) | \