Commit Graph

29 Commits

Author SHA1 Message Date
yuquanjun 23c2dee80f Release 0.2.2: package ALL extflash only and bump firmware version.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 09:29:01 +08:00
yuquanjun 0a0bd9b3ea Fix system-settings icon dark fill on focus blue rows.
Treat baked #242B3A as transparent when drawing icons, and limit #IV octave drop to keys 10-12.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 09:28:35 +08:00
yuquanjun 280aa1f752 Persist Bluetooth switch in NVM and restore it across power cycles.
Reuse the unused Language slot as BluetoothSW, sync top-bar icon from the saved switch, and keep factory restore defaulting Bluetooth to on.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 08:26:45 +08:00
yuquanjun 49af730f91 Release 0.2.1: persist mixer volume across power cycles.
Sync faders on shutdown and re-apply LoadConfig after DSP boot so
saved mixer levels and master pot stay consistent after power-off.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 12:29:42 +08:00
yuquanjun 794345d3ba Enable chord-progression LEDs in universal mode.
Drive measure-synced Loop_Light for TAB 0 (and settings entered from it) using the same 1645/1564/1364 rules as normal mode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 08:41:30 +08:00
yuquanjun 6436477ec2 Default pick-down accompaniment to current-key I chord.
When no left-hand chord is selected, Pick_Handle uses index-1 major (same as preamble) so strumming still starts Autoband.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 07:20:08 +08:00
yuquanjun 740c709a82 Persist mixer fader levels and fix mic map for level 10.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:56:14 +08:00
yuquanjun d960d88147 Show full-screen charge UI when USB plugs in while soft-off.
Avoid auto Logo boot on USB reset; enter charge page instead of mode select.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 19:58:42 +08:00
yuquanjun c16a13edc3 Fix long-press power to soft-off instead of MCU reset.
PowerOff was calling nvic_system_reset after cutting rails, and boot auto power-on made it look like a restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 19:39:15 +08:00
yuquanjun 57caea9bf7 Fix Cancel 取/消 glyphs and enable auto power-off timer.
Regenerate MiSans bitmaps for 取消; tick idle countdown and shut down when timeout elapses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 18:13:31 +08:00
yuquanjun 70e608e2ce Align bottom nav, section, and settings row geometry to 0904.
Centers 40/100/160/210, SECTION_Y 231, and SET_ROW 16x207 so play/settings pages match the standard art.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 07:05:23 +08:00
yuquanjun 8c3c14ccf8 Drive local song titles from CSV and add 海阔天空 glyphs.
UI shows LocalSongNames instead of bare indices; pack regenerates the header; WQY font gains the four display characters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:15:46 +08:00
yuquanjun f179a46c5d Fix teacher accomp issues and add ExtFlash chip-erase helper.
Pick fires on downstroke; #IV drops an octave; local songs use 2.bin; transpose updates notes without restart; intro starts on key I; boot string volume/PC corrected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 17:06:02 +08:00
yuquanjun c724ddd2c9 Align settings UI to 0904 and fix WQY glyph packing.
Settings hub/mixer/system/restore match 0904 layouts; regenerate Chinese bitmaps without shrinking native 16px cells so strokes stay continuous.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:43:32 +08:00
yuquanjun c05301d8b9 Map tone Flash banks for pack 0903 and bump firmware to 0.2.0.
Point normal/expert/universal ADDRESS at 1.bin/3.bin bases, add ExtFlash_Tone_Addr.h plus pack/publish helpers for paired MCU+.res releases.
2026-09-04 11:12:22 +08:00
yuquanjun 5290d897a0 Align free-mode layout to 0902-04 geometry.
Match card/row/section positions and sizes from the 240x320 reference, restore 16px hero values, and place the 和弦走向 title above the row like timbre.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 06:39:00 +08:00
yuquanjun b139aa7ca7 Scale mode-page widgets to 0902 reference proportions.
Apply measured 240x320 geometry for cards, tabs, rows, and section buttons, and recenter text so KEY/BPM, battery %, and row labels no longer clip.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 12:43:19 +08:00
yuquanjun 89e7401955 Align mode pages to 0819 font sizes and four-key bottom nav.
Apply label/body/hero hierarchy (11/13/16), enlarge section digits to 13, and switch the bottom bar to 万能|普通|专业|设置 while keeping touch/key logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 11:58:08 +08:00
yuquanjun 65f38bb5a3 Fix TAB missing glyphs and tighten mode-page typography.
Use size-12 tabs with full 节/类/型/地/目 coverage, denser MiSans bitmaps, dark row chrome, and safer section-label draw order; skip ASCII regen by default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 09:19:29 +08:00
yuquanjun c8e32958a7 Restore 演奏段落 and reduce Chinese glyph clipping.
Widen TAB text margins at 11px, regenerate section/timbre labels, and regenerate MiSans bitmaps with padding so strokes are not cut.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:28:30 +08:00
yuquanjun 89e28ce693 Align three mode pages with 0902 layout and fonts.
Sync card/row/tab geometry, hollow chevrons, section select, bottom-bar Y, MiSans CHS12 glyphs, and RTT TAP x,y for UI capture.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:11:16 +08:00
yuquanjun f8675e3529 Reskin UI with 0902 design assets and 3-icon bottom navigation.
- Mode select page draws 222x84 row bitmaps from external flash
- Mixer page uses flash track/knob images with picture labels
- Settings and restore pages re-laid out with 0902 row style
- New status bar icons and battery outline+clip fill rendering
- Add LCD_WR_PIC_ClipX and LCD_WR_PIC_FROM_FLASH_Trans draw APIs
- Replace 4-tab bar with GUI_NAV_BAR 3-icon bottom navigation
- Swap 0831 assets for UI0902 in the IAR project file

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 13:37:25 +08:00
yuquanjun 9b3d457da6 Fix boot black screen and mode-select touch Y-axis mapping.
Send POWER_ON before slow peripheral init, enable backlight at LCD init,
init W25Q128 early, and avoid App_Auto preset load deadlock. Disable
LCD dump by default and enlarge UI thread stack for stable drawing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 12:16:05 +08:00
yuquanjun 7fea921727 Add J-Link RTT logging module with RAM ring buffer and dump tool.
Log boot/power/touch/key/UI/NVM events; export via rtt_log_dump.py for field diagnostics.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:24:10 +08:00
yuquanjun b8eaf2c808 Fix mode-select focus and touch pipeline; add return-to-home gesture.
Preserve focus across redraws, improve XPT2046 sampling, and log touch coords via RTT for ongoing debug.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:13:01 +08:00
yuquanjun 68e3a37883 Fix mode-select layout/battery margins and enable reliable post-flash boot.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 08:20:24 +08:00
yuquanjun 27cf30cbe4 Align UI focus colors with 0819 spec and fix J-Link flash script usage.
Only the focused control uses the blue gradient; unfocused widgets use the dark normal background. Drop invalid Commander commands from IAR jlink_script_file to stop V5.10m parse popups.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 06:10:13 +08:00
yuquanjun 43083fd3f1 Switch LCD UI to MiSans bitmap fonts and align typography/colors with 0819 UI spec.
Regenerate Chinese/English font tables, extend LCD driver for new sizes, and update screen layouts; add gen_misans_font.py for reproducible font builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:24:06 +08:00
yuquanjun 3302c92f5a Initial commit: YNGJ-GT1-M K1电吉他 AT32F403ARCT7 嵌入式源码
包含 IAR 工程、Bootloader、RT-Thread、应用层及外设驱动源码。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:26:58 +08:00