bug fix
This commit is contained in:
parent
5f04466dbf
commit
b8973a5bfc
14
README.md
14
README.md
@ -50,6 +50,20 @@ GW_REGION | EU
|
|||||||
GW_CONTACT_EMAIL | yourname@yourdomain.com
|
GW_CONTACT_EMAIL | yourname@yourdomain.com
|
||||||
GW_DESCRIPTION | your-gateway-1
|
GW_DESCRIPTION | your-gateway-1
|
||||||
|
|
||||||
|
SPECIAL Note for using the LinkLabs gateway on a Raspberry Pi 3:
|
||||||
|
|
||||||
|
There is a backward incomatibility between the Raspberry Pi 1 and 2 hardware, and Raspberry Pi 3. For Raspberry Pi 3, it is necessary to make a small additional configuration change.
|
||||||
|
|
||||||
|
Click <- to go back to the Device List, and note that on the left there is an option called "Fleet Configuration". Click it.
|
||||||
|
|
||||||
|
Add a New config variable as follows:
|
||||||
|
|
||||||
|
APPLICATION CONFIG VARIABLES
|
||||||
|
|
||||||
|
Name | Value
|
||||||
|
------------------------------|--------------------------
|
||||||
|
RESIN_HOST_CONFIG_core_freq | 250
|
||||||
|
|
||||||
## TRANSFERRING TTN GATEWAY SOFTWARE TO RESIN SO THAT IT MAY BE DOWNLOADED ON YOUR DEVICES
|
## TRANSFERRING TTN GATEWAY SOFTWARE TO RESIN SO THAT IT MAY BE DOWNLOADED ON YOUR DEVICES
|
||||||
|
|
||||||
1. On your Mac or PC, in terminal, change your working directory to the directory that is the clone of **this** git repo.
|
1. On your Mac or PC, in terminal, change your working directory to the directory that is the clone of **this** git repo.
|
||||||
|
7
run.sh
7
run.sh
@ -45,7 +45,7 @@ fi
|
|||||||
if [[ $GW_TYPE == "linklabs-dev" && "$RESIN_MACHINE_NAME" == "raspberrypi3" ]]
|
if [[ $GW_TYPE == "linklabs-dev" && "$RESIN_MACHINE_NAME" == "raspberrypi3" ]]
|
||||||
then
|
then
|
||||||
echo "*** Raspberry Pi 3 with LinkLabs board"
|
echo "*** Raspberry Pi 3 with LinkLabs board"
|
||||||
if [[ "$RESIN_HOST_CONFIG_dtoverlay" == "pi3-miniuart-bt"]]
|
if [[ "$RESIN_HOST_CONFIG_dtoverlay" == "pi3-miniuart-bt" ]]
|
||||||
then
|
then
|
||||||
echo "*** Operating with Bluetooth disabled, and UART swapped onto /dev/ttyAMA0"
|
echo "*** Operating with Bluetooth disabled, and UART swapped onto /dev/ttyAMA0"
|
||||||
if [[ "$RESIN_HOST_CONFIG_core_freq" != "" ]]
|
if [[ "$RESIN_HOST_CONFIG_core_freq" != "" ]]
|
||||||
@ -54,13 +54,14 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ "$RESIN_HOST_CONFIG_core_freq" == "250" ]]
|
elif [[ "$RESIN_HOST_CONFIG_core_freq" == "250" ]]
|
||||||
echo "*** Operating with Bluetooth enabled, and UART frequency adjusted to work properly
|
then
|
||||||
|
echo "*** Operating with Bluetooth enabled, and UART frequency adjusted to work properly"
|
||||||
else
|
else
|
||||||
echo "*** Please add one of these two Resin Fleet Configuration variables (but not both)"
|
echo "*** Please add one of these two Resin Fleet Configuration variables (but not both)"
|
||||||
echo "*** If there is some reason you need Bluetooth (which is unlikely):"
|
echo "*** If there is some reason you need Bluetooth (which is unlikely):"
|
||||||
echo "*** RESIN_HOST_CONFIG_dtoverlay=pi3-miniuart-bt"
|
echo "*** RESIN_HOST_CONFIG_dtoverlay=pi3-miniuart-bt"
|
||||||
echo "*** Otherwise:"
|
echo "*** Otherwise:"
|
||||||
echo "*** RESIN_HOST_CONFIG_core_freq=250
|
echo "*** RESIN_HOST_CONFIG_core_freq=250"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user