Skip to content
C

Release 2.0.1 with neutral and reverse gear display fixes

YU CHIH CHANG630fd9a0f467
diff --git a/VERSION b/VERSION
index 227cea2..38f77a6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.0.0
+2.0.1
diff --git a/include/version.h b/include/version.h
index 75f6009..1889487 100644
--- a/include/version.h
+++ b/include/version.h
@@ -1,3 +1,3 @@
#pragma once
-inline constexpr char GT7_DASH_VERSION[] = "2.0.0";
+inline constexpr char GT7_DASH_VERSION[] = "2.0.1";
diff --git a/installer/firmware/firmware-ili9341.bin b/installer/firmware/firmware-ili9341.bin
index bd43598..b6cf2bf 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 eeb6bad..489fa56 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 5dae496..dcd0a4e 100644
--- a/installer/manifest-st7789.json
+++ b/installer/manifest-st7789.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ST7789)",
- "version": "2.0.0",
+ "version": "2.0.1",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/manifest.json b/installer/manifest.json
index 9c8b157..28285ef 100644
--- a/installer/manifest.json
+++ b/installer/manifest.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ILI9341)",
- "version": "2.0.0",
+ "version": "2.0.1",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/release-notes.json b/installer/release-notes.json
index 8394954..d951bfd 100644
--- a/installer/release-notes.json
+++ b/installer/release-notes.json
@@ -1,4 +1,8 @@
{
+ "2.0.1": [
+ "Fixed blank reverse gear in Mono and blank neutral/reverse gears in Retro and Radar when using SimHub.",
+ "Matched Mono neutral and reverse letters with consistent full-stroke glyphs while preserving the numeric gear style."
+ ],
"2.0.0": [
"Added explicit Direct GT7 Wi-Fi and SimHub USB connection modes with persistent on-device selection.",
"Added a shared SimHub Custom Protocol for all seven dashboard themes, including missing-value handling and transient neutral filtering.",
diff --git a/installer/releases.json b/installer/releases.json
index 10fe8c9..7e70a7c 100644
--- a/installer/releases.json
+++ b/installer/releases.json
@@ -1,5 +1,16 @@
{
"versions": [
+ {
+ "version": "2.0.1",
+ "notes": [
+ "Fixed blank reverse gear in Mono and blank neutral/reverse gears in Retro and Radar when using SimHub.",
+ "Matched Mono neutral and reverse letters with consistent full-stroke glyphs while preserving the numeric gear style."
+ ],
+ "manifests": {
+ "ili9341": "versions/2.0.1/manifest-ili9341.json",
+ "st7789": "versions/2.0.1/manifest-st7789.json"
+ }
+ },
{
"version": "2.0.0",
"notes": [
@@ -111,16 +122,6 @@
"ili9341": "versions/1.3.0/manifest-ili9341.json",
"st7789": "versions/1.3.0/manifest-st7789.json"
}
- },
- {
- "version": "1.2.7",
- "notes": [
- "Added telemetry-driven RPM colours and progressive GT7 shift-warning pulse."
- ],
- "manifests": {
- "ili9341": "versions/1.2.7/manifest-ili9341.json",
- "st7789": "versions/1.2.7/manifest-st7789.json"
- }
}
]
}
diff --git a/installer/versions/1.2.7/firmware-ili9341.bin b/installer/versions/1.2.7/firmware-ili9341.bin
deleted file mode 100644
index 29cdca8..0000000
Binary files a/installer/versions/1.2.7/firmware-ili9341.bin and /dev/null differ
diff --git a/installer/versions/1.2.7/firmware-st7789.bin b/installer/versions/1.2.7/firmware-st7789.bin
deleted file mode 100644
index d491af7..0000000
Binary files a/installer/versions/1.2.7/firmware-st7789.bin and /dev/null differ
diff --git a/installer/versions/1.2.7/boot_app0.bin b/installer/versions/2.0.1/boot_app0.bin
similarity index 100%
rename from installer/versions/1.2.7/boot_app0.bin
rename to installer/versions/2.0.1/boot_app0.bin
diff --git a/installer/versions/1.2.7/bootloader.bin b/installer/versions/2.0.1/bootloader.bin
similarity index 100%
rename from installer/versions/1.2.7/bootloader.bin
rename to installer/versions/2.0.1/bootloader.bin
diff --git a/installer/versions/2.0.1/firmware-ili9341.bin b/installer/versions/2.0.1/firmware-ili9341.bin
new file mode 100644
index 0000000..b6cf2bf
Binary files /dev/null and b/installer/versions/2.0.1/firmware-ili9341.bin differ
diff --git a/installer/versions/2.0.1/firmware-st7789.bin b/installer/versions/2.0.1/firmware-st7789.bin
new file mode 100644
index 0000000..489fa56
Binary files /dev/null and b/installer/versions/2.0.1/firmware-st7789.bin differ
diff --git a/installer/versions/1.2.7/manifest-ili9341.json b/installer/versions/2.0.1/manifest-ili9341.json
similarity index 95%
rename from installer/versions/1.2.7/manifest-ili9341.json
rename to installer/versions/2.0.1/manifest-ili9341.json
index 6e32bf8..76ad4d0 100644
--- a/installer/versions/1.2.7/manifest-ili9341.json
+++ b/installer/versions/2.0.1/manifest-ili9341.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ILI9341)",
- "version": "1.2.7",
+ "version": "2.0.1",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/versions/1.2.7/manifest-st7789.json b/installer/versions/2.0.1/manifest-st7789.json
similarity index 95%
rename from installer/versions/1.2.7/manifest-st7789.json
rename to installer/versions/2.0.1/manifest-st7789.json
index 375fefe..745c4d7 100644
--- a/installer/versions/1.2.7/manifest-st7789.json
+++ b/installer/versions/2.0.1/manifest-st7789.json
@@ -1,6 +1,6 @@
{
"name": "ESP32 GT7 Dashboard (ST7789)",
- "version": "1.2.7",
+ "version": "2.0.1",
"new_install_prompt_erase": true,
"builds": [
{
diff --git a/installer/versions/1.2.7/partitions.bin b/installer/versions/2.0.1/partitions.bin
similarity index 100%
rename from installer/versions/1.2.7/partitions.bin
rename to installer/versions/2.0.1/partitions.bin
diff --git a/src/dashboard/themes/MonoTheme.inc b/src/dashboard/themes/MonoTheme.inc
index 8998e39..03bc463 100644
--- a/src/dashboard/themes/MonoTheme.inc
+++ b/src/dashboard/themes/MonoTheme.inc
@@ -28,22 +28,41 @@
static constexpr int32_t height = 80;
tft.fillRect(x, y, width, height, TFT_BLACK);
- if (gear == "N")
+ if (gear == "N" || gear == "R")
{
- // Font 7 only contains digits. Draw a matching heavy, angular N for neutral.
+ // Match both letters to the same visible bounds and heavy angular strokes.
static constexpr int32_t left = 134;
static constexpr int32_t top = 63;
static constexpr int32_t glyphWidth = 52;
static constexpr int32_t glyphHeight = 66;
static constexpr int32_t stroke = 8;
tft.fillRect(left, top, stroke, glyphHeight, color);
- tft.fillRect(left + glyphWidth - stroke, top, stroke, glyphHeight, color);
- tft.fillTriangle(left + stroke, top,
- left + stroke, top + 12,
- left + glyphWidth - stroke, top + glyphHeight, color);
- tft.fillTriangle(left + stroke, top,
- left + glyphWidth - stroke, top + glyphHeight - 12,
- left + glyphWidth - stroke, top + glyphHeight, color);
+ if (gear == "R")
+ {
+ static constexpr int32_t bowlHeight = 34;
+ tft.fillRect(left + stroke, top, glyphWidth - stroke, stroke, color);
+ tft.fillRect(left + glyphWidth - stroke, top + stroke,
+ stroke, bowlHeight - stroke, color);
+ tft.fillRect(left + stroke, top + bowlHeight - stroke,
+ glyphWidth - stroke, stroke, color);
+ // Diagonal leg joins the bowl and ends at the same baseline as N.
+ tft.fillTriangle(left + 22, top + bowlHeight - stroke,
+ left + 32, top + bowlHeight - stroke,
+ left + glyphWidth - 1, top + glyphHeight - 1, color);
+ tft.fillTriangle(left + 22, top + bowlHeight - stroke,
+ left + glyphWidth - 1, top + glyphHeight - 1,
+ left + glyphWidth - 11, top + glyphHeight - 1, color);
+ }
+ else
+ {
+ tft.fillRect(left + glyphWidth - stroke, top, stroke, glyphHeight, color);
+ tft.fillTriangle(left + stroke, top,
+ left + stroke, top + 12,
+ left + glyphWidth - stroke, top + glyphHeight, color);
+ tft.fillTriangle(left + stroke, top,
+ left + glyphWidth - stroke, top + glyphHeight - 12,
+ left + glyphWidth - stroke, top + glyphHeight, color);
+ }
}
else
{
diff --git a/src/dashboard/themes/RadarTheme.inc b/src/dashboard/themes/RadarTheme.inc
index 01a8196..b99bfa5 100644
--- a/src/dashboard/themes/RadarTheme.inc
+++ b/src/dashboard/themes/RadarTheme.inc
@@ -422,8 +422,11 @@
drawRadarStatusDot(75, 226, isActiveValue(state.tcActive), "radarTcs",
blue, muted, redraw);
+ // Font 7 renders N/R as spaces. Use Font 4 for these letter gears.
+ const bool letterGear = state.gear == "N" || state.gear == "R";
drawRadarValue(116, 63, 88, 56, state.gear, "radarGear",
- TFT_WHITE, 7, MC_DATUM, redraw, 0.98f, 1.0f);
+ TFT_WHITE, letterGear ? 4 : 7, MC_DATUM, redraw,
+ letterGear ? 1.7f : 0.98f, letterGear ? 1.7f : 1.0f);
drawRadarValueBuffered(115, 121, 90, 39, state.speed, "radarSpeed",
TFT_WHITE, 7, MC_DATUM, redraw, speedSprite, speedSpriteCreated,
0.66f, 0.72f);
diff --git a/src/dashboard/themes/RetroTheme.inc b/src/dashboard/themes/RetroTheme.inc
index 6c2c123..a52404d 100644
--- a/src/dashboard/themes/RetroTheme.inc
+++ b/src/dashboard/themes/RetroTheme.inc
@@ -278,8 +278,11 @@
drawRetroRpm(state, forceUpdate);
drawRetroTextValueBuffered(7, 77, 84, 62, state.speed, "retroSpeed", ink,
7, MC_DATUM, forceUpdate, speedSprite, speedSpriteCreated, 0.72f, 0.82f);
+ // Font 7 renders N/R as spaces. Keep its numeric style for forward gears.
+ const bool letterGear = state.gear == "N" || state.gear == "R";
drawRetroTextValue(104, 76, 74, 72, state.gear, "retroGear", ink,
- 7, MC_DATUM, forceUpdate, 1.20f, 1.22f);
+ letterGear ? 4 : 7, MC_DATUM, forceUpdate,
+ letterGear ? 2.1f : 1.20f, letterGear ? 2.1f : 1.22f);
// Keep labels and values on separate rows. Fractionally scaled bitmap fonts
// produced malformed glyphs on the 2.8-inch panel, so Retro uses native sizes.