From 45be5ff473ad1f39829bfcebc641201ae46c1c80 Mon Sep 17 00:00:00 2001 From: Matthieu Leurent Date: Wed, 11 Mar 2015 20:15:40 +0100 Subject: v2.0.0 - 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 --- libloragw/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libloragw/Makefile') 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 -- cgit v1.2.3