Forum : ARM
Original Post
Post Information | Post |
---|---|
January 28, 2008 - 6:39pm
|
I have the latest version of Ride7 IDE with RKitARM I want to have some C++ files in a project for STM32, but the IDE treat a C++ file like a text file, so it is impossible to compile a C++ file. I looked in the installation directory of Ride7 and the C++ compiler is in the same subdirectory as the C compiler. Does Ride7 manage only C files ? Is it possible to have C++ files in a Ride7 project ? |
Hi Jerome,
the C++ compiler is present indeed, but we don't support it since we have not tested it. You are free to try to use C++ but for now you will get no support about compilation issues. If you want to compile your C++ files, it is very easy:
1. click on your .cpp/.cxx file
2. In the Info->Type option set, change the type to "C source file"
regards,
Lionel
Thanks for the answer.
Another main reason to explain why we don't support C++ is that our debugger does not know C++ analysis which is much more complex than C. So the debugger will not work.
Lionel
I am using Ride 7 with the Reva board (STR912F44). Acuatully I've found a problem
with the GPIO lib drivers , once I've fixed I'll email you guys the update.
But I am having two problem one is related to lack of breakpoints. I saw that the solution is to run in Ram not flash , How do I set this I could not find anything in the Advanced Rlink. I tried unclickin all the program Flash boxes in STR9 specific options but it does not seem to make a difference.
The other problem I have is that I am not being able to see local variables when debugging. Or stack variables for that matter.
Tnx