add boot version tag to taranis bootloader (#5831)
Allows for detecting the bootloader at the beginning of firmware. fixes #5826
This commit is contained in:
committed by
Andre Bernet
parent
746a2ae528
commit
29cbeb8782
@@ -47,6 +47,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
|
KEEP(*(.version))
|
||||||
KEEP(*(.bootversiondata))
|
KEEP(*(.bootversiondata))
|
||||||
. = ALIGN(4); /* Align the start of the text part */
|
. = ALIGN(4); /* Align the start of the text part */
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
|
|||||||
Reference in New Issue
Block a user