Skip to content

Commit 7438933

Browse files
committed
more clean up
1 parent c0f75b2 commit 7438933

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99

1010
SDK_PATH = lib/sdk/components
1111
SDK11_PATH = lib/sdk11/components
12-
SD_PATH = lib/softdevice/$(SD_FILENAME)
13-
1412
TUSB_PATH = lib/tinyusb/src
1513
NRFX_PATH = lib/nrfx
14+
SD_PATH = lib/softdevice/$(SD_FILENAME)
1615

1716
SD_VERSION = 6.1.1
1817
SD_FILENAME = $(SD_NAME)_nrf52_$(SD_VERSION)
19-
SD_API_PATH = $(SD_PATH)/$(SD_FILENAME)_API
2018
SD_HEX = $(SD_PATH)/$(SD_FILENAME)_softdevice.hex
2119

2220
# linker by MCU and SoftDevice eg. nrf52840_s140_v6.ld
@@ -195,8 +193,8 @@ IPATH += $(SDK_PATH)/libraries/hci
195193
IPATH += $(SDK_PATH)/drivers_nrf/delay
196194

197195
# Softdevice
198-
IPATH += $(SD_API_PATH)/include
199-
IPATH += $(SD_API_PATH)/include/nrf52
196+
IPATH += $(SD_PATH)/$(SD_FILENAME)_API/include
197+
IPATH += $(SD_PATH)/$(SD_FILENAME)_API/include/nrf52
200198

201199
INC_PATHS = $(addprefix -I,$(IPATH))
202200

0 commit comments

Comments
 (0)