Allow for better target level Radiolib exclude plumbing (#4906)

* WIP

* LR11x0

* Anothern

* =1
This commit is contained in:
Ben Meadors
2024-09-30 05:14:22 -05:00
committed by GitHub
parent fd6e8613c6
commit 8ad89ba724
27 changed files with 98 additions and 48 deletions

View File

@@ -8,13 +8,19 @@
#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
#ifdef ARCH_STM32WL
template class SX126xInterface<STM32WLx>;
#endif