Make local toolchain accept .ino files as c++

Is there an easy way to get the local toolchain to compile .ino files? Would it also be possible for the preprocessor to be applied?

The preprocessor can be found here: https://github.com/spark/buildpack-wiring-preprocessor

2 Likes

@nrobinson2000, there is no pre-processor on the local toolchain.

But is it possible to treat a .ino as c++ in make?

@nrobinson2000, make only accepts cpp and c files as far as I know. You would need to rename or make a copy with a .cpp extension for compiling.

That’s what I thought.

1 Like