Skip to content

Commit e3136cf

Browse files
committed
Bump dependencies
1 parent 6e0822f commit e3136cf

File tree

5 files changed

+96
-26
lines changed

5 files changed

+96
-26
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
~/.platformio/.cache
2828
key: ${{ runner.os }}-pio
2929

30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v6
3131
with:
32-
python-version: "3.13"
32+
python-version: "3.14"
3333

3434
- name: Install PlatformIO Core
3535
run: pip install platformio==6.1.18

GEMINI.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Project Overview
2+
3+
This repository contains community-supported firmware for the Tidbyt hardware, designed to be built with PlatformIO and the ESP-IDF framework. The firmware enables the device to display WebP images fetched from a URL or received via a WebSocket connection. It supports different Tidbyt hardware generations (Gen1, Gen2, S3) and other ESP32-based matrix displays.
4+
5+
The firmware can be configured via a `secrets.json` file to connect to a WiFi network and a specified URL for image data. It also provides a WiFi configuration portal for easy setup.
6+
7+
# Building and Running
8+
9+
## Prerequisites
10+
11+
- [PlatformIO Core](https://docs.platformio.org/en/latest/core/installation/index.html)
12+
13+
## Configuration
14+
15+
1. Copy `secrets.json.example` to `secrets.json`.
16+
2. Edit `secrets.json` with your WiFi credentials and the URL for the image data.
17+
18+
```json
19+
{
20+
"WIFI_SSID": "myssiD",
21+
"WIFI_PASSWORD": "<PASSWORD>",
22+
"REMOTE_URL": "http://homeServer.local:8000/admin/tronbyt_1/next",
23+
"REFRESH_INTERVAL_SECONDS": 10,
24+
"DEFAULT_BRIGHTNESS" : 30
25+
}
26+
```
27+
28+
## Building
29+
30+
To build the firmware, use the `pio run` command with the appropriate environment for your hardware.
31+
32+
- **Tidbyt Gen1:**
33+
```bash
34+
pio run --environment tidbyt-gen1
35+
```
36+
- **Tidbyt Gen2:**
37+
```bash
38+
pio run --environment tidbyt-gen2
39+
```
40+
41+
## Flashing
42+
43+
To flash the firmware to the device, use the `--target upload` flag.
44+
45+
- **Tidbyt Gen1:**
46+
```bash
47+
pio run --environment tidbyt-gen1 --target erase --target upload
48+
```
49+
- **Tidbyt Gen2:**
50+
```bash
51+
pio run --environment tidbyt-gen2 --target erase --target upload
52+
```
53+
54+
## Monitoring
55+
56+
To monitor the device's logs, use the `pio device monitor` command:
57+
58+
```bash
59+
pio device monitor
60+
```
61+
62+
# Development Conventions
63+
64+
- The project uses PlatformIO for building, flashing, and monitoring.
65+
- Dependencies are managed in `platformio.ini` and are fetched from GitHub.
66+
- The firmware is written in C/C++ and uses the ESP-IDF framework.
67+
- Configuration is managed through a `secrets.json` file.
68+
- Different hardware configurations are managed through PlatformIO environments.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ If using tronbyt_manager in docker replace the ip address to the docker host's i
2929

3030
```
3131
{
32-
"WIFI_SSID": "myssiD",
32+
"WIFI_SSID": "myssid",
3333
"WIFI_PASSWORD": "<PASSWORD>",
34-
"REMOTE_URL=": "http://homeServer.local:8000/admin/tronbyt_1/next",
34+
"REMOTE_URL": "http://homeServer.local:8000/admin/tronbyt_1/next",
3535
"REFRESH_INTERVAL_SECONDS": 10,
3636
"DEFAULT_BRIGHTNESS" : 30
3737
}

platformio.ini

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ build_flags =
4141
-D HTTP_BUFFER_SIZE_MAX=460000
4242
-D HTTP_BUFFER_SIZE_DEFAULT=100000
4343
lib_deps =
44-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
45-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
44+
https://github.com/webmproject/libwebp.git#v1.6.0
45+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
4646

4747
[env:tidbyt-gen1_swap]
4848
board = tidbyt
@@ -56,8 +56,8 @@ build_flags =
5656
-D HTTP_BUFFER_SIZE_MAX=460000
5757
-D HTTP_BUFFER_SIZE_DEFAULT=100000
5858
lib_deps =
59-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
60-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
59+
https://github.com/webmproject/libwebp.git#v1.6.0
60+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
6161

6262
[env:tidbyt-gen1-patched]
6363
board = tidbyt
@@ -70,8 +70,8 @@ build_flags =
7070
-D HTTP_BUFFER_SIZE_MAX=460000
7171
-D HTTP_BUFFER_SIZE_DEFAULT=100000
7272
lib_deps =
73-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
74-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
73+
https://github.com/webmproject/libwebp.git#v1.6.0
74+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
7575
extra_scripts =
7676
pre:extra_scripts/pre.py
7777
post:extra_scripts/post.py
@@ -90,8 +90,8 @@ build_flags =
9090
-D HTTP_BUFFER_SIZE_MAX=460000
9191
-D HTTP_BUFFER_SIZE_DEFAULT=100000
9292
lib_deps =
93-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
94-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
93+
https://github.com/webmproject/libwebp.git#v1.6.0
94+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
9595
extra_scripts =
9696
pre:extra_scripts/pre.py
9797
post:extra_scripts/post.py
@@ -125,8 +125,8 @@ build_flags =
125125
-D HTTP_BUFFER_SIZE_MAX=460000
126126
-D HTTP_BUFFER_SIZE_DEFAULT=100000
127127
lib_deps =
128-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
129-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
128+
https://github.com/webmproject/libwebp.git#v1.6.0
129+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
130130

131131
[env:tidbyt-gen2-patched]
132132
board = gen2
@@ -142,8 +142,8 @@ build_flags =
142142
-D HTTP_BUFFER_SIZE_MAX=460000
143143
-D HTTP_BUFFER_SIZE_DEFAULT=100000
144144
lib_deps =
145-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
146-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
145+
https://github.com/webmproject/libwebp.git#v1.6.0
146+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
147147
extra_scripts =
148148
pre:extra_scripts/pre.py
149149
post:extra_scripts/post.py
@@ -178,8 +178,8 @@ build_flags =
178178
-D BOOT_WEBP_PARROT ; smaller size boot for pixoticker
179179

180180
lib_deps =
181-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
182-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
181+
https://github.com/webmproject/libwebp.git#v1.6.0
182+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
183183

184184

185185

@@ -209,8 +209,8 @@ build_flags =
209209
-Wno-deprecated-declarations
210210
-Wno-missing-field-initializers
211211
lib_deps =
212-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
213-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
212+
https://github.com/webmproject/libwebp.git#v1.6.0
213+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
214214

215215

216216
; __ __ _ _ _____ _ _ _____ ____
@@ -234,8 +234,8 @@ build_flags =
234234
-D HTTP_BUFFER_SIZE_MAX=460000
235235
-D HTTP_BUFFER_SIZE_DEFAULT=100000
236236
lib_deps =
237-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
238-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327 ; commit as of 20250320
237+
https://github.com/webmproject/libwebp.git#v1.6.0
238+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
239239

240240

241241
; __ __ _ _ _____ _ _ _____ ____ __ __ _
@@ -259,8 +259,8 @@ build_flags =
259259
-D HTTP_BUFFER_SIZE_MAX=220000
260260
-D HTTP_BUFFER_SIZE_DEFAULT=100000
261261
lib_deps =
262-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
263-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327
262+
https://github.com/webmproject/libwebp.git#v1.6.0
263+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
264264

265265

266266
; _______ _ _____ ____ __ ___ _
@@ -289,7 +289,7 @@ build_flags =
289289
-Wno-deprecated-declarations
290290
-Wno-missing-field-initializers
291291
lib_deps =
292-
https://github.com/webmproject/libwebp.git#1d86819f49edc8237fa2b844543081bcb8ef8a92
293-
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#aed04adfcda1838bf85c629a8c3b560919b3a327
292+
https://github.com/webmproject/libwebp.git#v1.6.0
293+
https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#3ab92adc07a21d19de317cc8f7053539b0afefd7 ; commit as of 2025-11-13
294294
;###################################################################################
295295
;###################################################################################

src/display.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ int display_initialize() {
148148
1, // chain length
149149
pins, // pin mapping
150150
HUB75_I2S_CFG::FM6126A, // driver chip
151+
HUB75_I2S_CFG::TYPE138, // line driver
151152
true, // double-buffering
152153
HUB75_I2S_CFG::HZ_10M, // clock speed
153154
1, // latch blanking
@@ -159,6 +160,7 @@ int display_initialize() {
159160
1, // chain length
160161
pins, // pin mapping
161162
HUB75_I2S_CFG::FM6126A, // driver chip
163+
HUB75_I2S_CFG::TYPE138, // line driver
162164
true, // double-buffering
163165
HUB75_I2S_CFG::HZ_10M, // clock speed
164166
1, // latch blanking

0 commit comments

Comments
 (0)