Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
aa6c4b4
Add BW16 5GHz Deauth feature to main menu.
google-labs-jules[bot] Feb 13, 2026
b4a6554
Merge pull request #1 from Valzzsxs/feature/bw16-5g-deauth-7292189357…
Valzzsxs Feb 13, 2026
60726ee
Clean up board configurations in build_parallel.yml
Valzzsxs Feb 13, 2026
73214d4
Update platformio.ini to enable specific environments
Valzzsxs Feb 13, 2026
a24c6b5
Adjust text positioning in BW16Menu
Valzzsxs Feb 13, 2026
c0d9952
Improve BW16 menu icon with 5G signal graphic
google-labs-jules[bot] Feb 14, 2026
ea177d2
Merge pull request #2 from Valzzsxs/bw16-menu-icon-10283238588886571120
Valzzsxs Feb 14, 2026
cde396e
Add DEAUTH_ALL command support for BW16 module
google-labs-jules[bot] Feb 15, 2026
a0c2625
Merge pull request #3 from Valzzsxs/bw16-deauth-all-support-732071193…
Valzzsxs Feb 15, 2026
43d4efb
Refactor icon drawing in BW16Menu::drawIcon
Valzzsxs Feb 16, 2026
a8e7cfe
Adjust text size for '5G' and 'Hz' in BW16Menu
Valzzsxs Feb 16, 2026
7b63e78
Update CC1101 pin definitions for marauder-mini
Valzzsxs Feb 16, 2026
69df2b7
Update pin definitions for CC1101 and NRF24
Valzzsxs Feb 16, 2026
dd3b418
Increase text size for '5G' and 'Hz' display
Valzzsxs Feb 16, 2026
dce1f9b
Change NRF24_CE_PIN from 26 to 12
Valzzsxs Feb 16, 2026
4bcb50a
Increase text size for '5G' display
Valzzsxs Feb 16, 2026
8b9a5b9
Update buil_parallel.yml
Valzzsxs Feb 18, 2026
708f5a9
Update platformio.ini
Valzzsxs Feb 18, 2026
b146f21
Fix header guard and minor formatting changes
Valzzsxs Feb 20, 2026
44e5533
Update board configuration in build workflow
Valzzsxs Feb 21, 2026
5761796
Uncomment smoochiee-board and LAUNCHER_Marauder-Mini
Valzzsxs Feb 21, 2026
3a8f2dd
Update platformio.ini
Valzzsxs Feb 21, 2026
7177559
Update platformio.ini
Valzzsxs Feb 21, 2026
222b4ad
Remove duplicate board entry in build workflow
Valzzsxs Feb 21, 2026
0d6018f
Uncomment LAUNCHER_Marauder-Mini in platformio.ini
Valzzsxs Feb 21, 2026
577bbd3
Add LAUNCHER_Marauder-Mini to build matrix
Valzzsxs Feb 21, 2026
8337af5
Change display rotation and button assignments
Valzzsxs Feb 24, 2026
638826f
Update platformio.ini
Valzzsxs Feb 24, 2026
24b7aef
Add new board configuration to build matrix
Valzzsxs Feb 24, 2026
833f538
Change partition file to custom_16Mb.csv
Valzzsxs Feb 24, 2026
e0170c0
feat: Add 5s hold to power off on UP button for TTGO T-Display
google-labs-jules[bot] Feb 24, 2026
77a54a0
Merge pull request #4 from Valzzsxs/feat-power-off-5s-hold-ttgo-11082…
Valzzsxs Feb 24, 2026
efab88a
Add 5s hold-to-boot logic for Lilygo T-Display
google-labs-jules[bot] Feb 25, 2026
399598c
Merge pull request #5 from Valzzsxs/lilygo-boot-hold-1373530331069420…
Valzzsxs Feb 25, 2026
b562e2a
Update interface.cpp
Valzzsxs Feb 25, 2026
f34f225
Update lilygo-t-display-ttgo.json
Valzzsxs Feb 25, 2026
7d41d96
Add 5s hold shutdown logic for TTGO T-Display UP button
google-labs-jules[bot] Feb 25, 2026
4e8e0e3
Fix glitch in TTGO shutdown hold logic by adding delay
google-labs-jules[bot] Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 2 additions & 53 deletions .github/workflows/buil_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,60 +17,9 @@ jobs:
fail-fast: false
matrix:
board:
- { env: "m5stack-cardputer", family: "ESP32-S3",}
- { env: "m5stack-sticks3", family: "ESP32-S3",}
- { env: "m5stack-cplus2", family: "ESP32",}
- { env: "m5stack-cplus1_1", family: "ESP32",}
- { env: "LAUNCHER_m5stack-cplus1_1", family: "ESP32",}
- { env: "m5stack-core2", family: "ESP32",}
- { env: "m5stack-core16mb", family: "ESP32",}
- { env: "m5stack-core4mb", family: "ESP32",}
- { env: "m5stack-cores3", family: "ESP32-S3",}
- { env: "esp32-s3-devkitc-1", family: "ESP32-S3",}
- { env: "esp32-c5", family: "ESP32-C5",}
- { env: "esp32-c5-tft", family: "ESP32-C5",}
- { env: "CYD-2432S028", family: "ESP32",}
- { env: "CYD-2USB", family: "ESP32",}
- { env: "CYD-2432W328C", family: "ESP32",}
- { env: "CYD-2432W328C_2", family: "ESP32",}
- { env: "CYD-2432W328R-or-S024R", family: "ESP32",}
- { env: "CYD-3248S035R", family: "ESP32",}
- { env: "CYD-3248S035C", family: "ESP32",}
- { env: "LAUNCHER_CYD-2432W328R-or-S024R", family: "ESP32",}
- { env: "LAUNCHER_CYD-2432S028", family: "ESP32",}
- { env: "LAUNCHER_CYD-2USB", family: "ESP32",}
- { env: "LAUNCHER_CYD-2432W328C", family: "ESP32",}
- { env: "LAUNCHER_CYD-3248S035R", family: "ESP32",}
# - { env: "LAUNCHER_CYD-3248S035C", family: "ESP32",}
- { env: "lilygo-t-embed-cc1101", family: "ESP32-S3",}
- { env: "lilygo-t-embed", family: "ESP32-S3",}
- { env: "lilygo-t-deck", family: "ESP32-S3",}
- { env: "lilygo-t-watch-s3", family: "ESP32-S3",}
- { env: "lilygo-t-deck-pro", family: "ESP32-S3",}
- { env: "lilygo-t-display-s3", family: "ESP32-S3",}
- { env: "lilygo-t-display-s3-touch", family: "ESP32-S3",}
- { env: "lilygo-t-display-s3-mmc", family: "ESP32-S3",}
- { env: "lilygo-t-display-s3-touch-mmc", family: "ESP32-S3",}
- { env: "lilygo-t-display-S3-pro", family: "ESP32-S3",}
- { env: "lilygo-t-display-ttgo", family: "ESP32",}
- { env: "lilygo-t-hmi", family: "ESP32-S3",}
- { env: "lilygo-t-lora-pager", family: "ESP32-S3",}
- { env: "smoochiee-board", family: "ESP32-S3",}
- { env: "reaper", family: "ESP32-S3",}
- { env: "Phantom_S024R", family: "ESP32",}
- { env: "LAUNCHER_Phantom_S024R", family: "ESP32",}
- { env: "Marauder-Mini", family: "ESP32",}
- { env: "LAUNCHER_Marauder-Mini", family: "ESP32",}
- { env: "Awok-Mini", family: "ESP32",}
- { env: "Marauder-v7", family: "ESP32",}
- { env: "LAUNCHER_Marauder-v7", family: "ESP32",}
- { env: "Marauder-V4-V6", family: "ESP32",}
- { env: "Marauder-v61", family: "ESP32",}
- { env: "LAUNCHER_Marauder-V4-V6", family: "ESP32",}
- { env: "LAUNCHER_Marauder-v61", family: "ESP32",}
- { env: "Awok-Touch", family: "ESP32",}
- { env: "WaveSentry-R1", family: "ESP32",}
- { env: "LAUNCHER_WaveSentry-R1", family: "ESP32",}
- { env: "lilygo-t-display-ttgo", family: "ESP32",}


steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions boards/_boards_json/lilygo-t-display-ttgo.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"arduino",
"espidf"
],
"name": "Espressif ESP32 Dev Module",
"name": "Espressif ESP32 Dev Module (16MB)",
"upload": {
"flash_size": "4MB",
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 460800
},
Expand Down
39 changes: 39 additions & 0 deletions boards/lilygo-t-display-ttgo/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include <globals.h>
#include <interface.h>
#include "core/display.h"

volatile bool nxtPress = false;
volatile bool prvPress = false;
volatile bool ecPress = false;
Expand Down Expand Up @@ -110,6 +112,43 @@ void InputHandler(void) {
slPress = false;
}
}

// New logic for Shutdown
static unsigned long upBtnHoldStart = 0;
static bool upBtnHeldState = false;
static int lastShutdownCountdown = 0;

// Check UP_BTN (GPIO 35)
if (digitalRead(UP_BTN) == LOW) { // Pressed
if (menuOptionType == MENU_TYPE_MAIN) {
if (!upBtnHeldState) {
upBtnHoldStart = millis();
upBtnHeldState = true;
} else {
unsigned long elapsed = millis() - upBtnHoldStart;
int remaining = 5 - (elapsed / 1000);

if (remaining <= 0) {
powerOff();
} else if (remaining != lastShutdownCountdown && elapsed > 500) {
// Draw countdown
tft.setTextColor(TFT_RED, bruceConfig.bgColor);
String msg = "OFF: " + String(remaining);
tft.drawCentreString(msg.c_str(), tftWidth / 2, tftHeight / 2, 4);
lastShutdownCountdown = remaining;
}
}
}
} else {
if (upBtnHeldState) {
upBtnHeldState = false;
// Clear countdown
if (lastShutdownCountdown > 0) {
tft.fillRect(0, tftHeight / 2, tftWidth, 40, bruceConfig.bgColor);
lastShutdownCountdown = 0;
}
}
}
}

