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.

RM57L843: 如何在CCS9.2下面支持freeRTOS C++的开发

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN

1. 利用HALCoGen 04.07.01生成 RM57L843ZWT_FREERTOS的驱动代码

2. 在Code Composer Studio Version9.2中创建一个CCS project Empty project(with main.c), 拷贝生成的RM57L843ZWT_FREERTOS的驱动代码到其workspace下。

3. 因为有main.c文件,在CCS中exclude 生成的driver中的文件HL_sys_main.c, 编译这个工程未报任何错误。

4. 创建了一个cpp文件,写了一个简单的class, 并在main.c中实例化。同时勾选CCS 工程properties中“Treat C files as C++ files”.  编译工程出现很多错误:

比如:

"../drv/source/HL_emac.c", line 1113: error #515: a value of type "void *" cannot be assigned to an entity of type "volatile emac_tx_bd_t *"

"../drv/source/HL_esm.c", line 1025: error #2772: this constant expression has type "void (*)()" instead of the required integral or enum type

我想咨询下:

CCS下是否支持C++ freeRTOS对于芯片RM57L843BZWTT的开发? 如果支持,如何使用? 谢谢