From f450014865d9cdcf13bb823259410dc469c9ebfb Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Fri, 14 Jun 2019 21:51:18 +0200
Subject: [PATCH] fix(ble): Do not try to use the _app linkerscript anymore

---
 ble/Makefile    | 4 +---
 ble/build_image | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ble/Makefile b/ble/Makefile
index f9236fa2..608b057f 100644
--- a/ble/Makefile
+++ b/ble/Makefile
@@ -110,9 +110,7 @@ PROJ_CFLAGS+=-std=c99
 #MXC_OPTIMIZE_CFLAGS=-O1
 
 # Point this variable to a linker file to override the default file
-ifneq "$(APP)" ""
-LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_app.ld
-endif
+#LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC).ld
 
 ################################################################################
 # Include external library makefiles here
diff --git a/ble/build_image b/ble/build_image
index 5feeda9e..4d08a4f6 100755
--- a/ble/build_image
+++ b/ble/build_image
@@ -1,5 +1,5 @@
 make clean
-make APP=1
+make
 make build/max32665.bin
 cp build/max32665.bin card10.bin
 ../bootloader/crc_patch.py card10.bin
-- 
GitLab