apps/canutils/libcanard: Update version

This commit is contained in:
Paul A. Patience 2016-07-23 16:45:22 -04:00
parent f87893b514
commit a23d76477e
3 changed files with 1 additions and 16 deletions

View File

@ -20,7 +20,7 @@ config LIBCANARD_URL
config LIBCANARD_VERSION config LIBCANARD_VERSION
string "libcanard Version" string "libcanard Version"
default "b28bf6ac337e55d49037fd9904d4b951760c4690" default "e4a1d52be862b03e5872add75890e67bf1d9187c"
---help--- ---help---
libcanard version. libcanard version.

View File

@ -46,7 +46,6 @@ LIBCANARD_UNPACKNAME = libcanard-$(LIBCANARD_VERSION)
LIBCANARD_PACKNAME = $(LIBCANARD_UNPACKNAME)$(PACKEXT) LIBCANARD_PACKNAME = $(LIBCANARD_UNPACKNAME)$(PACKEXT)
LIBCANARD_SRCDIR = $(LIBCANARD_UNPACKNAME) LIBCANARD_SRCDIR = $(LIBCANARD_UNPACKNAME)
LIBCANARD_DRVDIR = $(LIBCANARD_SRCDIR)$(DELIM)drivers$(DELIM)nuttx LIBCANARD_DRVDIR = $(LIBCANARD_SRCDIR)$(DELIM)drivers$(DELIM)nuttx
LIBCANARD_PATCHNAME = nuttx-$(LIBCANARD_VERSION).patch
APPS_INCDIR = $(APPDIR)$(DELIM)include$(DELIM)canutils APPS_INCDIR = $(APPDIR)$(DELIM)include$(DELIM)canutils
@ -79,9 +78,6 @@ $(LIBCANARD_UNPACKNAME): $(LIBCANARD_PACKNAME)
@echo "Unpacking: $< -> $@" @echo "Unpacking: $< -> $@"
$(call DELDIR, $@) $(call DELDIR, $@)
$(Q) $(UNPACK) $< $(Q) $(UNPACK) $<
$(Q) if [ -r $(LIBCANARD_PATCHNAME) ]; then \
cat $(LIBCANARD_PATCHNAME) | patch -p0 || { echo "ERROR: Patch failed"; exit 1; }; \
fi
$(Q) touch $@ $(Q) touch $@
$(LIBCANARD_SRCDIR)$(DELIM)canard.h: $(LIBCANARD_UNPACKNAME) $(LIBCANARD_SRCDIR)$(DELIM)canard.h: $(LIBCANARD_UNPACKNAME)

View File

@ -1,11 +0,0 @@
--- libcanard-b28bf6ac337e55d49037fd9904d4b951760c4690/drivers/nuttx/canard_nuttx.c.orig 2016-07-21 09:10:10.781658371 -0600
+++ libcanard-b28bf6ac337e55d49037fd9904d4b951760c4690/drivers/nuttx/canard_nuttx.c 2016-07-21 09:10:26.608658284 -0600
@@ -10,7 +10,7 @@
#include <poll.h>
#include <string.h>
#include <unistd.h>
-#include <nuttx/can.h>
+#include <nuttx/drivers/can.h>
int canardNuttXInit(CanardNuttXInstance* out_ins, const char* can_iface_name)
{