Change model code for T3S3 SX1280 w/ PA
This commit is contained in:
parent
bf2ea2ebb4
commit
c4259d9b6c
3
Boards.h
3
Boards.h
@ -81,7 +81,8 @@
|
|||||||
#define BOARD_T3S3 0x42 // T3S3 - sold by LilyGO
|
#define BOARD_T3S3 0x42 // T3S3 - sold by LilyGO
|
||||||
#define MODEL_A1 0xA1 // T3S3 SX1262 868/915 MHz
|
#define MODEL_A1 0xA1 // T3S3 SX1262 868/915 MHz
|
||||||
#define MODEL_AB 0xAB // T3S3 SX1276 868/915 MHz
|
#define MODEL_AB 0xAB // T3S3 SX1276 868/915 MHz
|
||||||
#define MODEL_A5 0xA5 // T3S3 SX1280 PA (2.4GHz)
|
#define MODEL_A5 0xA5 // T3S3 SX1278 433 MHz
|
||||||
|
#define MODEL_AB 0xAB // T3S3 SX1280 2.4 GHz w/ PA
|
||||||
|
|
||||||
#define PRODUCT_TECHO 0x15 // LilyGO T-Echo devices
|
#define PRODUCT_TECHO 0x15 // LilyGO T-Echo devices
|
||||||
#define BOARD_TECHO 0x43
|
#define BOARD_TECHO 0x43
|
||||||
|
2
Makefile
2
Makefile
@ -94,7 +94,7 @@ firmware-t3s3_sx126x:
|
|||||||
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xA1\""
|
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xA1\""
|
||||||
|
|
||||||
firmware-t3s3_sx1280_pa:
|
firmware-t3s3_sx1280_pa:
|
||||||
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xA5\""
|
arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc" $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x42\" \"-DBOARD_VARIANT=0xAB\""
|
||||||
|
|
||||||
firmware-e22_esp32:
|
firmware-e22_esp32:
|
||||||
arduino-cli compile --fqbn esp32:esp32:esp32 $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x44\" \"-DEXTERNAL_LEDS=true\""
|
arduino-cli compile --fqbn esp32:esp32:esp32 $(COMMON_BUILD_FLAGS) --build-property "compiler.cpp.extra_flags=\"-DBOARD_MODEL=0x44\" \"-DEXTERNAL_LEDS=true\""
|
||||||
|
@ -2346,7 +2346,7 @@ void sx128x::setTxPower(int level, int outputPin) {
|
|||||||
|
|
||||||
executeOpcode(OP_TX_PARAMS_8X, tx_buf, 2);
|
executeOpcode(OP_TX_PARAMS_8X, tx_buf, 2);
|
||||||
|
|
||||||
#elif BOARD_VARIANT == MODEL_A5
|
#elif BOARD_VARIANT == MODEL_AB
|
||||||
// T3S3 SX1280 PA
|
// T3S3 SX1280 PA
|
||||||
if (level > 20) {
|
if (level > 20) {
|
||||||
level = 20;
|
level = 20;
|
||||||
|
Loading…
Reference in New Issue
Block a user