view doc/Luna-notes @ 275:79cfefc1e2b4

audio mode load: gracefully handle mode files of wrong AEC version Unfortunately our change of enabling L1_NEW_AEC (which is necessary in order to bring our Calypso ARM fw into match with the underlying DSP reality) brings along a change in the audio mode file binary format and file size - all those new tunable AEC parameters do need to be stored somewhere, after all. But we already have existing mode files in the old format, and setting AEC config to garbage when loading old audio modes (which is what would happen without the present change) is not an appealing proposition. The solution implemented in the present change is as follows: the audio mode loading code checks the file size, and if it differs from the active version of T_AUDIO_MODE, the T_AUDIO_AEC_CFG structure is cleared - set to the default (disabled AEC) for the compiled type of AEC. We got lucky in that this varying T_AUDIO_AEC_CFG structure sits at the end of T_AUDIO_MODE!
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Jul 2021 02:55:48 +0000
parents a62e5bf88434
children
line wrap: on
line source

FreeCalypso Luna phone handset UI development platform consists of these 3
components:

* A Caramel-type Calypso motherboard, either iWOW DSK or FC Caramel2
* An LCD carrier board, currently using HaoRan HT020K1QC36S LCD module
* A 5x5 keyswitch matrix board for the keypad function

This Luna is our primary official platform for FreeCalypso phone handset UI
development.  The UI code we got from TI comes in two interesting versions:

* Big color version: 176x220 pixels, 16-bit color
* Small B&W version: originally 84x48 pixels, we are extending it to 96x64 pix

(Originally there was also a third version, large 176x220 pix B&W, but we find
 it uninteresting and we've removed it from our supported set.  It was really
 nothing more than a hack to display a minimal-effort derivative of the original
 small B&W UI on the large D-Sample LCD, so we are not removing anything of any
 real substance here.)

FC Luna hardware is required for anyone who wishes to work on the phone handset
UI project in FC Tourmaline: it is the only target platform that can display
both versions of our work-in-progress UI firmware.  Mot C1xx and other similar
phones have small LCDs that can only display the small B&W version of our
TI-based UI, and in the Mother's opinion working solely on the smallbw version
to the exclusion of the bigcolor version is not acceptable.