This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 723b91851 app/ltp : enable can_filter/can_rcv_own_msgs
723b91851 is described below
commit 723b91851f0c332562069e01001e10a8941b4d6e
Author: xucheng5 <[email protected]>
AuthorDate: Tue Jun 20 19:50:28 2023 +0800
app/ltp : enable can_filter/can_rcv_own_msgs
Signed-off-by: xucheng5 <[email protected]>
---
testing/ltp/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index 71684ca33..292fed562 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -247,6 +247,12 @@ $(foreach BATCH, $(MAINCSRC_SPILT_TOTAL), \
endif
MAINSRC = $(LTP_MAINCSRCS)
+ifneq ($(CONFIG_NET_CAN),)
+PROGNAME += can_rcv_own_msgs
+PROGNAME += can_filter
+MAINSRC += $(TESTDIR)/../network/can/filter-tests/can_filter.c
+MAINSRC += $(TESTDIR)/../network/can/filter-tests/can_rcv_own_msgs.c
+endif
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
MODULE = $(CONFIG_TESTING_LTP)
@@ -254,6 +260,7 @@ MODULE = $(CONFIG_TESTING_LTP)
CSRCS := $(LTP_CSRCS)
CFLAGS += -I$(CURDIR)
CFLAGS += -I$(TESTDIR)/include
+CFLAGS += -I$(TESTDIR)/../../include
endif
# Relax warning checks to avoid expected compile errors: