amperka / ino

Command line toolkit for working with Arduino hardware
http://inotool.org
MIT License
1.08k stars 233 forks source link

honor all preprocessor macros when preprocesing the *.ino to *.c #249

Open biappi opened 9 years ago

biappi commented 9 years ago

this patch solves the case in which .ino files would have something like:

include "something.h"

ifndef SOME_FLAG

include

endif

in case "something.h" would not define SOME_FLAG