Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 81e44e5

Browse files
Yogesh PandeYogesh Pande
authored andcommitted
Restructuring folder structure to follow standard pattern
This commit includes - Restructing directory structure to follow source files under source/ - Move internal header files under source/include - Updating Mkaefiles and Test Makefiles to adapt to new folder structure
1 parent 20fe9f8 commit 81e44e5

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Makefile for combined NSDL library
2+
# Makefile for NSDL library
33
#
44

55
# Define compiler toolchain with CC or PLATFORM variables
@@ -17,12 +17,12 @@
1717

1818
LIB = libnsdl.a
1919
SRCS := \
20-
source/libNsdl/src/sn_grs.c \
21-
source/libNsdl/src/sn_nsdl.c \
20+
source/sn_grs.c \
21+
source/sn_nsdl.c \
2222

2323
override CFLAGS += -DVERSION='"$(VERSION)"'
2424

25-
override CFLAGS += -Isource/libNsdl/src/include/
25+
override CFLAGS += -Isource/include/
2626
SERVLIB_DIR := ../libService
2727
override CFLAGS += -I$(SERVLIB_DIR)/libService
2828
override CFLAGS += -Insdl-c/

module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"nanostack-libservice": "^3.0.0",
1616
"mbed-trace": ">=0.2.0,<2.0.0",
1717
"nanostack-randlib": "^1.2.0",
18-
"libcoap": "^1.0.0"
18+
"libcoap": "^4.0.0"
1919
},
2020
"targetDependencies": {}
2121
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/nsdl-c/unittest/makefile_defines.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INCLUDE_DIRS =\
1717
../../../../yotta_modules/libcoap/libcoap\
1818
../../../../yotta_modules/libcoap/source/include\
1919
../../../../../libService/libService\
20-
../../../../source/libNsdl/src/include\
20+
../../../../source/include\
2121
/usr/include\
2222
$(CPPUTEST_HOME)/include\
2323

test/nsdl-c/unittest/sn_grs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ COMPONENT_NAME = sn_grs_unit
44

55
#This must be changed manually
66
SRC_FILES = \
7-
../../../../source/libNsdl/src/sn_grs.c
7+
../../../../source/sn_grs.c
88

99
TEST_SRC_FILES = \
1010
main.cpp \

0 commit comments

Comments
 (0)