From 6d93fe0a4093a5105205c23dca5eb8189558bb7b Mon Sep 17 00:00:00 2001 From: mikeller Date: Sun, 4 Aug 2019 16:14:56 +1200 Subject: [PATCH] Fixed bootloader requests for RAM based targets. --- make/source.mk | 2 +- src/main/target/common_post.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/make/source.mk b/make/source.mk index 815d2e7a14..9f3f8f9590 100644 --- a/make/source.mk +++ b/make/source.mk @@ -191,7 +191,7 @@ TARGET_FLAGS := -DUSE_EXST $(TARGET_FLAGS) endif ifeq ($(RAM_BASED),yes) -TARGET_FLAGS := -DUSE_EXST -DCONFIG_IN_RAM $(TARGET_FLAGS) +TARGET_FLAGS := -DUSE_EXST -DCONFIG_IN_RAM -DRAMBASED $(TARGET_FLAGS) endif ifeq ($(SIMULATOR_BUILD),yes) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 1ec11d5658..a783edec39 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -361,7 +361,7 @@ extern uint8_t __config_start; // configured via linker script when building b extern uint8_t __config_end; #endif -#if defined(USE_EXST) +#if defined(USE_EXST) && !defined(RAMBASED) #define USE_FLASH_BOOT_LOADER #endif