diff --git a/Compatible-boards.md b/Compatible-boards.md index f096b16..7159f41 100644 --- a/Compatible-boards.md +++ b/Compatible-boards.md @@ -6,6 +6,14 @@ If using arduino-LoRa library then supported modules are SX1276/77/78/79. If using RadioLib then supported modules - modules, which are supported by [RadioLib](https://github.com/jgromes/RadioLib/wiki/Modules): - `SX1278` is a default module, for other `SX127x` modules need to modify module declarations in `loraprs_service.cpp` and `loraprs_service.h` + ``` + static std::shared_ptr radio_; + ``` + and + ``` + radio_ = std::make_shared(new Module(config_.LoraPinSs, config_.LoraPinDio0, config_.LoraPinRst, RADIOLIB_NC)); + ``` + replace `SX1278` with your module name - `SX126x` is using `DIO1` pin for ISR instead of `DIO0`, compilation might fail and need manual rename `clearDio0Action` and `setDio0Action` to `clearDio1Action` and `setDio1Action` - other RadioLib module types - check [RadioLib documentation](https://github.com/jgromes/RadioLib/wiki/Modules), modify code accordingly, open Issue if help is needed