From 7002937d23f6f1a4ba07672df1bff8ea6ec898a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sun, 12 Jan 2020 15:52:27 +0100 Subject: [PATCH] ld: update ld script to updated libopencm3 --- application.ld | 4 ++-- bootloader.ld | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application.ld b/application.ld index c02ddd0..ff93513 100644 --- a/application.ld +++ b/application.ld @@ -26,5 +26,5 @@ PROVIDE(__flash_end = 0); /* RAM location reserved so application can talk to bootloader and tell to start DFU */ PROVIDE(__dfu_magic = ORIGIN(ram) - 4); -/* include rest of the definitions for the STM32F1 family */ -INCLUDE libopencm3_stm32f1.ld +/* include rest of the definitions for the ARM Cortex-M, including STM32F1 family */ +INCLUDE cortex-m-generic.ld diff --git a/bootloader.ld b/bootloader.ld index 9dbc05d..b662f14 100644 --- a/bootloader.ld +++ b/bootloader.ld @@ -26,5 +26,5 @@ PROVIDE(__flash_end = 0); /* RAM location reserved so application can talk to bootloader and tell to start DFU */ PROVIDE(__dfu_magic = ORIGIN(ram) - 4); -/* include rest of the definitions for the STM32F1 family */ -INCLUDE libopencm3_stm32f1.ld +/* include rest of the definitions for the ARM Cortex-M, including STM32F1 family */ +INCLUDE cortex-m-generic.ld