UCD3138: 例程编译报错

Part Number: UCD3138

编译环境为CCS10,编译器为ti-cgt-arm_5.2.9,官网下载的例程,编译后报以下错误

#1559 Interrupt handlers must be compiled in ARM mode

如何解决?

 

  • 这个问题解决了,现在有另一个问题

    <Linking>
    "C:/ti/DigitalPower/LLCHBFirmware-1.2/Firmware/Device/UCD3138/Linker/cyclone.cmd", line 81: error #10099-D:
    program will not fit into available memory. placement with alignment fails
    for section ".vectors" size 0x40 . Available memory ranges:
    VECS size: 0x20 unused: 0x20 max hole: 0x20

    undefined first referenced
    symbol in file
    --------- ----------------
    $c_int00 ./load_UCD3138.obj

    在程序中对应问题的代码为

        .vectors        : {} > VECS

    该如何解决?