FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cfgmagic/post-target @ 512:6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
|---|---|
| date | Wed, 02 Jul 2014 01:30:03 +0000 |
| parents | 47754cdb6248 |
| children | 2c9c2b95ddec |
comparison
equal
deleted
inserted
replaced
| 511:92583843f7f8 | 512:6f4cadd1fd7f |
|---|---|
| 47 # This chip is Calypso C035 with DSP version 36 in the ROM | 47 # This chip is Calypso C035 with DSP version 36 in the ROM |
| 48 CHIPSET=10 | 48 CHIPSET=10 |
| 49 DSP=36 | 49 DSP=36 |
| 50 # Thanks to the Sotovik find, we now have authoritative | 50 # Thanks to the Sotovik find, we now have authoritative |
| 51 # knowledge that these numbers are correct. | 51 # knowledge that these numbers are correct. |
| 52 ;; | |
| 53 751749*) | |
| 54 # Calypso Lite appears to be exactly the same as Calypso C035, | |
| 55 # but has only 256 KiB of IRAM instead of 512 KiB. Yet TI's | |
| 56 # firmware sources give it a different CHIPSET number. | |
| 57 # Let's try playing along... | |
| 58 CHIPSET=11 | |
| 59 DSP=36 | |
| 52 ;; | 60 ;; |
| 53 *) | 61 *) |
| 54 echo "Error: unknown DBB_type=$DBB_type" 1>&2 | 62 echo "Error: unknown DBB_type=$DBB_type" 1>&2 |
| 55 exit 1 | 63 exit 1 |
| 56 ;; | 64 ;; |
| 109 # So for now let's export a #define BOARD 41 for all targets | 117 # So for now let's export a #define BOARD 41 for all targets |
| 110 # and leave it be. | 118 # and leave it be. |
| 111 | 119 |
| 112 BOARD=41 | 120 BOARD=41 |
| 113 export_to_c BOARD | 121 export_to_c BOARD |
| 114 | |
| 115 # Ensure that device_class is set - various feature configurations | |
| 116 # will certainly depend on it. | |
| 117 if [ -z "$device_class" ] | |
| 118 then | |
| 119 echo "Error: target.$TARGET failed to define device_class" 1>&2 | |
| 120 exit 1 | |
| 121 fi |
