Updated Compatible boards (markdown)

master
sh123 2021-10-25 16:39:45 +03:00
rodzic 2c1d33facc
commit a255662c3b
1 zmienionych plików z 2 dodań i 11 usunięć

@ -5,17 +5,8 @@ All work was done on ESP32-WROOM with custom made **RA-01**/**SX1278** LoRa shie
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<SX1278> radio_;
```
and
```
radio_ = std::make_shared<SX1278>(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
- `SX1278` is a default module, for other `SX127x` modules need to update `module.h`, replace `MODULE_NAME` with your module name according to RadioLib naming
- other RadioLib module types - check [RadioLib documentation](https://github.com/jgromes/RadioLib/wiki/Modules), modify `module.h` and code accordingly, open Issue if help is needed
If your ESP32 board is compatible or has build in LoRa module then it should work without redefining pinouts, for custom shields there might be need to redefine pinouts to LoRa module if it differs (see further description in Software Setup section), currently pinouts are connected from LoRa to ESP32-WROOM as (SS/RST/DIO0 could be redefined in config.h):