aboutsummaryrefslogtreecommitdiff
path: root/example-primer2
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-04-20 17:30:41 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-04-20 17:30:41 +0900
commit437b2dc43ca2e9b39b7be40f41b233bbaa8f8362 (patch)
treea5f79be7bc5e7374244befe23955c700ea9407e7 /example-primer2
parent3eac2459815c0826d811ed808e5d7687c03638b8 (diff)
Update for STM32
Diffstat (limited to 'example-primer2')
-rw-r--r--example-primer2/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example-primer2/sys.c b/example-primer2/sys.c
index 6481703..a399b7f 100644
--- a/example-primer2/sys.c
+++ b/example-primer2/sys.c
@@ -27,7 +27,7 @@
(RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPDRST | RCC_APB2RSTR_IOPERST \
| RCC_APB2RSTR_IOPCRST | RCC_APB2RSTR_IOPBRST)
-#include "clk_gpio_init.c"
+#include "clk_gpio_init-stm32.c"
static struct GPIO *const GPIO_OTHER1 = ((struct GPIO *const) GPIOC_BASE);
static struct GPIO *const GPIO_OTHER2 = ((struct GPIO *const) GPIOB_BASE);