diff options
| author | hathach <[email protected]> | 2013-01-31 11:47:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-31 11:47:07 +0700 |
| commit | bef17fb67fc283cdc8cbda068d122c2a95c3b880 (patch) | |
| tree | a03377deb8b7cefbad31105e9058305d5e6ebe5a /tinyusb/tusb_option.h | |
| parent | eca87e5ee54f688372d2d34ee51dc3f72947d604 (diff) | |
add version macros
Diffstat (limited to 'tinyusb/tusb_option.h')
| -rw-r--r-- | tinyusb/tusb_option.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h index 0b0d308a2..04316ac9c 100644 --- a/tinyusb/tusb_option.h +++ b/tinyusb/tusb_option.h @@ -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" |
