debug hardware
This commit is contained in:
parent
a1620c84da
commit
194a021b28
@ -3,9 +3,6 @@ FROM resin/raspberrypi-buildpack-deps
|
||||
# Enable systemd, as Resin requires this
|
||||
ENV INITSYSTEM on
|
||||
|
||||
# Another approach to blowing away the cache
|
||||
RUN date >/var/tmp/image_build.log
|
||||
|
||||
# Version number of gateway software.
|
||||
# (Incrementing this simply forces Docker to flush its cache
|
||||
# and thus forces a full rebuild. Not used outside of Dockerfile.)
|
||||
|
6
build.sh
6
build.sh
@ -28,6 +28,12 @@ popd
|
||||
git clone https://github.com/TheThingsNetwork/lora_gateway.git
|
||||
pushd lora_gateway
|
||||
sed -i -e 's/PLATFORM= kerlink/PLATFORM= imst_rpi/g' ./libloragw/library.cfg
|
||||
# Comment the following in or out as needed for hardware debugging
|
||||
#sed -i -e 's/DEBUG_AUX= 0/DEBUG_AUX= 1/g' ./libloragw/library.cfg
|
||||
sed -i -e 's/DEBUG_SPI= 0/DEBUG_SPI= 1/g' ./libloragw/library.cfg
|
||||
#sed -i -e 's/DEBUG_REG= 0/DEBUG_REG= 1/g' ./libloragw/library.cfg
|
||||
sed -i -e 's/DEBUG_HAL= 0/DEBUG_HAL= 1/g' ./libloragw/library.cfg
|
||||
#sed -i -e 's/DEBUG_GPS= 0/DEBUG_GPS= 1/g' ./libloragw/library.cfg
|
||||
make
|
||||
popd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user