aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f1/stm32-h103/button
diff options
context:
space:
mode:
authorStephen Caudle2011-10-12 23:58:27 -0400
committerStephen Caudle2011-10-12 23:58:27 -0400
commit8ceeb99902786041184800248eca4d7f3741d9bf (patch)
tree1c054a31f93ec4234db5444c056ba1bc0ce8d3b9 /examples/stm32f1/stm32-h103/button
parent878c0948719436f36862feef3908ed0c78cccbdd (diff)
Fix stm32f1 filenames and path
Diffstat (limited to 'examples/stm32f1/stm32-h103/button')
-rw-r--r--examples/stm32f1/stm32-h103/button/button.c4
-rw-r--r--examples/stm32f1/stm32-h103/button/button.ld2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32f1/stm32-h103/button/button.c b/examples/stm32f1/stm32-h103/button/button.c
index 63f3274..2f3378c 100644
--- a/examples/stm32f1/stm32-h103/button/button.c
+++ b/examples/stm32f1/stm32-h103/button/button.c
@@ -18,9 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <libopencm3/stm32/f1/rcc.h>
+#include <libopencm3/stm32/f1/gpio.h>
#include <libopencm3/stm32/nvic.h>
-#include <libopencm3/stm32/rcc.h>
-#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/exti.h>
u16 exti_line_state;
diff --git a/examples/stm32f1/stm32-h103/button/button.ld b/examples/stm32f1/stm32-h103/button/button.ld
index 7ea2b92..3409b98 100644
--- a/examples/stm32f1/stm32-h103/button/button.ld
+++ b/examples/stm32f1/stm32-h103/button/button.ld
@@ -27,5 +27,5 @@ MEMORY
}
/* Include the common ld script. */
-INCLUDE libopencm3_stm32.ld
+INCLUDE libopencm3_stm32f1.ld