[Armadeus-commitlog] armadeus branch, buildroot-update, updated. armadeus-6.0-161-g448bb9d
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2016-11-14 15:53:46
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, buildroot-update has been updated
via 448bb9d3d975f1f8f1b4d6b45e1d808db7601cbe (commit)
from e816e6a6f0239485908a8377ca4076ee909f70ca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 448bb9d3d975f1f8f1b4d6b45e1d808db7601cbe
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Nov 14 16:47:39 2016 +0100
[BUILDROOT] 2016.08+: Add lmic-pi package (LoRa node)
-----------------------------------------------------------------------
Summary of changes:
.../2016.08/030-lmic-pi-add-package.patch | 67 ++++++++++++++++++++
patches/buildroot/2016.08/cleanup_buildroot.sh | 2 +
2 files changed, 69 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2016.08/030-lmic-pi-add-package.patch
diff --git a/patches/buildroot/2016.08/030-lmic-pi-add-package.patch b/patches/buildroot/2016.08/030-lmic-pi-add-package.patch
new file mode 100644
index 0000000..5a8874b
--- /dev/null
+++ b/patches/buildroot/2016.08/030-lmic-pi-add-package.patch
@@ -0,0 +1,67 @@
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/package/lmic-pi/lmic-pi.mk
+===================================================================
+--- /dev/null
++++ buildroot/package/lmic-pi/lmic-pi.mk
+@@ -0,0 +1,33 @@
++################################################################################
++#
++# lmic-pi
++#
++################################################################################
++
++LMIC_PI_VERSION = c4a7c2080faf3fb76277f78b6d035c284a5eec9c
++LMIC_PI_SITE = $(call github,ernstdevreede,lmic_pi,$(LMIC_PI_VERSION))
++# LMIC <- Eclipse, examples <- Freeware
++LMIC_PI_LICENSE = Eclipse Public License v1.0 Freeware
++LMIC_PI_LICENSE_FILES = lmic/hal.h examples/thethingsnetwork-send-v1/thethingsnetwork-send-v1.cpp
++# as_devices provides wiringPi interface:
++LMIC_PI_DEPENDENCIES = as_devices
++
++define LMIC_PI_BUILD_CMDS
++ $(TARGET_MAKE_ENV) $(MAKE) \
++ CC="$(TARGET_CXX)" \
++ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/as_devices/" \
++ LD="$(TARGET_LD)" \
++ LIBS="-L$(STAGING_DIR)/usr/lib/ -las_devices" \
++ -C $(@D)/lmic
++ $(TARGET_MAKE_ENV) $(MAKE) \
++ CC="$(TARGET_CXX)" \
++ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/as_devices/ -I../../lmic" \
++ LDFLAGS="$(TARGET_LDFLASG) -L$(STAGING_DIR)/usr/lib/ -las_devices" \
++ -C $(@D)/examples/thethingsnetwork-send-v1
++endef
++
++define LMIC_PI_INSTALL_TARGET_CMDS
++ $(INSTALL) -D -m 755 $(@D)/examples/thethingsnetwork-send-v1/thethingsnetwork-send-v1 $(TARGET_DIR)/usr/bin/
++endef
++
++$(eval $(generic-package))
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in
++++ buildroot/package/Config.in
+@@ -1251,6 +1251,7 @@ menu "Networking"
+ source "package/libwebsock/Config.in"
+ source "package/libwebsockets/Config.in"
+ source "package/lksctp-tools/Config.in"
++ source "package/lmic-pi/Config.in"
+ source "package/mongoose/Config.in"
+ source "package/neon/Config.in"
+ source "package/norm/Config.in"
+Index: buildroot/package/lmic-pi/Config.in
+===================================================================
+--- /dev/null
++++ buildroot/package/lmic-pi/Config.in
+@@ -0,0 +1,10 @@
++config BR2_PACKAGE_LMIC_PI
++ bool "lmic-pi"
++ select BR2_PACKAGE_AS_DEVICES
++ help
++ Raspberry Pi port of IBM's LMCI 1.5 (LoRaMAC in C / LoRaWAN in C:
++ http://www.research.ibm.com/labs/zurich/ics/lrsc/lmic.html), using
++ the wiringPi library for GPIO/SPI.
++ It is adapted for TTN (http://thethingsnetwork.org).
++
++ https://github.com/ernstdevreede/lmic_pi/
diff --git a/patches/buildroot/2016.08/cleanup_buildroot.sh b/patches/buildroot/2016.08/cleanup_buildroot.sh
index 0bc616f..d5ae4a7 100755
--- a/patches/buildroot/2016.08/cleanup_buildroot.sh
+++ b/patches/buildroot/2016.08/cleanup_buildroot.sh
@@ -64,6 +64,8 @@ rm -rf buildroot/package/linux-firmware/linux-firmware.mk
rm -rf buildroot/package/linux-headers/2.6.29.6/0001-net-Support-inclusion-of-linux-socket.h-before-sys-s.patch
rm -rf buildroot/package/linux-headers/2.6.29.6/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
rm -rf buildroot/package/linux-headers/2.6.35.3/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
+rm -rf buildroot/package/lmic-pi/Config.in
+rm -rf buildroot/package/lmic-pi/lmic-pi.mk
rm -rf buildroot/package/lora-forwarder/0001-fix-cross-compiling.patch
rm -rf buildroot/package/lora-forwarder/Config.in
rm -rf buildroot/package/lora-forwarder/lora-forwarder.mk
hooks/post-receive
--
armadeus
|