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