Fixed the at91sam7s makefile to include new files and functions to build with latest library.

This commit is contained in:
skarg
2015-01-30 20:58:16 +00:00
parent dd271af2ed
commit 3865a13993
2 changed files with 13 additions and 26 deletions
+13 -11
View File
@@ -59,8 +59,7 @@ PORTSRC = main.c \
init.c \
blinker.c \
rs485.c \
dlmstp.c \
$(BACNET_CORE)/crc.c
dlmstp.c
DEMOSRC = ai.c \
av.c \
@@ -80,30 +79,33 @@ DEMOSRC = ai.c \
$(BACNET_DEMO)/handler/s_iam.c \
$(BACNET_DEMO)/handler/s_ihave.c
CORESRC = $(BACNET_CORE)/npdu.c \
CORESRC = $(BACNET_CORE)/abort.c \
$(BACNET_CORE)/apdu.c \
$(BACNET_CORE)/bacaddr.c \
$(BACNET_CORE)/bacapp.c \
$(BACNET_CORE)/bacdcode.c \
$(BACNET_CORE)/bacerror.c \
$(BACNET_CORE)/bacint.c \
$(BACNET_CORE)/bacreal.c \
$(BACNET_CORE)/bacstr.c \
$(BACNET_CORE)/bacaddr.c \
$(BACNET_CORE)/abort.c \
$(BACNET_CORE)/bacerror.c \
$(BACNET_CORE)/reject.c \
$(BACNET_CORE)/bacapp.c \
$(BACNET_CORE)/crc.c \
$(BACNET_CORE)/datetime.c \
$(BACNET_CORE)/dcc.c \
$(BACNET_CORE)/iam.c \
$(BACNET_CORE)/ihave.c \
$(BACNET_CORE)/lighting.c \
$(BACNET_CORE)/memcopy.c \
$(BACNET_CORE)/ringbuf.c \
$(BACNET_CORE)/npdu.c \
$(BACNET_CORE)/proplist.c \
$(BACNET_CORE)/rd.c \
$(BACNET_CORE)/reject.c \
$(BACNET_CORE)/ringbuf.c \
$(BACNET_CORE)/rp.c \
$(BACNET_CORE)/rpm.c \
$(BACNET_CORE)/wp.c \
$(BACNET_CORE)/version.c \
$(BACNET_CORE)/whohas.c \
$(BACNET_CORE)/whois.c \
$(BACNET_CORE)/version.c
$(BACNET_CORE)/wp.c
CSRC = $(PORTSRC) $(DEMOSRC)
#CSRC = $(PORTSRC)
-15
View File
@@ -279,21 +279,6 @@ bool Device_Write_Property(
return status;
}
static unsigned property_list_count(
const int *pList)
{
unsigned property_count = 0;
if (pList) {
while (*pList != -1) {
property_count++;
pList++;
}
}
return property_count;
}
/* for a given object type, returns the special property list */
void Device_Objects_Property_List(
BACNET_OBJECT_TYPE object_type,