summaryrefslogtreecommitdiff
path: root/loragw_hal/library.cfg
diff options
context:
space:
mode:
authorSylvain Miermont <smiermont@semtech.com>2013-09-02 16:13:41 +0200
committerSylvain Miermont <smiermont@semtech.com>2013-10-23 11:36:29 +0200
commit33ade9eb698f594e95076a5e4056a70163f14278 (patch)
treea8fb4a31cf79f49ba8c3e517b0c8956eea3966c6 /loragw_hal/library.cfg
parentddac0aa483dd5f7bca31b0c042949eca370a8fdc (diff)
downloadlora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.gz
lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.bz2
lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.zip
Beta 4v1.b4
- now supports 'native' Linux /dev/spi* interface and SPI-over-USB using FTDI bridge through libmpsse - Flexible build system, with library.cfg file to set Makefile options - removed 500 kHz bandwidth limitation on radios, pushed it to the nominal 800kHz usable bandwidth - RSSI calibrated fo Lora multi-datarate channels
Diffstat (limited to 'loragw_hal/library.cfg')
-rw-r--r--loragw_hal/library.cfg26
1 files changed, 26 insertions, 0 deletions
diff --git a/loragw_hal/library.cfg b/loragw_hal/library.cfg
new file mode 100644
index 0000000..ac24416
--- /dev/null
+++ b/loragw_hal/library.cfg
@@ -0,0 +1,26 @@
+# / _____) _ | |
+# ( (____ _____ ____ _| |_ _____ ____| |__
+# \____ \| ___ | (_ _) ___ |/ ___) _ \
+# _____) ) ____| | | || |_| ____( (___| | | |
+# (______/|_____)_|_|_| \__)_____)\____)_| |_|
+# ©2013 Semtech-Cycleo
+#
+# Description:
+# Lora gateway Hardware Abstraction Layer library configuration
+
+
+# Set the DEBUG_* to 1 to activate debug mode in individual modules.
+# Warning: that makes the module *very verbose*, do not use for production
+FLAG_AUX= -D DEBUG_AUX=0
+FLAG_SPI= -D DEBUG_SPI=0
+FLAG_REG= -D DEBUG_REG=0
+FLAG_HAL= -D DEBUG_HAL=0
+
+# The flags bellow define which physical link to the nano board will be used
+# Pick one and comment the other(s)
+
+# Pcduino native SPI (Linux device in /dev)
+LGW_PHY= native
+
+# FTDI SPI-over-USB bridge
+#LGW_PHY= ftdi