I'm working on adding support for Cosa on embedXcode.How possible to use the [font=Courier].h[/font] extension for headers and remove the leading [font=Courier]Cosa/[/font]?
C++ source files conventionally use one of the suffixes .C, .cc, .cpp, .CPP, .c++, .cp, or .cxx; C++ header files often use .hh or .H; and preprocessed C++ files use the suffix .ii. GCC recognizes files with these names and compiles them as C++ programs even if you call the compiler the same way as for compiling C programs (usually with the name gcc).
Hi! I would have appreciated this as an issue on github as that allows better support but let us take it here this time.
Code sense for Cosa/Pins.hh can actual be due to the fact that this file contains several classes. This is "legacy" and should instead be several files for each of the Cosa Pin classes. I have this on the "todo"-list.
I managed to get the [font=Courier].hh[/font] files recognized as C++ header files by Xcode. So question answered.
Have you considered other platforms?