From e0b91d17b421c1164392fb6254967d76dff227eb Mon Sep 17 00:00:00 2001 From: yuquanjun Date: Mon, 28 Sep 2026 10:11:48 +0800 Subject: [PATCH] chore(release): bump firmware to 0.2.37 Mark the boot mute change so the release package matches the speaker pop fix. Co-authored-by: Cursor --- Global/Global.c | 2 +- tools/gen_sysset_font.py | 4 ++-- tools/publish_k1_release.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Global/Global.c b/Global/Global.c index 14ac521..c651a1a 100644 --- a/Global/Global.c +++ b/Global/Global.c @@ -111,7 +111,7 @@ int16_t MIC_VOL_MAP[11]= {-9000,-7000,-5000,-3000,-1000,1000,3000,5000,7000,9000 uint8_t TOUCH_AREA_NUM = (sizeof(Touch_Areas)/sizeof(Touch_AreaTypeDef)); -const uint8_t Version[3] = {0,2,36}; /* major.minor.patch — 0.2.36: 功放只在琴弦时钟稳定后初始化一次 */ +const uint8_t Version[3] = {0,2,37}; /* major.minor.patch — 0.2.37: 开机先静音功放,避免喇叭啪声 */ uint8_t Led = 8; bool PressFlag = 0; diff --git a/tools/gen_sysset_font.py b/tools/gen_sysset_font.py index 28b842d..96decd0 100644 --- a/tools/gen_sysset_font.py +++ b/tools/gen_sysset_font.py @@ -194,7 +194,7 @@ def main(): raise SystemExit( "USB row overflow: label ends %d, left arrow at %d" % (label_end, tril_x) ) - ver_w = text_w("0.2.36", glyphs) + ver_w = text_w("0.2.37", glyphs) gh = glyphs["0"][0].size[1] pill_h = gh + 8 pill_w = ver_w + 18 @@ -377,7 +377,7 @@ def preview(pics, glyphs, back, back_xy, chev, chev_xy, tri_l, tl, tri_r, tr, paste(canvas, tri_l, tl[0], row_y + (tl[1] - (CARD_Y0 + CARD_PITCH))) paste(canvas, tri_r, tr[0], row_y + (tr[1] - (CARD_Y0 + CARD_PITCH))) fill_round(canvas, CARD_X + pill_dx, CARD_Y0 + pill_dy, pill_w, pill_h, 6, (0, 8, 19)) - ver = "0.2.36" + ver = "0.2.37" tw = text_w(ver, glyphs) gh = glyphs["0"][0].size[1] draw_text(canvas, CARD_X + pill_dx + (pill_w - tw) // 2, diff --git a/tools/publish_k1_release.py b/tools/publish_k1_release.py index f203912..d913007 100644 --- a/tools/publish_k1_release.py +++ b/tools/publish_k1_release.py @@ -38,7 +38,7 @@ TONE_HDR = PROJ / "project" / "inc" / "ExtFlash_Tone_Addr.h" IAP_DIR = REPO / "升级" / "MCU主控升级" OUT_ROOT = REPO / "tools" / "out" -FW_VER = "0.2.36" +FW_VER = "0.2.37" UI0902_RES_BASE = 0x00100000 BOOT_FLASH_ADDR = 0x08000000 APP_FLASH_ADDR = 0x08008000