Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
loraphy_target.h
00001 /** 00002 * Copyright (c) 2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 #ifndef LORAPHY_TARGET 00019 #define LORAPHY_TARGET 00020 00021 #ifdef MBED_CONF_LORA_PHY 00022 #if MBED_CONF_LORA_PHY == 0 00023 #include "lorawan/lorastack/phy/LoRaPHYEU868.h" 00024 #define LoRaPHY_region LoRaPHYEU868 00025 #elif MBED_CONF_LORA_PHY == 1 00026 #include "lorawan/lorastack/phy/LoRaPHYAS923.h" 00027 #define LoRaPHY_region LoRaPHYAS923 00028 #elif MBED_CONF_LORA_PHY == 2 00029 #include "lorawan/lorastack/phy/LoRaPHYAU915.h" 00030 #define LoRaPHY_region LoRaPHYAU915; 00031 #elif MBED_CONF_LORA_PHY == 3 00032 #include "lorawan/lorastack/phy/LoRaPHYCN470.h" 00033 #define LoRaPHY_region LoRaPHYCN470 00034 #elif MBED_CONF_LORA_PHY == 4 00035 #include "lorawan/lorastack/phy/LoRaPHYCN779.h" 00036 #define LoRaPHY_region LoRaPHYCN779 00037 #elif MBED_CONF_LORA_PHY == 5 00038 #include "lorawan/lorastack/phy/LoRaPHYEU433.h" 00039 #define LoRaPHY_region LoRaPHYEU433 00040 #elif MBED_CONF_LORA_PHY == 6 00041 #include "lorawan/lorastack/phy/LoRaPHYIN865.h" 00042 #define LoRaPHY_region LoRaPHYIN865 00043 #elif MBED_CONF_LORA_PHY == 7 00044 #include "lorawan/lorastack/phy/LoRaPHYKR920.h" 00045 #define LoRaPHY_region LoRaPHYKR920 00046 #elif MBED_CONF_LORA_PHY == 8 00047 #include "lorawan/lorastack/phy/LoRaPHYUS915.h" 00048 #define LoRaPHY_region LoRaPHYUS915 00049 #elif MBED_CONF_LORA_PHY == 9 00050 #include "lorawan/lorastack/phy/LoRaPHYUS915Hybrid.h" 00051 #define LoRaPHY_region LoRaPHYUS915Hybrid 00052 #endif //MBED_CONF_LORA_PHY == VALUE 00053 #else 00054 #error "Must set LoRa PHY layer parameters." 00055 #endif //MBED_CONF_LORA_PHY 00056 00057 #endif // LORAPHY_TARGET 00058
Generated on Tue Jul 12 2022 14:23:51 by
