From 34c04ffcdede9d57cc340fe2760f5336e726bad5 Mon Sep 17 00:00:00 2001 From: Mathias Brossard Date: Sat, 31 Dec 2022 00:35:49 -0600 Subject: [PATCH] lpc11u35 savings: save RAM/ROM with absence of bootloader on lpc11u35 HIC --- source/hic_hal/nxp/lpc11u35/daplink_addr.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/source/hic_hal/nxp/lpc11u35/daplink_addr.h b/source/hic_hal/nxp/lpc11u35/daplink_addr.h index 2133ea3e7a..63a0a59581 100644 --- a/source/hic_hal/nxp/lpc11u35/daplink_addr.h +++ b/source/hic_hal/nxp/lpc11u35/daplink_addr.h @@ -66,23 +66,15 @@ /* Current build */ -#if defined(DAPLINK_BL) - -#define DAPLINK_ROM_APP_START DAPLINK_ROM_BL_START -#define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_BL_SIZE -#define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_IF_START -#define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_IF_SIZE - -#elif defined(DAPLINK_IF) +#if defined(DAPLINK_IF) #define DAPLINK_ROM_APP_START DAPLINK_ROM_IF_START #define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_IF_SIZE -#define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_BL_START -#define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_BL_SIZE +#define DAPLINK_ROM_UPDATE_SIZE 0 #else -#error "Build must be either bootloader or interface" +#error "Build must be interface" #endif