void powerOff() {
Expand Down
2 changes: 1 addition & 1 deletion boards/lilygo-t-display-ttgo/lilygo-t-display-s3.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[env:lilygo-t-display-ttgo]
board = lilygo-t-display-ttgo
board_build.partitions = custom_4Mb_full.csv
board_build.partitions = custom_16Mb.csv
build_src_filter =${env.build_src_filter} +<../boards/lilygo-t-display-ttgo>
build_flags =
${env.build_flags}
Expand Down
6 changes: 3 additions & 3 deletions boards/lilygo-t-display-ttgo/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static const uint8_t SCL = GROVE_SCL;

// Display Setup#
#define HAS_SCREEN
#define ROTATION 3
#define ROTATION 1
#define MINBRIGHT (uint8_t)1

// Font Sizes#
Expand All @@ -92,8 +92,8 @@ static const uint8_t SCL = GROVE_SCL;
// Buttons & Navigation
#define BTN_ALIAS "\"OK\""
#define HAS_3_BUTTONS
#define UP_BTN 0
#define DW_BTN 35
#define UP_BTN 35
#define DW_BTN 0
#define BTN_ACT LOW

// IR pins
Expand Down
4 changes: 2 additions & 2 deletions boards/marauder-mini/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ static const uint8_t ADC2 = 8;
#define CC1101_SCK_PIN SPI_SCK_PIN
#define CC1101_MISO_PIN SPI_MISO_PIN

#define NRF24_CE_PIN -1
#define NRF24_SS_PIN -1
#define NRF24_CE_PIN 12
#define NRF24_SS_PIN 27
#define NRF24_MOSI_PIN SPI_MOSI_PIN
#define NRF24_SCK_PIN SPI_SCK_PIN
#define NRF24_MISO_PIN SPI_MISO_PIN
Expand Down
3 changes: 2 additions & 1 deletion boards/smoochiee-board/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static const uint8_t SCK = 18;
#define USER_SETUP_LOADED 1
#define ST7789_DRIVER 1
#define TFT_RGB_ORDER 0
#define TFT_WIDTH 170
#define TFT_WIDTH 172
#define TFT_HEIGHT 320
#define TFT_BACKLIGHT_ON 1
#define TFT_BL 6
Expand Down Expand Up @@ -123,3 +123,4 @@ static const uint8_t SCK = 18;
#define IO_EXP_CC_RX 7
#define IO_EXP_CC_TX 12
#endif /* Pins_Arduino_h */

4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
default_envs =
;m5stack-cardputer
;m5stack-sticks3
m5stack-cplus2
;m5stack-cplus2
;m5stack-cplus1_1
;LAUNCHER_m5stack-cplus1_1
;m5stack-core2
Expand Down Expand Up @@ -43,7 +43,7 @@ default_envs =
;lilygo-t-display-s3-mmc
;lilygo-t-display-s3-touch-mmc
;lilygo-t-display-S3-pro
;lilygo-t-display-ttgo
lilygo-t-display-ttgo
;lilygo-t-hmi
;lilygo-t-lora-pager
;smoochiee-board
Expand Down
1 change: 1 addition & 0 deletions src/core/main_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
MainMenu::MainMenu() {
_menuItems = {
&wifiMenu,
&bw16Menu,
&bleMenu,
#if !defined(LITE_VERSION)
&ethernetMenu,
Expand Down
3 changes: 3 additions & 0 deletions src/core/main_menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "menu_items/RFMenu.h"
#include "menu_items/ScriptsMenu.h"
#include "menu_items/WifiMenu.h"
#include "menu_items/BW16Menu.h"

class MainMenu {
public:
FileMenu fileMenu;
Expand All @@ -35,6 +37,7 @@ class MainMenu {
RFMenu rfMenu;
ScriptsMenu scriptsMenu;
WifiMenu wifiMenu;
BW16Menu bw16Menu;
#if !defined(LITE_VERSION)
LoRaMenu loraMenu;
EthernetMenu ethernetMenu;
Expand Down
Loading