aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-03 22:31:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-03 22:45:41 -0400
commit2bdf250ecdd0a30aae6f582aa92e5b3e53835a67 (patch)
tree58ad560bd599e668be7315a1261c945303fa72f9
parentb52f574dd6ec75157aebc48f1504832c0dd1c281 (diff)
downloadlibrambutan-2bdf250ecdd0a30aae6f582aa92e5b3e53835a67.tar.gz
librambutan-2bdf250ecdd0a30aae6f582aa92e5b3e53835a67.zip
STM32F2: Turn on SYSCFG I/O compensation during init().
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--wirish/stm32f2/boards_setup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/wirish/stm32f2/boards_setup.cpp b/wirish/stm32f2/boards_setup.cpp
index d1ceac0..952e84d 100644
--- a/wirish/stm32f2/boards_setup.cpp
+++ b/wirish/stm32f2/boards_setup.cpp
@@ -89,6 +89,9 @@ namespace wirish {
void series_init(void) {
// We need SYSCFG for external interrupts
syscfg_init();
+ // Turn on the I/O compensation cell, since we drive the
+ // GPIOs quickly be default.
+ syscfg_enable_io_compensation();
}
}