mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-19 01:41:30 +10:00
* LR2021 radio on NRF_Promicro Co-authored-by: Copilot <copilot@github.com> * Refactor LR2021 interface includes and conditional compilation for improved clarity Co-authored-by: Copilot <copilot@github.com> * Refactor LR20x0 interface: remove unused includes and update comments for clarity * Fix LR2021 max power definitions and add radio type detection tests * remove potato radio type detection tests * Include placeholder for DCDC - currently requires godmode * Added godmode features - not enabled by default --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
#include "configuration.h"
|
|
|
|
#include "LR11x0Interface.cpp"
|
|
#include "LR11x0Interface.h"
|
|
#include "LR20x0Interface.cpp"
|
|
#include "LR20x0Interface.h"
|
|
#include "SX126xInterface.cpp"
|
|
#include "SX126xInterface.h"
|
|
#include "SX128xInterface.cpp"
|
|
#include "SX128xInterface.h"
|
|
#include "api/ServerAPI.cpp"
|
|
#include "api/ServerAPI.h"
|
|
|
|
// We need this declaration for proper linking in derived classes
|
|
#if RADIOLIB_EXCLUDE_SX126X != 1
|
|
template class SX126xInterface<SX1262>;
|
|
template class SX126xInterface<SX1268>;
|
|
template class SX126xInterface<LLCC68>;
|
|
#endif
|
|
#if RADIOLIB_EXCLUDE_SX128X != 1
|
|
template class SX128xInterface<SX1280>;
|
|
#endif
|
|
#if RADIOLIB_EXCLUDE_LR11X0 != 1
|
|
template class LR11x0Interface<LR1110>;
|
|
template class LR11x0Interface<LR1120>;
|
|
template class LR11x0Interface<LR1121>;
|
|
#endif
|
|
#if defined(USE_LR2021) && RADIOLIB_EXCLUDE_LR2021 != 1
|
|
template class LR20x0Interface<LR2021>;
|
|
#endif
|
|
#ifdef ARCH_STM32WL
|
|
template class SX126xInterface<STM32WLx>;
|
|
#endif
|
|
|
|
#if HAS_ETHERNET && !defined(USE_WS5500)
|
|
#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 |