From 8c1acb036378a1adc0c808e45d7bb08105532da3 Mon Sep 17 00:00:00 2001 From: Deomid Ryabkov Date: Tue, 15 Aug 2017 14:36:06 +0100 Subject: [PATCH] Provide a default for CONFIG_BT_RESERVE_DRAM ...when BT is not built Merges https://github.com/espressif/esp-idf/pull/910 --- components/esp32/ld/esp32.ld | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/esp32/ld/esp32.ld b/components/esp32/ld/esp32.ld index b27a49eeb..2df1b3e89 100644 --- a/components/esp32/ld/esp32.ld +++ b/components/esp32/ld/esp32.ld @@ -16,6 +16,11 @@ */ #include "sdkconfig.h" +/* If BT is not built at all */ +#ifndef CONFIG_BT_RESERVE_DRAM +#define CONFIG_BT_RESERVE_DRAM 0 +#endif + MEMORY { /* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length