Files
firmware/src/mesh/InterfacesTemplates.cpp

38 lines
1.1 KiB
C++
Raw Normal View History

#include "LR11x0Interface.cpp"
#include "LR11x0Interface.h"
#include "SX126xInterface.cpp"
2023-01-21 14:34:29 +01:00
#include "SX126xInterface.h"
2022-10-16 19:07:58 +02:00
#include "SX128xInterface.cpp"
2023-01-21 14:34:29 +01:00
#include "SX128xInterface.h"
#include "api/ServerAPI.cpp"
2023-01-21 14:34:29 +01:00
#include "api/ServerAPI.h"
// We need this declaration for proper linking in derived classes
#if RADIOLIB_EXCLUDE_SX126X != 1
template class SX126xInterface<SX1262>;
2021-11-17 13:28:08 +03:00
template class SX126xInterface<SX1268>;
2022-10-16 19:07:58 +02:00
template class SX126xInterface<LLCC68>;
#endif
#if RADIOLIB_EXCLUDE_SX128X != 1
2022-11-02 13:12:15 +01:00
template class SX128xInterface<SX1280>;
#endif
#if RADIOLIB_EXCLUDE_LR11X0 != 1
template class LR11x0Interface<LR1110>;
template class LR11x0Interface<LR1120>;
2024-09-25 18:56:17 +02:00
template class LR11x0Interface<LR1121>;
#endif
#ifdef ARCH_STM32WL
template class SX126xInterface<STM32WLx>;
#endif
2025-09-22 09:28:25 +02:00
#if HAS_ETHERNET && !defined(USE_WS5500) && !defined(USE_CH390D)
#include "api/ethServerAPI.h"
template class ServerAPI<EthernetClient>;
template class APIServerPort<ethServerAPI, EthernetServer>;
#endif
#if HAS_WIFI
#include "api/WiFiServerAPI.h"
template class ServerAPI<WiFiClient>;
template class APIServerPort<WiFiServerAPI, WiFiServer>;
#endif