From 5080cdb9a13e955a4b7aeba2518b26d2d920c319 Mon Sep 17 00:00:00 2001
From: giulcioffi <g.cioffi@arduino.cc>
Date: Mon, 15 Jun 2020 16:38:29 +0200
Subject: [PATCH] Add section sketch_boot for nano 33 IoT

---
 .../nano_33_iot/linker_scripts/gcc/flash_with_bootloader.ld    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/variants/nano_33_iot/linker_scripts/gcc/flash_with_bootloader.ld b/variants/nano_33_iot/linker_scripts/gcc/flash_with_bootloader.ld
index 350618652..d442744c4 100644
--- a/variants/nano_33_iot/linker_scripts/gcc/flash_with_bootloader.ld
+++ b/variants/nano_33_iot/linker_scripts/gcc/flash_with_bootloader.ld
@@ -67,6 +67,9 @@ SECTIONS
 	{
 		__text_start__ = .;
 
+		KEEP(*(.sketch_boot))
+		. = ALIGN(0x2000);
+
 		KEEP(*(.isr_vector))
 		*(.text*)