summaryrefslogtreecommitdiff
path: root/libloragw/library.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'libloragw/library.cfg')
-rw-r--r--libloragw/library.cfg71
1 files changed, 49 insertions, 22 deletions
diff --git a/libloragw/library.cfg b/libloragw/library.cfg
index 0e8c742..5751cb5 100644
--- a/libloragw/library.cfg
+++ b/libloragw/library.cfg
@@ -1,27 +1,54 @@
-# / _____) _ | |
-# ( (____ _____ ____ _| |_ _____ ____| |__
-# \____ \| ___ | (_ _) ___ |/ ___) _ \
-# _____) ) ____| | | || |_| ____( (___| | | |
-# (______/|_____)_|_|_| \__)_____)\____)_| |_|
-# ©2013 Semtech-Cycleo
-#
-# Description:
-# Lora gateway Hardware Abstraction Layer library configuration
+# That file will be included in the Makefile files that have hardware dependencies
+### SPI interface to the concentrator ###
+# Accepted values:
+# native Linux native SPI driver (/dev/spidev0.0)
+# ftdi FTDI SPI-over-USB bridge using libmpsse/libftdi/libusb
-# 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
-FLAG_GPS= -D DEBUG_GPS=0
+CFG_SPI= ftdi
+
+### Concentrator chip ###
+# Accepted values:
+# sx1301 Semtech SX1301 production chip
+# fpga1301 FPGA containing the SX1301 IP
+
+CFG_CHIP= sx1301
+
+### Radio chip(s) ###
+# Accepted values:
+# sx1257 Dual SX1257 transceivers, covering 860-1000 MHz
+# sx1255 Dual SX1255 transceivers, covering 400-510 MHz
+
+CFG_RADIO= sx1257
-# The flags bellow define which physical link to the nano board will be used
-# Pick one and comment the other(s)
+### RF band configuration ###
+# Used to configured frequency restrictions (eg. if a SAW filter is installed)
+# Accepted values:
+# full Full range supported by the radio(s)
+# eu868 ETSI 868 (866) MHz band
+# us915 FCC 915 MHz band
+# cn470 China 470 MHz band
+# eu433 ETSI 433 MHz band
-# FTDI SPI-over-USB bridge
-LGW_PHY= ftdi
+CFG_BAND= eu868
+
+### Board misc parameters & calibration ###
+# Used to configure misc board options.
+# RX RSSI indication and TX power are highly dependant on radio, band, filter
+# and RF front-ends, and must be calibrated for each new board design.
+# Available calibration parameters:
+# dev_nano_868 FPGA-based nano-concentrator, with 868 MHz SAW filter
+# ref_1301_57nf SX1301 reference board with SX1257 radios, no filters
+# Keep empty for no calibration parameters (neutral values will be used).
+
+CFG_BRD= ref_1301_57nf
+
+### Debug options ###
+# Set the DEBUG_* to 1 to activate debug mode in individual modules.
+# Warning: that makes the module *very verbose*, do not use for production
-# Pcduino native SPI (Linux device in /dev)
-#LGW_PHY= native
+DEBUG_AUX= 0
+DEBUG_SPI= 0
+DEBUG_REG= 0
+DEBUG_HAL= 0
+DEBUG_GPS= 0