Skip to content

Commit faa62d7

Browse files
authored
Merge pull request #7 from VirTERM/master
Added instructions for Kerlink gateway
2 parents bd8a417 + b127d56 commit faa62d7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/packet-forwarder.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ When compiling the packet_forwarder for a BeagleBone Black, you need to set the
3939
`SPI_DEV_PATH` to `/dev/spidev1.0`. This can be changed in
4040
`lora_gateway/libloragw/src/loragw_spi.native.c`.
4141

42+
43+
#### Kerlink
44+
45+
When compiling the packet_forwarder for a Kerlink, you need to set the
46+
`SPI_DEV_PATH` to `/dev/spidev32766.0`. This can be changed in
47+
`lora_gateway/libloragw/src/loragw_spi.native.c`.
48+
In addtion, `lora_gateway/libloragw/tst/test_loragw_gps.c` needs to be
49+
modified to point to the correct GPS device:
50+
`i = lgw_gps_enable("/dev/nmea", NULL, 0, &gps_tty_dev);`
51+
52+
Cross compiler needs to be installed and configured in: `lora_gateway\Makefile` and in
53+
`packet_forwarder\Makefile`:
54+
```
55+
ARCH ?=arm
56+
CROSS_COMPILE ?=/opt/toolchains/arm-2011.03-wirma2/bin/arm-none-linux-gnueabi-
57+
```
58+
4259
### Building
4360

4461
``` bash

0 commit comments

Comments
 (0)