add version macros

This commit is contained in:
hathach
2013-01-31 11:47:07 +07:00
parent eca87e5ee5
commit bef17fb67f
3 changed files with 22 additions and 3 deletions
+6
View File
@@ -53,6 +53,12 @@
extern "C" {
#endif
#define TUSB_VERSION_YEAR 00
#define TUSB_VERSION_MONTH 00
#define TUSB_VERSION_WEEK 0
#define TUSB_VERSION_NAME "alpha"
#define TUSB_VERSION XSTRING_(TUSB_VERSION_YEAR) "." XSTRING_(TUSB_VERSION_MONTH)
/// define this symbol will make tinyusb look for external configure file
#include "tusb_config.h"