Skip to content

Commit ad46309

Browse files
authored
Sd vector (#226)
* Api * Search and destroy * . * star in menus * bit polishing * vector * fix SD Listings * touch pages are not aligned yet * p4 and menus * reduced flickering on menus, files and lists * tab5 boot * keyboard improvements * keyboard * Online processesing improvements and fixes * menus * del extra char * external file install * Enable favorite * Attach backup to file * update readme and partitions * affiliate links * T-HMI port and Tab5 UIFlow2.0 support * . * Fix codex suggestions * fix codex sugestions
1 parent fb18416 commit ad46309

66 files changed

Lines changed: 7017 additions & 2263 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@
8585
family: "ESP32-S3",
8686
env: "m5stack-cores3",
8787
}
88+
- {
89+
vendor: "M5Stack",
90+
name: "Tab5",
91+
description: "",
92+
link: "https://shop.m5stack.com/products/m5stack-tab5-iot-development-kit-esp32-p4?ref=Pirata",
93+
family: "ESP32-P4",
94+
env: "m5stack-tab5",
95+
}
8896
- {
8997
vendor: "Espressif",
9098
name: "ESP32-S3-4mb",
@@ -249,79 +257,87 @@
249257
vendor: "Lilygo",
250258
name: "T-Dongle S3 (tft)",
251259
description: "(single press, double press and long press logic)",
252-
link: "https://lilygo.cc/products/t-dongle-s3?srsltid=AfmBOopwCcPQTTC4wTNi3rNZHn8W6g8Yo_ShcrfDiAfECS6tGq59vWo7",
260+
link: "https://www.lilygo.cc/products/t-dongle-s3?bg_ref=sDI8Bh4HmO",
253261
family: "ESP32-S3",
254262
env: "lilygo-t-dongle-s3-tft",
255263
}
256264
- {
257265
vendor: "Lilygo",
258266
name: "T-Display-S3",
259267
description: "Touch and no touch (single press and longpress logic on both buttons )",
260-
link: "https://lilygo.cc/products/t-display-s3?_pos=1&_sid=d7b2ebc22&_ss=r&variant=42589373268149",
268+
link: "https://www.lilygo.cc/products/t-display-s3?bg_ref=sDI8Bh4HmO",
261269
family: "ESP32-S3",
262270
env: "lilygo-t-display-S3-touch",
263271
}
264272
- {
265273
vendor: "Lilygo",
266274
name: "T-Display_S3_PRO",
267275
description: "",
268-
link: "https://lilygo.cc/products/t-display-s3?_pos=1&_sid=d7b2ebc22&_ss=r&variant=42589373268149",
276+
link: "https://www.lilygo.cc/products/t-display-s3-pro?bg_ref=sDI8Bh4HmO",
269277
family: "ESP32-S3",
270278
env: "lilygo-t-display-S3-pro",
271279
}
272280
- {
273281
vendor: "Lilygo",
274282
name: "T-Embed",
275283
description: "",
276-
link: "https://lilygo.cc/products/t-embed",
284+
link: "https://www.lilygo.cc/products/t-embed?bg_ref=sDI8Bh4HmO",
277285
family: "ESP32-S3",
278286
env: "lilygo-t-embed",
279287
}
280288
- {
281289
vendor: "Lilygo",
282290
name: "T-Embed_CC1101",
283291
description: "(Transparent version)",
284-
link: "https://lilygo.cc/products/t-embed-cc1101",
292+
link: "https://www.lilygo.cc/products/t-embed-cc1101-plus?bg_ref=sDI8Bh4HmO",
285293
family: "ESP32-S3",
286294
env: "lilygo-t-embed-cc1101",
287295
}
288296
- {
289297
vendor: "Lilygo",
290298
name: "T-LoRa-Pager",
291299
description: "",
292-
link: "https://lilygo.cc/products/t-lora-pager",
300+
link: "https://www.lilygo.cc/products/t-lora-pager-meshtastic?bg_ref=sDI8Bh4HmO",
293301
family: "ESP32-S3",
294302
env: "lilygo-t-lora-pager",
295303
}
296304
- {
297305
vendor: "Lilygo",
298306
name: "T-Deck",
299307
description: "(Normal and Plus)",
300-
link: "https://lilygo.cc/products/t-deck",
308+
link: "https://www.lilygo.cc/products/t-deck-plus-ca?bg_ref=sDI8Bh4HmO",
301309
family: "ESP32-S3",
302310
env: "lilygo-t-deck",
303311
}
304312
- {
305313
vendor: "Lilygo",
306314
name: "T-Deck Pro",
307315
description: "e-Paper display",
308-
link: "https://lilygo.cc/products/t-deck-pro",
316+
link: "https://www.lilygo.cc/products/t-deck-pro-meshtastic?bg_ref=sDI8Bh4HmO",
309317
family: "ESP32-S3",
310318
env: "lilygo-t-deck-pro",
311319
}
312320
- {
313321
vendor: "Lilygo",
314322
name: "T5_E-Paper_S3_Pro",
315323
description: "(H752 hardware v1.0-240810)",
316-
link: "https://lilygo.cc/products/t5-e-paper-s3-pro",
324+
link: "https://www.lilygo.cc/products/t5-e-paper-s3-pro?bg_ref=sDI8Bh4HmO",
317325
family: "ESP32-S3",
318326
env: "lilygo-t5-epaper-s3-pro",
319327
}
328+
- {
329+
vendor: "Lilygo",
330+
name: "T-HMI",
331+
description: "",
332+
link: "https://www.lilygo.cc/products/t-hmi?bg_ref=sDI8Bh4HmO",
333+
family: "ESP32-S3",
334+
env: "lilygo-t-hmi",
335+
}
320336
- {
321337
vendor: "WIP",
322338
name: "T-Display-S3 AMOLED Plus",
323339
description: "",
324-
link: "https://lilygo.cc/products/t-display-s3-amoled",
340+
link: "https://www.lilygo.cc/products/t-display-s3-amoled-plus?bg_ref=sDI8Bh4HmO",
325341
family: "ESP32-S3",
326342
env: "lilygo-t-display-S3-amoled",
327343
}

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// See http://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
5+
"pioarduino.pioarduino-ide",
56
"platformio.platformio-ide"
67
],
78
"unwantedRecommendations": [

.vscode/settings.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,42 @@
7373
"thread": "cpp",
7474
"numbers": "cpp",
7575
"compare": "cpp",
76-
"print": "cpp"
76+
"print": "cpp",
77+
"any": "cpp",
78+
"barrier": "cpp",
79+
"bit": "cpp",
80+
"cfenv": "cpp",
81+
"charconv": "cpp",
82+
"codecvt": "cpp",
83+
"concepts": "cpp",
84+
"coroutine": "cpp",
85+
"csetjmp": "cpp",
86+
"csignal": "cpp",
87+
"cuchar": "cpp",
88+
"forward_list": "cpp",
89+
"expected": "cpp",
90+
"netfwd": "cpp",
91+
"source_location": "cpp",
92+
"rope": "cpp",
93+
"slist": "cpp",
94+
"format": "cpp",
95+
"future": "cpp",
96+
"generator": "cpp",
97+
"latch": "cpp",
98+
"ranges": "cpp",
99+
"scoped_allocator": "cpp",
100+
"semaphore": "cpp",
101+
"shared_mutex": "cpp",
102+
"span": "cpp",
103+
"spanstream": "cpp",
104+
"stacktrace": "cpp",
105+
"stdfloat": "cpp",
106+
"stop_token": "cpp",
107+
"syncstream": "cpp",
108+
"text_encoding": "cpp",
109+
"typeindex": "cpp",
110+
"valarray": "cpp",
111+
"variant": "cpp"
77112
},
78113
"files.trimTrailingWhitespace": true,
79114
"files.insertFinalNewline": true,

