summaryrefslogtreecommitdiff
path: root/libloragw/Makefile
diff options
context:
space:
mode:
authorMatthieu Leurent <mleurent@semtech.com>2015-03-11 20:15:40 +0100
committerMatthieu Leurent <mleurent@semtech.com>2015-03-11 20:15:40 +0100
commit45be5ff473ad1f39829bfcebc641201ae46c1c80 (patch)
tree5d0720fb06e9bb35ce2c8c2f0749b41a7b42c41a /libloragw/Makefile
parentbe5c8ac770bc5b142e2c6a47702d9ac653141371 (diff)
downloadlora_gateway-master.tar.gz
lora_gateway-master.tar.bz2
lora_gateway-master.zip
- Added support for Kerlink 868 27dBm gateway - Updated global_conf.eu868.json (in packet logger) to new LoRaWAN frequency plan - Added version numbers to AGC, arbiter and calibration firmware (those versions are checked at startup) - Added test_loragw_cal to test radio calibrations - Fixed minor bug in error coverage in register read/write functions /!\ warning: Kerlink 868 27dBm gateway includes a FPGA that MUST be programmed before running any application
Diffstat (limited to 'libloragw/Makefile')
-rw-r--r--libloragw/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/libloragw/Makefile b/libloragw/Makefile
index 2b2090e..4a1f5ca 100644
--- a/libloragw/Makefile
+++ b/libloragw/Makefile
@@ -99,6 +99,9 @@ else ifeq ($(CFG_BRD),ref_1301_433)
else ifeq ($(CFG_BRD),kerlink_868)
CFG_BRD_MSG := Kerlink LoRa 868MHz gateway
CFG_BRD_OPT := CFG_BRD_KERLINK868
+else ifeq ($(CFG_BRD),kerlink_868_27dbm)
+ CFG_BRD_MSG := Kerlink LoRa 868MHz gateway with 27dBm capability
+ CFG_BRD_OPT := CFG_BRD_KERLINK868_27DBM
else ifeq ($(CFG_BRD),kerlink_433)
CFG_BRD_MSG := Kerlink LoRa 433MHz gateway
CFG_BRD_OPT := CFG_BRD_KERLINK433
@@ -132,14 +135,14 @@ endif
### linking options
ifeq ($(CFG_SPI),native)
- LIBS := -lloragw -lrt
+ LIBS := -lloragw -lrt -lm
else ifeq ($(CFG_SPI),ftdi)
- LIBS := -lloragw -lrt -lmpsse
+ LIBS := -lloragw -lrt -lmpsse -lm
endif
### general build targets
-all: libloragw.a test_loragw_spi test_loragw_reg test_loragw_hal test_loragw_gps
+all: libloragw.a test_loragw_spi test_loragw_reg test_loragw_hal test_loragw_gps test_loragw_cal
clean:
rm -f libloragw.a
@@ -227,4 +230,7 @@ test_loragw_hal: tst/test_loragw_hal.c libloragw.a
test_loragw_gps: tst/test_loragw_gps.c libloragw.a
$(CC) $(CFLAGS) -L. $< -o $@ $(LIBS)
+test_loragw_cal: tst/test_loragw_cal.c libloragw.a src/cal_fw.var
+ $(CC) $(CFLAGS) -L. $< -o $@ $(LIBS)
+
### EOF \ No newline at end of file