aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/other/rtc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/other/rtc')
-rw-r--r--examples/stm32/other/rtc/rtc.c12
-rw-r--r--examples/stm32/other/rtc/rtc.ld2
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/stm32/other/rtc/rtc.c b/examples/stm32/other/rtc/rtc.c
index f762dbe..c447534 100644
--- a/examples/stm32/other/rtc/rtc.c
+++ b/examples/stm32/other/rtc/rtc.c
@@ -17,12 +17,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stm32/rcc.h>
-#include <stm32/gpio.h>
-#include <stm32/usart.h>
-#include <stm32/rtc.h>
-#include <stm32/pwr.h>
-#include <stm32/nvic.h>
+#include <libopencm3/stm32/rcc.h>
+#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/stm32/usart.h>
+#include <libopencm3/stm32/rtc.h>
+#include <libopencm3/stm32/pwr.h>
+#include <libopencm3/stm32/nvic.h>
void clock_setup(void)
{
diff --git a/examples/stm32/other/rtc/rtc.ld b/examples/stm32/other/rtc/rtc.ld
index abe9cea..7ea2b92 100644
--- a/examples/stm32/other/rtc/rtc.ld
+++ b/examples/stm32/other/rtc/rtc.ld
@@ -27,5 +27,5 @@ MEMORY
}
/* Include the common ld script. */
-INCLUDE stm32.ld
+INCLUDE libopencm3_stm32.ld