README.md

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,49 @@ Join our [Discord community](https://discord.gg/BE9by2a2FF)
7474

7575
## To-Do list
7676
Things that needs to be done in next updates
77-
* [ ] OTA Pagination (multiple firmware list files)
7877
* [ ] LVGL for e-paper displays
7978
* [ ] Move to ESP-IDF Platform
8079

81-
<details>
82-
<summary><h2>Changelog</h2></summary>
8380

84-
* 2.5.4:
85-
* [x] Add support to direct link install (edit config.conf, enable dev_mode, put your firmware bin [without partitions and bootloader] and install from CFG>Direct Link install ). Made to use Github Codespaces open port to test firmware
81+
## Latest Changelog
82+
83+
* 2.6.0:
84+
* [x] Pulling data from my new api, integrating all devices list with m5burner api and counting downloads into the m5burner database.
85+
* [x] OTA Pagination (pages of 100 firmware ordered by download-default)
86+
* [x] New Device: [M5Stack Tab5](https://shop.m5stack.com/products/m5stack-tab5-iot-development-kit-esp32-p4?ref=Pirata).
87+
* [x] New Device: [Lilygo T-HMI](https://www.lilygo.cc/products/t-hmi?bg_ref=sDI8Bh4HmO)
88+
* [x] New Feature: Backup SPIFFS/FAT now prompts to merge data into a chosen binary, so you can install firmware and data choosign `SPIFFS Yes` on install and backup B Binaries now have incremental names.
89+
* [x] New Feature: Added Filter and ordering to the fimware list.
90+
* [x] New Feature: Added *Starred* firmware list (controlled by me.. support the project to have yout firmware into the starred list.).
91+
* [x] New Feature: Added "Favorite" (Need SD Card), where you an add the firmwares from the OTA list, or Manually add your binary links from your local server or whatever.
92+
* [x] config.conf changes:
93+
```
94+
...
95+
"favorite": [
96+
{ // Example of firmware added into Favorites through OTA function
97+
"name": "Evil-Cardputer-7h30th3r0n3",
98+
"fid": "2128851a0c98a4c1d15ac1a327b49812",
99+
"link": ""
100+
},
101+
{ // Example of my custom link file added manually editiing this file
102+
"name": "Launcher Beta link",
103+
"fid": "", // leave it blank
104+
"link": "https://github.com/bmorcelli/Launcher/releases/download/beta/Launcher-m5stack-cardputer.bin"
105+
},
106+
{
107+
"name": "Bruce Beta link",
108+
"fid": "",
109+
"link": "https://github.com/pr3y/Bruce/releases/download/betaRelease/Bruce-m5stack-cardputer.bin"
110+
},
111+
],
112+
"c0:4e:30:13:8d:f4": 1, // Rotation is now bound to hardware MAC
113+
...
114+
115+
```
116+
117+
118+
<details>
119+
<summary><h2>Older Changelogs</h2></summary>
86120

87121
* 2.5.3:
88122
* [x] Restored T-Deck OTA

boards/CYD-2432S028/interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void _post_setup_gpio() {
143143
// Brightness control must be initialized after tft in this case @Pirata
144144
pinMode(TFT_BL, OUTPUT);
145145
ledcAttach(TFT_BL, TFT_BRIGHT_FREQ, TFT_BRIGHT_Bits);
146-
ledcWrite(TFT_BRIGHT_CHANNEL, 255);
146+
ledcWrite(TFT_BL, 255);
147147

148148
if (!touch.begin(
149149
#ifdef CYD28_TouchR_MOSI

boards/CYD-2432S028/platformio.ini

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ build_src_filter =${env.build_src_filter} +<../boards/CYD-2432S028>
1919
build_flags =
2020
${env.build_flags}
2121
-Iboards/CYD-2432S028
22+
-DOTA_TAG='"CYD"'
2223
-DHAS_TOUCH=1
2324
-DPART_04MB=1
2425
-DCYD
@@ -55,33 +56,33 @@ lib_deps =
5556
##################################### CYD MODELS ####################################################
5657
[env:CYD-2432S028]
5758
extends=CYD_Base
58-
board_build.partitions = support_files/custom_4Mb2.csv
59+
board_build.partitions = support_files/custom_4Mb.csv
5960
build_flags =
6061
${CYD_Base.build_flags}
61-
-D JSON_SOURCE_PATH='"https://raw.githubusercontent.com/bmorcelli/M5Stack-json-fw/main/3rd/r/CYD.json"'
62+
6263
-DTFT_BL=21
6364
build_unflags =
6465
-DDISABLE_OTA
6566

6667
[env:CYD-2-USB]
6768
extends=env:CYD-2432S028
68-
board_build.partitions = support_files/custom_4Mb2.csv
69+
board_build.partitions = support_files/custom_4Mb.csv
6970
build_flags =
7071
${env:CYD-2432S028.build_flags}
7172
-DTFT_INVERSION_ON
72-
-D JSON_SOURCE_PATH='"https://raw.githubusercontent.com/bmorcelli/M5Stack-json-fw/main/3rd/r/CYD.json"'
73+
7374
build_unflags =
7475
-DDISABLE_OTA
7576

7677
[env:CYD-2432W328C]
7778
extends = CYD_Base
78-
board_build.partitions = support_files/custom_4Mb2.csv
79+
board_build.partitions = support_files/custom_4Mb.csv
7980
build_flags =
8081
${CYD_Base.build_flags}
8182
-DTFT_INVERSION_ON
8283
-DTFT_BL=27
8384
-DHAS_CAPACITIVE_TOUCH=1
84-
-D JSON_SOURCE_PATH='"https://raw.githubusercontent.com/bmorcelli/M5Stack-json-fw/main/3rd/r/CYD.json"'
85+
8586
build_unflags =
8687
-DDISABLE_OTA
8788

@@ -92,7 +93,7 @@ build_unflags =
9293

9394
[env:CYD-2432S024R]
9495
extends = CYD_Base
95-
board_build.partitions = support_files/custom_4Mb2.csv
96+
board_build.partitions = support_files/custom_4Mb.csv
9697
board = esp32-2432S024R
9798
build_flags =
9899
${CYD_Base.build_flags}
@@ -108,13 +109,13 @@ build_flags =
108109

109110
-DTFT_INVERSION_ON # TFT is not color inverted
110111
-DTFT_BL=27
111-
-D JSON_SOURCE_PATH='"https://raw.githubusercontent.com/bmorcelli/M5Stack-json-fw/main/3rd/r/CYD.json"'
112+
112113
build_unflags =
113114
-DDISABLE_OTA
114115

115116
[env:CYD-2432W328R]
116117
extends = CYD_Base
117-
board_build.partitions = support_files/custom_4Mb2.csv
118+
board_build.partitions = support_files/custom_4Mb.csv
118119
build_flags =
119120
${CYD_Base.build_flags}
120121
-DDONT_USE_INPUT_TASK=1
@@ -135,7 +136,7 @@ build_flags =
135136

136137
-DTFT_INVERSION_ON # TFT is not color inverted
137138
-DTFT_BL=27
138-
-D JSON_SOURCE_PATH='"https://raw.githubusercontent.com/bmorcelli/M5Stack-json-fw/main/3rd/r/CYD.json"'
139+
139140
build_unflags =
140141
-DDISABLE_OTA
141142
################################# END OF CYD MODELS ####################################################
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32s3_out.ld",
5+
"memory_type": "qio_opi",
6+
"partitions": "default_16MB.csv"
7+
},
8+
"core": "esp32",
9+
"extra_flags": [
10+
"-DBOARD_HAS_PSRAM",
11+
"-DARDUINO_USB_CDC_ON_BOOT",
12+
"-DARDUINO_USB_MODE=1",
13+
"-DARDUINO_RUNNING_CORE=1",
14+
"-DARDUINO_EVENT_RUNNING_CORE=1",
15+
"-DLILYGO_T_HMI"
16+
],
17+
"f_cpu": "240000000L",
18+
"f_flash": "80000000L",
19+
"flash_mode": "qio",
20+
"hwids": [
21+
[
22+
"0X303A",
23+
"0x1001"
24+
]
25+
],
26+
"mcu": "esp32s3",
27+
"variant": "pinouts"
28+
},
29+
"connectivity": [
30+
"wifi",
31+
"bluetooth"
32+
],
33+
"debug": {
34+
"openocd_target": "esp32s3.cfg"
35+
},
36+
"frameworks": [
37+
"arduino",
38+
"espidf"
39+
],
40+
"name": "LILYGO T-HMI",
41+
"upload": {
42+
"flash_size": "16MB",
43+
"maximum_ram_size": 327680,
44+
"maximum_size": 16777216,
45+
"require_upload_port": true,
46+
"speed": 921600
47+
},
48+
"url": "https://www.adafruit.com/product/5290",
49+
"vendor": "LILYGO"
50+
}

boards/elecrow/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ build_flags =
1818
-DPART_04MB=1
1919
-DELECROW
2020
# Definições gerais
21+
-DOTA_TAG='"elecrow"'
2122
-DDISABLE_OTA
2223

2324
# Configurações de hardware

boards/lilygo-t-deck-pro/interface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ void InputHandler(void) {
377377
if (keyVal == KEY_BACKSPACE) {
378378
KeyStroke.del = true;
379379
EscPress = true;
380+
KeyStroke.exit_key = true;
380381
} else if (keyVal == KEY_ENTER) {
381382
KeyStroke.enter = true;
382383
SelPress = true;

boards/lilygo-t-deck-pro/platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ build_flags =
1717
${env.build_flags}
1818
-Iboards/lilygo-t-deck-pro
1919
-DDISABLE_OTA
20+
-DOTA_TAG='"t-deck-pro"'
2021
-DE_PAPER_DISPLAY=1
2122

2223
;-DPART_04MB =0

0 commit comments

Comments
 (0)