diff options
author | Erdem U. Altinyurt <spamjunkeater@gmail.com> | 2014-09-04 05:59:07 +0300 |
---|---|---|
committer | Erdem U. Altinyurt <spamjunkeater@gmail.com> | 2014-09-04 05:59:07 +0300 |
commit | bcfa665ebd095aa1c9a13219b421457c72b8a899 (patch) | |
tree | e18b1473e1dbb454d9cb29b6aa9d752370b511fd /Makefile.template | |
parent | cabf523437277cd0d585d1a61c240f5c4d141a09 (diff) | |
download | nrf51822-posix-build-scripts-bcfa665ebd095aa1c9a13219b421457c72b8a899.tar.gz nrf51822-posix-build-scripts-bcfa665ebd095aa1c9a13219b421457c72b8a899.tar.bz2 nrf51822-posix-build-scripts-bcfa665ebd095aa1c9a13219b421457c72b8a899.tar.xz nrf51822-posix-build-scripts-bcfa665ebd095aa1c9a13219b421457c72b8a899.zip |
Merged OpenOCD Flasher scripts + Added GDB functions to OpenOCD + Automatize tasks + bugfixes + readme fixed + others...
Diffstat (limited to 'Makefile.template')
-rw-r--r-- | Makefile.template | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.template b/Makefile.template index 15a1713..134dd16 100644 --- a/Makefile.template +++ b/Makefile.template @@ -6,16 +6,21 @@ DEVICE_VARIANT := xxaa #DEVICE_VARIANT := xxab
USE_SOFTDEVICE := S110
+#USE_SOFTDEVICE := S110-v6
#USE_SOFTDEVICE := S120
-#USE_SOFTDEVICE := S110-sd6
-#USE_SOFTDEVICE := S120-sd6
HOME = ~
+
+#Not that SDK 5.1.0 does NOT work with SoftDevice 7
+#SDK_PATH = $(HOME)/nRF_SDK_v5.1.0.36092/Nordic/nrf51822
SDK_PATH = $(HOME)/nRF51_SDK_v6.0.0.43681/Nordic/nrf51822
-SOFTDEVICE_HEX_PATH = $(HOME)/s110_nrf51822_7_0_0/s110_nrf51822_7.0.0_softdevice.hex
-#SOFTDEVICE_HEX_PATH = $(HOME)/s110_nrf51822_6_0_0/s110_nrf51822_6.0.0_softdevice.hex
-BUILD_SCRIPTS_PATH = $(HOME)/F2FS/nrf51822-macosx-build-scripts
+BUILD_SCRIPTS_PATH = $(HOME)/nrf51822-posix-build-scripts
TEMPLATE_PATH = $(BUILD_SCRIPTS_PATH)
+ifeq ($(USE_SOFTDEVICE), S110-v6)
+ SOFTDEVICE_HEX_PATH = /run/media/death/F2FS/s110_nrf51822_6_0_0/s110_nrf51822_6.0.0_softdevice.hex
+else
+ SOFTDEVICE_HEX_PATH = /run/media/death/F2FS/s110_nrf51822_7_0_0/s110_nrf51822_7.0.0_softdevice.hex
+endif
# CFLAGS += -DBLE_STACK_SUPPORT_REQD
# debug: CFLAGS+=-DENABLE_DEBUG_LOG_SUPPORT
|