An ExpressLRS 900 MHz transmitter module: ESP32-D0WDQ6, 4 MB flash, SX1276 driving an external PA through a DAC gain input on GPIO26. Pin values come from the ExpressLRS hardware layout for this target (Unified_ESP32_900_TX). The board brings out only RX_EN, so RadioLib's single-pin RF switch handling covers it. Note GPIO12 is both RX_EN and the MTDI flash-voltage strapping pin, so it must stay low through reset. Verified on hardware: boots, radio initialises, TX power changes take effect and are rejected outside the configured range, and the node repeats flood traffic. Uses dual_ota_1536k.csv, and 115200 for upload because the CH340 on this board corrupts transfers above 230400.
18 lines
472 B
C
18 lines
472 B
C
#pragma once
|
|
|
|
#define RADIOLIB_STATIC_ONLY 1
|
|
#include <RadioLib.h>
|
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
|
#include <helpers/esp32/ELRSTxBoard.h>
|
|
#include <helpers/radiolib/DacPaSX1276Wrapper.h>
|
|
#include <helpers/AutoDiscoverRTCClock.h>
|
|
#include <helpers/SensorManager.h>
|
|
|
|
extern ELRSTxBoard board;
|
|
extern WRAPPER_CLASS radio_driver;
|
|
extern AutoDiscoverRTCClock rtc_clock;
|
|
extern SensorManager sensors;
|
|
|
|
bool radio_init();
|
|
mesh::LocalIdentity radio_new_identity();
|