Add DFRobot LoRaWAN ESP32-S3 Companion BLE firmware
Add a board variant for the DFRobot DFR1195 (ESP32-S3-WROOM-1-N4, SX1262, 80x160 ST7735S) and a Companion BLE environment. The display and radio use separate SPI controllers: the SX1262 is on FSPI and the ST7735 is on HSPI. ST7735Display selects that HSPI bus and the 160x80 init sequence only when DFROBOT_LORAWAN_ESP32S3 is defined.
This commit is contained in:
1 parent
dace1a32d4
commit
ff0ce69c16
7 files changed
+210
-2
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#include "DFRobotLoRaBoard.h"
|
||||
|
||||
void DFRobotLoRaBoard::begin() {
|
||||
// SX1262 module power. Held high for the whole boot; Companion does not
|
||||
// drop into deep sleep, so the pin does not need an RTC hold.
|
||||
pinMode(LORA_POWER_EN, OUTPUT);
|
||||
digitalWrite(LORA_POWER_EN, HIGH);
|
||||
delay(10);
|
||||
|
||||
periph_power.begin();
|
||||
|
||||
pinMode(PIN_LED, OUTPUT);
|
||||
digitalWrite(PIN_LED, HIGH);
|
||||
|
||||
ESP32Board::begin();
|
||||
}
|
||||
|
||||
const char* DFRobotLoRaBoard::getManufacturerName() const {
|
||||
return "DFRobot LoRaWAN ESP32-S3";
|
||||
}
|
||||
Reference in new issue
Block a user