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.

MSP430FR2522: 编译DRV2625_DEMO工程提示错误fatal error #35: #error directive: "Large code/data models are not supported"

Part Number: MSP430FR2522
Other Parts Discussed in Thread: DRV2625

TI的FAE专家:

  你好!

我新建了一个CCS工程,然后把DRV2625_Haptic_BoosterPack_Demo_Firmware\BoosterPack_SW\firmware整个目录内的文件/文件夹复制进CCS工程目录,然后编译:

提示了大量的如下错误:

fatal error #35: #error directive: "Large code model is not supported" 

打开编译出错的文件,找到编译错误的代码行,都有如下代码:

#else
#error "Large code model is not supported"
#endif

请问要如何解决?

复制进CCS工程的文件/文件夹内容如下图:

编译错误截图: