From bef17fb67fc283cdc8cbda068d122c2a95c3b880 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 31 Jan 2013 11:47:07 +0700 Subject: add version macros --- tinyusb/tusb_option.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tinyusb/tusb_option.h') 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" -- cgit v1.3.1