diff options
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
|