aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f1/other/timer_interrupt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32f1/other/timer_interrupt')
-rw-r--r--examples/stm32f1/other/timer_interrupt/timer.c6
-rw-r--r--examples/stm32f1/other/timer_interrupt/timer.ld2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/stm32f1/other/timer_interrupt/timer.c b/examples/stm32f1/other/timer_interrupt/timer.c
index aa2cdb6..422df88 100644
--- a/examples/stm32f1/other/timer_interrupt/timer.c
+++ b/examples/stm32f1/other/timer_interrupt/timer.c
@@ -17,9 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <libopencm3/stm32/rcc.h>
-#include <libopencm3/stm32/flash.h>
-#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/stm32/f1/rcc.h>
+#include <libopencm3/stm32/f1/flash.h>
+#include <libopencm3/stm32/f1/gpio.h>
#include <libopencm3/stm32/timer.h>
#include <libopencm3/stm32/nvic.h>
diff --git a/examples/stm32f1/other/timer_interrupt/timer.ld b/examples/stm32f1/other/timer_interrupt/timer.ld
index c076521..4f609a8 100644
--- a/examples/stm32f1/other/timer_interrupt/timer.ld
+++ b/examples/stm32f1/other/timer_interrupt/timer.ld
@@ -27,5 +27,5 @@ MEMORY
}
/* Include the common ld script. */
-INCLUDE libopencm3_stm32.ld
+INCLUDE libopencm3_stm32f1.ld