chipKIT32 / chipKIT-core

Downloadable chipKIT core for use with Arduino 1.6 - 1.8+ IDE, PlatformIO, and UECIDE
http://chipkit.net/
Apache License 2.0
59 stars 53 forks source link

chipKIT Version autogenerated header file for #define #396

Closed majenkotech closed 6 years ago

majenkotech commented 6 years ago

Build now generates chipKITVersion.h with the current tag version in it as the macro:

#define __CHIPKIT__ 20002

That's A.B.C with two digits allocated to B and C. An Ant plugin is used to convert the tag string into the right format and generate the file (source included as well as compiled .jar).