mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-01-27 06:47:14 -05:00
Update release builds to include T3S3 SX1280 PA
This commit is contained in:
parent
b9cd4d7751
commit
217db4bcd3
4
Boards.h
4
Boards.h
@ -445,13 +445,14 @@
|
|||||||
const int pin_dio = 33;
|
const int pin_dio = 33;
|
||||||
const int pin_tcxo_enable = -1;
|
const int pin_tcxo_enable = -1;
|
||||||
#elif MODEM == SX1280
|
#elif MODEM == SX1280
|
||||||
|
#define CONFIG_QUEUE_SIZE 40960
|
||||||
#define DIO2_AS_RF_SWITCH false
|
#define DIO2_AS_RF_SWITCH false
|
||||||
#define HAS_BUSY true
|
#define HAS_BUSY true
|
||||||
#define HAS_TCXO true
|
#define HAS_TCXO true
|
||||||
#define HAS_PA true
|
#define HAS_PA true
|
||||||
const int pa_max_input = 3;
|
const int pa_max_input = 3;
|
||||||
|
|
||||||
#define HAS_RF_SWITCH_RX_TX false
|
#define HAS_RF_SWITCH_RX_TX true
|
||||||
const int pin_rxen = 21;
|
const int pin_rxen = 21;
|
||||||
const int pin_txen = 10;
|
const int pin_txen = 10;
|
||||||
|
|
||||||
@ -619,6 +620,7 @@
|
|||||||
|
|
||||||
// Following pins are for the sx1262
|
// Following pins are for the sx1262
|
||||||
const int pin_rxen = 37;
|
const int pin_rxen = 37;
|
||||||
|
const int pin_txen = -1;
|
||||||
const int pin_reset = 38;
|
const int pin_reset = 38;
|
||||||
const int pin_cs = 42;
|
const int pin_cs = 42;
|
||||||
const int pin_sclk = 43;
|
const int pin_sclk = 43;
|
||||||
|
@ -174,7 +174,7 @@ mf.write(help_redirect)
|
|||||||
mf.close()
|
mf.close()
|
||||||
|
|
||||||
def optimise_manual(path):
|
def optimise_manual(path):
|
||||||
pm = 56
|
pm = 45
|
||||||
scale_imgs = [
|
scale_imgs = [
|
||||||
("_images/board_rnodev2.png", pm),
|
("_images/board_rnodev2.png", pm),
|
||||||
("_images/board_rnode.png", pm),
|
("_images/board_rnode.png", pm),
|
||||||
|
2
Makefile
2
Makefile
@ -244,7 +244,7 @@ upload-heltec-t114:
|
|||||||
|
|
||||||
release: release-all
|
release: release-all
|
||||||
|
|
||||||
release-all: console-site spiffs-image release-rnode release-tbeam release-tbeam_sx1262 release-lora32_v10 release-lora32_v20 release-lora32_v21 release-lora32_v10_extled release-lora32_v20_extled release-lora32_v21_extled release-lora32_v21_tcxo release-featheresp32 release-genericesp32 release-heltec32_v2 release-heltec32_v3 release-heltec32_v2_extled release-rnode_ng_20 release-rnode_ng_21 release-t3s3 release-t3s3_sx127x release-t3s3_sx1280_pa release-tdeck release-tbeam_supreme release-rak4631 release-hashes
|
release-all: console-site spiffs-image release-tbeam release-tbeam_sx1262 release-lora32_v10 release-lora32_v20 release-lora32_v21 release-lora32_v10_extled release-lora32_v20_extled release-lora32_v21_extled release-lora32_v21_tcxo release-featheresp32 release-genericesp32 release-heltec32_v2 release-heltec32_v3 release-heltec32_v2_extled release-rnode_ng_20 release-rnode_ng_21 release-t3s3 release-t3s3_sx127x release-t3s3_sx1280_pa release-tdeck release-tbeam_supreme release-rak4631 release-hashes
|
||||||
|
|
||||||
release-hashes:
|
release-hashes:
|
||||||
python ./release_hashes.py > ./Release/release.json
|
python ./release_hashes.py > ./Release/release.json
|
||||||
|
Binary file not shown.
@ -160,11 +160,11 @@ bool sx128x::preInit() {
|
|||||||
|
|
||||||
// todo: check if this change causes issues on any platforms
|
// todo: check if this change causes issues on any platforms
|
||||||
#if MCU_VARIANT == MCU_ESP32
|
#if MCU_VARIANT == MCU_ESP32
|
||||||
if (pin_sclk != -1 && pin_miso != -1 && pin_mosi != -1 && pin_cs != -1) {
|
#if BOARD_MODEL == BOARD_RNODE_NG_22 || BOARD_MODEL == BOARD_HELTEC32_V3 || BOARD_MODEL == BOARD_TDECK
|
||||||
SPI.begin(pin_sclk, pin_miso, pin_mosi, pin_cs);
|
SPI.begin(pin_sclk, pin_miso, pin_mosi, pin_cs);
|
||||||
} else {
|
#else
|
||||||
SPI.begin();
|
SPI.begin();
|
||||||
}
|
#endif
|
||||||
#else
|
#else
|
||||||
SPI.begin();
|
SPI.begin();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user