Until know I was working with Rowley Crossworks for Embedded Development and I’m quite happy with it. But I wanted to give KDS (v3.0) a try.
I created a simple Project without using Processor-Expert or KSDK. I renamed the automatically created main.c file to main.cpp and added some includes to the CMSIS files. You can find the resulting main.cpp File as an attachment.
Compiling this leads to an error in the CMSIS include File:
../Includes/core_cm4.h:1787:1: error: expected declaration before '}' token
It should definitely compile. Has KDS some problems with C++?
Thanks and regards
Original Attachment has been moved to: main.cpp.zip