From a4ef4bdd57f76d02eb88433ea02f278af5719bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 11 Apr 2019 17:24:45 +0200 Subject: [PATCH] [ion] In dfu.ld, keep sStandardFrequency symbol --- ion/src/device/shared/usb/dfu.ld | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ion/src/device/shared/usb/dfu.ld b/ion/src/device/shared/usb/dfu.ld index 66a250f74..a9f935286 100644 --- a/ion/src/device/shared/usb/dfu.ld +++ b/ion/src/device/shared/usb/dfu.ld @@ -42,6 +42,11 @@ SECTIONS { *(.rodata.*) } >RAM_BUFFER + .data : { + /* We need to keep this symbol. */ + *(.data._ZN3Ion6Device5BoardL18sStandardFrequencyE) + } >RAM_BUFFER + /DISCARD/ : { /* For now, we do not need .bss and .data sections. This allows us to simply * skip any rt0-style initialization and jump straight into the PollAndReset