summaryrefslogtreecommitdiff
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-09-29 10:10:55 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-09-29 10:10:55 -0500
commitb0d2071730c2924ed323149e718c235735f54e65 (patch)
tree9b98f2fe0664f94f0e265b59fcd44ee3892fd762 /recipes-connectivity
parentb6d02258256723a9be187f33d523fd59ed56776a (diff)
downloadmeta-mlinux-b0d2071730c2924ed323149e718c235735f54e65.tar.gz
meta-mlinux-b0d2071730c2924ed323149e718c235735f54e65.tar.bz2
meta-mlinux-b0d2071730c2924ed323149e718c235735f54e65.zip
mtp:lora-gateway:feat: add support for fpga v28 firmware
Diffstat (limited to 'recipes-connectivity')
-rw-r--r--recipes-connectivity/lora/lora-gateway/lora-gateway-add-fpga-version-28.patch13
-rw-r--r--recipes-connectivity/lora/lora-gateway_4.0.1.bb1
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-gateway/lora-gateway-add-fpga-version-28.patch b/recipes-connectivity/lora/lora-gateway/lora-gateway-add-fpga-version-28.patch
new file mode 100644
index 0000000..c5f47dd
--- /dev/null
+++ b/recipes-connectivity/lora/lora-gateway/lora-gateway-add-fpga-version-28.patch
@@ -0,0 +1,13 @@
+diff --git a/libloragw/src/loragw_reg.c b/libloragw/src/loragw_reg.c
+index 7fe0f67..dc90d93 100644
+--- a/libloragw/src/loragw_reg.c
++++ b/libloragw/src/loragw_reg.c
+@@ -48,7 +48,7 @@ Maintainer: Sylvain Miermont
+ #define PAGE_ADDR 0x00
+ #define PAGE_MASK 0x03
+
+-const uint8_t FPGA_VERSION[] = { 27 }; /* several versions could be supported */
++const uint8_t FPGA_VERSION[] = { 27, 28 }; /* several versions could be supported */
+
+ /*
+ auto generated register mapping for C code : 11-Jul-2013 13:20:40
diff --git a/recipes-connectivity/lora/lora-gateway_4.0.1.bb b/recipes-connectivity/lora/lora-gateway_4.0.1.bb
index fae67d2..98507a8 100644
--- a/recipes-connectivity/lora/lora-gateway_4.0.1.bb
+++ b/recipes-connectivity/lora/lora-gateway_4.0.1.bb
@@ -10,6 +10,7 @@ PR = "r3"
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 \
"