Browse Source

ld: update ld script to updated libopencm3

clock_jockey
King Kévin 3 years ago
parent
commit
7002937d23
  1. 4
      application.ld
  2. 4
      bootloader.ld

4
application.ld

@ -26,5 +26,5 @@ PROVIDE(__flash_end = 0); @@ -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

4
bootloader.ld

@ -26,5 +26,5 @@ PROVIDE(__flash_end = 0); @@ -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

Loading…
Cancel
Save