summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pin.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2015-07-28 11:13:33 -0700
committerDamien George <damien.p.george@gmail.com>2015-07-30 00:38:32 +0100
commit92d4b51ad5d828930334f87d9619a78b5877a384 (patch)
treeb055ba812bfce720130c6c52272bde38e80a00c9 /stmhal/pin.c
parent7e7fb0b7a3d716062281c2366de97a41a1ea87c1 (diff)
downloadmicropython-92d4b51ad5d828930334f87d9619a78b5877a384.tar.gz
micropython-92d4b51ad5d828930334f87d9619a78b5877a384.zip
stmhal: Add STM32F7DISC and associated changes.
Diffstat (limited to 'stmhal/pin.c')
-rw-r--r--stmhal/pin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c
index 6f6aa81d95..4be889eaf9 100644
--- a/stmhal/pin.c
+++ b/stmhal/pin.c
@@ -390,6 +390,9 @@ STATIC mp_obj_t pin_obj_init_helper(const pin_obj_t *self, mp_uint_t n_args, con
#ifdef __GPIOJ_CLK_ENABLE
case PORT_J: __GPIOJ_CLK_ENABLE(); break;
#endif
+ #ifdef __GPIOK_CLK_ENABLE
+ case PORT_K: __GPIOK_CLK_ENABLE(); break;
+ #endif
}
// configure the GPIO as requested