Add RAK WisMesh Pocket V3 variant (rak_wismesh_pocket env) (#10953)

This commit is contained in:
Ethac.chen
2026-07-16 07:02:57 -05:00
committed by GitHub
parent de0380c18b
commit deea7be89b
2 changed files with 27 additions and 1 deletions
+12 -1
View File
@@ -231,6 +231,11 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
#define PIN_3V3_EN (34)
#define WB_IO2 PIN_3V3_EN
#if defined(WISMESH_POCKET)
// Pocket v3: P1.02 (GPIO 34) = GPS_PWR_EN
#define PIN_GPS_EN PIN_3V3_EN
#endif
// RAK1910 GPS module
// If using the wisblock GPS module and pluged into Port A on WisBlock base
// IO1 is hooked to PPS (pin 12 on header) = gpio 17
@@ -253,9 +258,11 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
#define PIN_BUZZER 21 // IO3 is PWM2
// NEW: set this via protobuf instead!
// RAK4631 custom ringtone
// RAK4631 custom ringtone (but not for Pocket - it uses the default ringtone)
#ifndef WISMESH_POCKET
#undef USERPREFS_RINGTONE_RTTTL
#define USERPREFS_RINGTONE_RTTTL "Rak:d=32,o=5,b=200:b7,p,b7,4p,p"
#endif
// Battery
// The battery sense is hooked to pin A0 (5)
@@ -282,7 +289,11 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
// VDD=3.3V AIN3=6/8*VDD=2.47V VBAT=1.66*AIN3=4.1V
#define BATTERY_LPCOMP_THRESHOLD NRF_LPCOMP_REF_SUPPLY_11_16
#if defined(WISMESH_POCKET)
#define HAS_ETHERNET 0
#else
#define HAS_ETHERNET 1
#endif
#define RAK_4631 1