This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于 compiler version 的问题

Other Parts Discussed in Thread: 66AK2L06, SYSBIOS

各位老师

          我是使用的评估板是 66AK2L06 , 要在 ARM上写程序, 建立工程如下图:

 现在的问题是 , 在 Platform 选项中 没有66AK2L06, 这是哪不对?

       

  • 可以用ti.platforms.evmTCI6630K2L
  • 解决了问题,谢谢你的回答。
  • 老师好,我选用ti.platforms.evmTCI6630K2L, 编译后 出现错误:Unsupported device!
    错误出现在文件:C:\TI\bios_6_41_00_26\packages\ti\sysbios\family\arm\Settings.xs

    然后,在该文件内发现 没有设备 evmTCI6630K2L, 老师,这之后该怎么办呢?

    settings.xs 中与 cortexa15 有关的内容: 
      "ti.catalog.arm.cortexa15": { "DRA7XX","OMAP5430", "TCI6636K2H"}
    deviceTable["ti.catalog.arm.cortexa15"]["Vayu"] = deviceTable["ti.catalog.arm.cortexa15"]["DRA7XX"];
    deviceTable["ti.catalog.arm.cortexa15"]["TCI66AK2G02"] = deviceTable["ti.catalog.arm.cortexa15"]["TCI6636K2H"];
    
    function deviceSupportCheck()
    {
        catalogName = Program.cpu.catalogName;
        var deviceName;
    
        /* look for exact match */
        for (deviceName in deviceTable[Program.cpu.catalogName]) {
            if (deviceName == Program.cpu.deviceName) {
                return deviceName;
            }
        }
    
        /* now look for wild card match */
        for (deviceName in deviceTable[Program.cpu.catalogName]) {
            if (Program.cpu.deviceName.match(deviceName)) {
                return deviceName;
            }
        }
    
        /*
         * no match, print all catalog devices supported
         * and then raise an error
         */
        var catalog = xdc.loadPackage(Program.cpu.catalogName);
    
        var sd = [];
    
        for (var fullName in settings.device) {
            var deviceTokenized = fullName.split('.');
            deviceName = deviceTokenized.pop();
            var catalogPkg = deviceTokenized.join('.');
            if (catalogPkg == Program.cpu.catalogName &&
                sd.indexOf(deviceName) == -1) {
                sd.push(deviceName);
            }
        }
    
    
        for (var i = 0; i < catalog.$modules.length; i++) {
            catalogName = catalog.$modules[i].$name.substring(Program.cpu.catalogName.length+1);
            for (deviceName in deviceTable[Program.cpu.catalogName]) {
                if (catalogName.match(deviceName)) {
                    if (sd.indexOf(catalogName) == -1) {
                        sd.push(catalogName);
                    }
                }
            }
        }
    
        /* sort it for a nicer report */
        sd.sort();
    
        print("The " + Program.cpu.deviceName + " device is not currently supported.");
        print("The following devices are supported in the " +
                Program.cpu.catalogName + " catalog:");
    
        var numColumns = 5;
        for (i = 0; i < (sd.length % numColumns); i++) {
            sd.push("");
        }
        for (var i=0; i < sd.length; i += numColumns) {
            print("\t" + sd[i] + "  " + sd[i + 1] + "  " + sd[i + 2] +
                    "  " + sd[i + 3] + "  " + sd[i + 4]);
        }
    
        throw new Error ("Unsupported device!");
    }