mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 12:24:42 +01:00
docs/BLE_FEASIBILITY.md section 10. - LY_EN_DICT (13,346 B) and LY_EN_IDX (524 B) in the segment (gen_lyrics.py emits LY_DICT_SEC; sing.c makes it .btapp.rodata in the firmware), inside its CRC-32. - The segment is checked in fm1_main before felucca_init (whose sing_init reads the dictionary), under the splash: the plain XIP window, the CRC-32; sing.c ly_en_ok from it. The reads (sy_en_find / ly_at only: the main loop, and the audio for a word not resolved there) are plain XIP data reads, as of the app's flash. - Without the segment (NO SEG): sy_en_find returns before any read; English words by the letter rules (sy_en_rules), the generator's too; VOICE sings on. - tests/voice_test.c: without it, all 2,095 words exactly as the rules read them, sing_init again; with it back, the dictionary's. - tools/audio_layout.txt repinned (FELUCCA_REPIN=keep). App 567,760 B of 584,336 (16,576 B free); RAM .data+.bss 95,564 B; pool spare 9,536 B; segment 47,128 B (12 of 18 sectors). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh