summaryrefslogtreecommitdiff
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-11-04 08:29:07 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-11-08 15:34:05 -0600
commit5964212dc0249408e2cf944f17b489fe814bd52f (patch)
treec7d064b5c223623b7b92d8adf1b58b354bdb89c9 /recipes-connectivity
parente3376e7c8bb110735b9fbdf0325f75dcaeaa7b36 (diff)
downloadmeta-mlinux-5964212dc0249408e2cf944f17b489fe814bd52f.tar.gz
meta-mlinux-5964212dc0249408e2cf944f17b489fe814bd52f.tar.bz2
meta-mlinux-5964212dc0249408e2cf944f17b489fe814bd52f.zip
lora-gateway: add patch for util_tx_continuous to use clksrc 0
Diffstat (limited to 'recipes-connectivity')
-rw-r--r--recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch13
-rw-r--r--recipes-connectivity/lora/lora-gateway_4.0.1.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch b/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
new file mode 100644
index 0000000..bdc05ad
--- /dev/null
+++ b/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
@@ -0,0 +1,13 @@
+diff --git a/util_tx_continuous/src/util_tx_continuous.c b/util_tx_continuous/src/util_tx_continuous.c
+index 31f45ac..f9cf033 100644
+--- a/util_tx_continuous/src/util_tx_continuous.c
++++ b/util_tx_continuous/src/util_tx_continuous.c
+@@ -297,7 +297,7 @@ int main(int argc, char **argv)
+ /* Board config */
+ memset(&boardconf, 0, sizeof(boardconf));
+ boardconf.lorawan_public = true;
+- boardconf.clksrc = 1; /* Radio B is source by default */
++ boardconf.clksrc = 0; /* Radio B is source by default */
+ lgw_board_setconf(boardconf);
+
+ /* RF config */
diff --git a/recipes-connectivity/lora/lora-gateway_4.0.1.bb b/recipes-connectivity/lora/lora-gateway_4.0.1.bb
index 9f1fa07..ce6dd89 100644
--- a/recipes-connectivity/lora/lora-gateway_4.0.1.bb
+++ b/recipes-connectivity/lora/lora-gateway_4.0.1.bb
@@ -6,13 +6,14 @@ SECTION = "console/utils"
LICENSE = "SEMTECH"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a2bdef95625509f821ba00460e3ae0eb"
DEPENDS = ""
-PR = "r5"
+PR = "r6"
SRCREV = "v${PV}"
SRC_URI = "git://github.com/Lora-net/lora_gateway.git;protocol=git \
file://lora-gateway-add-fpga-version-28.patch \
file://library_4.0.cfg \
file://lora-gateway-add-spi-path-function.patch \
+ file://lora-gateway-change-util-tx-continuous-clksrc.patch \
"
SRC_URI[md5sum] = "9e06a3733a9fea39a3d61f77b412badf"