Skip to content
C

Release 1.7.0 with Pocket dashboard theme

YU CHIH CHANG092ac631645e
diff --git a/VERSION b/VERSION
index dc1e644..bd8bf88 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.6.0
+1.7.0
diff --git a/include/version.h b/include/version.h
index 94dc51f..53496b0 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1,3 +1,3 @@
#pragma once
-inline constexpr char GT7_DASH_VERSION[] = "1.6.0";
+inline constexpr char GT7_DASH_VERSION[] = "1.7.0";
diff --git a/installer/firmware/firmware-ili9341.bin b/installer/firmware/firmware-ili9341.bin
index 0518917..f549fee 100644
Binary files a/installer/firmware/firmware-ili9341.bin and b/installer/firmware/firmware-ili9341.bin differ
diff --git a/installer/firmware/firmware-st7789.bin b/installer/firmware/firmware-st7789.bin
index 6e0ac59..05237ba 100644
Binary files a/installer/firmware/firmware-st7789.bin and b/installer/firmware/firmware-st7789.bin differ
diff --git a/installer/manifest-st7789.json b/installer/manifest-st7789.json
index 5312acb..c6ed31c 100644
--- a/installer/manifest-st7789.json
+++ b/installer/manifest-st7789.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ST7789)",
- "version": "1.6.0",
+ "version": "1.7.0",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/manifest.json b/installer/manifest.json
index 37ca266..d0e6fa4 100644
--- a/installer/manifest.json
+++ b/installer/manifest.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ILI9341)",
- "version": "1.6.0",
+ "version": "1.7.0",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/release-notes.json b/installer/release-notes.json
index 1d3e206..a167d04 100644
--- a/installer/release-notes.json
+++ b/installer/release-notes.json
@@ -1,4 +1,10 @@
{
+ "1.7.0": [
+ "Added the Pocket dashboard theme with a Game Boy-inspired pixel interface and adaptive GT7 telemetry presentation.",
+ "Added pixel-style RPM, lap, position, timing, fuel, ABS and TCS indicators optimized for 320 x 240 displays.",
+ "Improved Pocket driving-aid redraw isolation to prevent fuel, ABS and TCS indicators from flickering together.",
+ "Refined Pocket iconography, layout spacing, typography and shift-light visibility through physical display testing."
+ ],
"1.6.0": [
"Added the Mono dashboard theme with a minimalist black-and-white digital instrument layout.",
"Added a segmented monochrome shift-light, dynamic GT7 alert marker and shift-warning pulse.",
diff --git a/installer/releases.json b/installer/releases.json
index fb3a60b..2acbb31 100644
--- a/installer/releases.json
+++ b/installer/releases.json
@@ -1,5 +1,18 @@
{
"versions": [
+ {
+ "version": "1.7.0",
+ "notes": [
+ "Added the Pocket dashboard theme with a Game Boy-inspired pixel interface and adaptive GT7 telemetry presentation.",
+ "Added pixel-style RPM, lap, position, timing, fuel, ABS and TCS indicators optimized for 320 x 240 displays.",
+ "Improved Pocket driving-aid redraw isolation to prevent fuel, ABS and TCS indicators from flickering together.",
+ "Refined Pocket iconography, layout spacing, typography and shift-light visibility through physical display testing."
+ ],
+ "manifests": {
+ "ili9341": "versions/1.7.0/manifest-ili9341.json",
+ "st7789": "versions/1.7.0/manifest-st7789.json"
+ }
+ },
{
"version": "1.6.0",
"notes": [
diff --git a/installer/versions/1.7.0/boot_app0.bin b/installer/versions/1.7.0/boot_app0.bin
new file mode 100644
index 0000000..13562ca
Binary files /dev/null and b/installer/versions/1.7.0/boot_app0.bin differ
diff --git a/installer/versions/1.7.0/bootloader.bin b/installer/versions/1.7.0/bootloader.bin
new file mode 100644
index 0000000..d592359
Binary files /dev/null and b/installer/versions/1.7.0/bootloader.bin differ
diff --git a/installer/versions/1.7.0/firmware-ili9341.bin b/installer/versions/1.7.0/firmware-ili9341.bin
new file mode 100644
index 0000000..f549fee
Binary files /dev/null and b/installer/versions/1.7.0/firmware-ili9341.bin differ
diff --git a/installer/versions/1.7.0/firmware-st7789.bin b/installer/versions/1.7.0/firmware-st7789.bin
new file mode 100644
index 0000000..05237ba
Binary files /dev/null and b/installer/versions/1.7.0/firmware-st7789.bin differ
diff --git a/installer/versions/1.7.0/manifest-ili9341.json b/installer/versions/1.7.0/manifest-ili9341.json
new file mode 100644
index 0000000..97130ac
--- /dev/null
+++ b/installer/versions/1.7.0/manifest-ili9341.json
@@ -0,0 +1,28 @@
+{
+ "name": "ESP32 GT7 Dashboard (ILI9341)",
+ "version": "1.7.0",
+ "new_install_prompt_erase": true,
+ "builds": [
+ {
+ "chipFamily": "ESP32",
+ "parts": [
+ {
+ "path": "bootloader.bin",
+ "offset": 4096
+ },
+ {
+ "path": "partitions.bin",
+ "offset": 32768
+ },
+ {
+ "path": "boot_app0.bin",
+ "offset": 57344
+ },
+ {
+ "path": "firmware-ili9341.bin",
+ "offset": 65536
+ }
+ ]
+ }
+ ]
+}
diff --git a/installer/versions/1.7.0/manifest-st7789.json b/installer/versions/1.7.0/manifest-st7789.json
new file mode 100644
index 0000000..adf56d5
--- /dev/null
+++ b/installer/versions/1.7.0/manifest-st7789.json
@@ -0,0 +1,28 @@
+{
+ "name": "ESP32 GT7 Dashboard (ST7789)",
+ "version": "1.7.0",
+ "new_install_prompt_erase": true,
+ "builds": [
+ {
+ "chipFamily": "ESP32",
+ "parts": [
+ {
+ "path": "bootloader.bin",
+ "offset": 4096
+ },
+ {
+ "path": "partitions.bin",
+ "offset": 32768
+ },
+ {
+ "path": "boot_app0.bin",
+ "offset": 57344
+ },
+ {
+ "path": "firmware-st7789.bin",
+ "offset": 65536
+ }
+ ]
+ }
+ ]
+}
diff --git a/installer/versions/1.7.0/partitions.bin b/installer/versions/1.7.0/partitions.bin
new file mode 100644
index 0000000..1954582
Binary files /dev/null and b/installer/versions/1.7.0/partitions.bin differ
diff --git a/src/SHCustomProtocol.h b/src/SHCustomProtocol.h
index 3fa86a6..3a7a551 100644
--- a/src/SHCustomProtocol.h
+++ b/src/SHCustomProtocol.h
@@ -2518,7 +2518,7 @@ public:
tft.drawFastVLine(208, 189, 15, dark);
tft.fillRect(205, 186, 4, 4, dark);
tft.fillRect(209, 190, 3, 7, dark);
- tft.drawString("FUEL", 198, 222, 1);
+ tft.drawString("FUEL", 198, 220, 1);
}
const bool absOn = isActiveValue(state.absActive);
@@ -2553,7 +2553,7 @@ public:
tft.setTextColor(absOn ? pale : absColor, absOn ? absColor : pale);
tft.drawString("ABS", 244, 194, 1);
tft.setTextColor(darkest, pale);
- tft.drawString("ABS", 244, 223, 1);
+ tft.drawString("ABS", 244, 221, 1);
}
if (tcsChanged)
@@ -2561,12 +2561,11 @@ public:
tft.fillRect(268, 165, 38, 60, pale);
tft.setTextColor(darkest, pale);
// Chunky rear-view slipping-car glyph, drawn for this 42 px status cell.
- // Symmetrical, flat-topped trapezoid roof with an open rear window.
- tft.fillRect(285, 181, 10, 2, tcsColor);
- tft.fillRect(283, 183, 2, 2, tcsColor);
- tft.fillRect(295, 183, 2, 2, tcsColor);
- tft.fillRect(281, 185, 2, 4, tcsColor);
- tft.fillRect(297, 185, 2, 4, tcsColor);
+ // Crisp symmetrical trapezoid roof; the inset trapezoid is the rear window.
+ tft.fillTriangle(284, 181, 294, 181, 279, 189, tcsColor);
+ tft.fillTriangle(294, 181, 299, 189, 279, 189, tcsColor);
+ tft.fillTriangle(285, 183, 293, 183, 282, 188, pale);
+ tft.fillTriangle(293, 183, 296, 188, 282, 188, pale);
// Solid rear body with two square, background-colour lamps.
tft.fillRect(279, 189, 22, 10, tcsColor);
@@ -2575,29 +2574,24 @@ public:
tft.fillRect(281, 199, 5, 3, tcsColor);
tft.fillRect(294, 199, 5, 3, tcsColor);
- // Two separate, same-direction S-shaped skid trails with softened turns.
- tft.drawLine(283, 202, 284, 203, tcsColor);
- tft.drawLine(284, 203, 278, 206, tcsColor);
- tft.drawLine(278, 206, 280, 208, tcsColor);
- tft.drawFastHLine(280, 209, 5, tcsColor);
- tft.drawLine(296, 202, 297, 203, tcsColor);
- tft.drawLine(297, 203, 291, 206, tcsColor);
- tft.drawLine(291, 206, 293, 208, tcsColor);
- tft.drawFastHLine(293, 209, 5, tcsColor);
- // Keep the trails readable on the physical LCD without adding corner blobs.
- tft.drawLine(283, 203, 279, 206, tcsColor);
- tft.drawLine(296, 203, 292, 206, tcsColor);
- // A second row makes both trails one pixel heavier without changing shape.
- tft.drawLine(283, 204, 279, 207, tcsColor);
- tft.drawLine(279, 207, 280, 209, tcsColor);
- tft.drawLine(296, 204, 292, 207, tcsColor);
- tft.drawLine(292, 207, 293, 209, tcsColor);
- // Third pixel of trail weight.
- tft.drawLine(283, 205, 279, 208, tcsColor);
- tft.drawLine(279, 208, 280, 210, tcsColor);
- tft.drawLine(296, 205, 292, 208, tcsColor);
- tft.drawLine(292, 208, 293, 210, tcsColor);
- tft.drawString("TCS", 290, 223, 1);
+ // Rounded pixel S trails: more intermediate points remove sharp elbows.
+ static constexpr int8_t SKID[][2] = {
+ {3, 0}, {4, 1}, {3, 2}, {1, 3}, {-1, 4},
+ {-2, 5}, {-1, 6}, {1, 7}, {4, 7}};
+ for (int trail = 0; trail < 2; ++trail)
+ {
+ const int originX = 280 + trail * 13;
+ for (size_t i = 0; i < sizeof(SKID) / sizeof(SKID[0]); ++i)
+ {
+ const int x = originX + SKID[i][0];
+ const int y = 202 + SKID[i][1];
+ tft.fillCircle(x, y, 1, tcsColor);
+ if (i > 0)
+ tft.drawLine(originX + SKID[i - 1][0], 202 + SKID[i - 1][1],
+ x, y, tcsColor);
+ }
+ }
+ tft.drawString("TCS", 290, 221, 1);
}
// Three equal status columns.