From 29cbeb8782263ac4ba7e8bb2335b73982d871eb2 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Mon, 16 Apr 2018 05:30:09 +0200 Subject: [PATCH] add boot version tag to taranis bootloader (#5831) Allows for detecting the bootloader at the beginning of firmware. fixes #5826 --- radio/src/targets/taranis/stm32_ramboot.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/targets/taranis/stm32_ramboot.ld b/radio/src/targets/taranis/stm32_ramboot.ld index 05df857a6..99c731be9 100644 --- a/radio/src/targets/taranis/stm32_ramboot.ld +++ b/radio/src/targets/taranis/stm32_ramboot.ld @@ -47,6 +47,7 @@ SECTIONS { . = ALIGN(4); KEEP(*(.isr_vector)) /* Startup code */ + KEEP(*(.version)) KEEP(*(.bootversiondata)) . = ALIGN(4); /* Align the start of the text part */ *(.text) /* .text sections (code) */