summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \
"