diff options
| author | Jesse Gilles <jgilles@multitech.com> | 2015-04-06 17:29:55 -0500 |
|---|---|---|
| committer | Jesse Gilles <jgilles@multitech.com> | 2015-04-06 17:29:55 -0500 |
| commit | d6e01b5a566c08c89f17ae4a26d4ef003e39167c (patch) | |
| tree | abd7d2a69389768b8e359b0d546a9f39397d1c18 /libloragw/inc | |
| parent | 061f14802f86bdb41fe7dd0161461f8b8fa054cf (diff) | |
| download | lora_gateway-d6e01b5a566c08c89f17ae4a26d4ef003e39167c.tar.gz lora_gateway-d6e01b5a566c08c89f17ae4a26d4ef003e39167c.tar.bz2 lora_gateway-d6e01b5a566c08c89f17ae4a26d4ef003e39167c.zip | |
add MTAC-LORA board support
Diffstat (limited to 'libloragw/inc')
| -rw-r--r-- | libloragw/inc/loragw_hal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libloragw/inc/loragw_hal.h b/libloragw/inc/loragw_hal.h index 1516b65..761b4fc 100644 --- a/libloragw/inc/loragw_hal.h +++ b/libloragw/inc/loragw_hal.h @@ -66,6 +66,13 @@ Maintainer: Sylvain Miermont #define LGW_RF_TX_LOWFREQ { 400000000, 400000000} #define LGW_RF_TX_UPFREQ { 510000000, 510000000} #endif + /* MTAC-LORA build will support both bands */ + #if (CFG_BRD_MTACLORA == 1) + #define LGW_EU868_FREQ_MIN 863000000 + #define LGW_EU868_FREQ_MAX 870000000 + #define LGW_US915_FREQ_MIN 902000000 + #define LGW_US915_FREQ_MAX 928000000 + #endif #elif (CFG_BAND_868 == 1) #define LGW_RF_RX_LOWFREQ { 863000000, 863000000} #define LGW_RF_RX_UPFREQ { 870000000, 870000000} @@ -153,6 +160,9 @@ Maintainer: Sylvain Miermont #elif (CFG_BRD_NONE == 1) #define LGW_RF_TX_ENABLE { true, true} /* both radio A and B are usable in TX */ #define LGW_RF_CLKOUT { true, true} /* both radios have clkout enabled */ +#elif (CFG_BRD_MTACLORA == 1) + #define LGW_RF_TX_ENABLE { true, false} /* radio B TX not connected */ + #define LGW_RF_CLKOUT { true, true} /* both radios have clkout enabled */ #endif /* values available for the 'modulation' parameters */ |
