Update Radiomaster target

This commit is contained in:
Thomas Göttgens
2024-11-12 16:53:36 +01:00
parent dd2a4a3121
commit 1898aec281
15 changed files with 118 additions and 29 deletions

View File

@@ -12,7 +12,7 @@
#define LORA_MISO 19
#define LORA_MOSI 23
#define LORA_CS 5
#define RF95_FAN_EN 17
#define RADIO_FAN_EN 17
// #define LED_PIN 16 // This is a LED_WS2812 not a standard LED
#define HAS_NEOPIXEL // Enable the use of neopixels

View File

@@ -46,7 +46,8 @@
FAN is active at 250mW on it's ExpressLRS Firmware.
This FAN has TACHO signal on Pin 27 for use with PWM.
*/
#define RF95_FAN_EN 2
#define RADIO_FAN_EN 2
#define RADIO_FAN_PWM
/*
LED PIN setup and it has a NeoPixel LED.

View File

@@ -32,7 +32,7 @@
This unit has a FAN built-in.
FAN is active at 250mW on it's ExpressLRS Firmware.
*/
#define RF95_FAN_EN 2
#define RADIO_FAN_EN 2
/*
LED PIN setup.

View File

@@ -28,6 +28,13 @@
#define LR1121_SPI_MOSI_PIN LORA_MOSI
#define LR1121_SPI_MISO_PIN LORA_MISO
// not yet implemented
#define JANUS_RADIO
#define LR1121_IRQ2_PIN 34
#define LR1121_NRESET2_PIN 21
#define LR1121_BUSY2_PIN 39
#define LR1121_SPI_NSS2_PIN 13
// #define LR11X0_DIO3_TCXO_VOLTAGE 1.6
#define LR11X0_DIO_AS_RF_SWITCH
@@ -42,10 +49,11 @@
#undef EXT_NOTIFY_OUT
#define BAT_MEASURE_ADC_UNIT
#define BATTERY_PIN 26
#define ADC_CHANNEL ADC2_GPIO26_CHANNEL
#define BATTERY_SENSE_SAMPLES 30
// #define BAT_MEASURE_ADC_UNIT
// #define BATTERY_PIN 26
// #define ADC_CHANNEL ADC2_GPIO26_CHANNEL
// #define BATTERY_SENSE_SAMPLES 30
// ratio of voltage divider = 2.0 (R42=100k, R43=100k)
#define ADC_MULTIPLIER 2
#define RADIO_FAN_EN 2
// this board does need PWM on the FAN PIN
#define RADIO_FAN_PWM