diff options
| author | sakimisu <[email protected]> | 2022-11-18 21:34:42 +0800 |
|---|---|---|
| committer | sakimisu <[email protected]> | 2022-11-19 21:51:38 +0800 |
| commit | fcfcdc0013873b902ecd07c22f7400ca02b750f7 (patch) | |
| tree | dfcec3393ca2c628eee1b8966ca9a8edfeb1c001 | |
| parent | 9517ae828fd533667523c29df36a44c8c8778218 (diff) | |
add CHERRYUSB_VERSION macro
| -rw-r--r-- | cherryusb_config_template.h | 2 | ||||
| -rw-r--r-- | demo/es32/usb_device/ES32F369x/Inc/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/hpm/usb_device/src/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/hpm/usb_host/src/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/rp2040/cherryusb/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/stm32/usb_device/stm32f103c8t6/Core/Inc/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/stm32/usb_device/stm32f429igt6/Core/Inc/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/stm32/usb_device/stm32h743vbt6/Core/Inc/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/stm32/usb_host/stm32f429igt6/Core/Inc/usb_config.h | 2 | ||||
| -rw-r--r-- | demo/stm32/usb_host/stm32h743xih6/Core/Inc/usb_config.h | 2 |
10 files changed, 20 insertions, 0 deletions
diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h index 589937a1..97d724ca 100644 --- a/cherryusb_config_template.h +++ b/cherryusb_config_template.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/es32/usb_device/ES32F369x/Inc/usb_config.h b/demo/es32/usb_device/ES32F369x/Inc/usb_config.h index f36817b6..b9c57985 100644 --- a/demo/es32/usb_device/ES32F369x/Inc/usb_config.h +++ b/demo/es32/usb_device/ES32F369x/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/hpm/usb_device/src/usb_config.h b/demo/hpm/usb_device/src/usb_config.h index 824bb5dd..f49cc566 100644 --- a/demo/hpm/usb_device/src/usb_config.h +++ b/demo/hpm/usb_device/src/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/hpm/usb_host/src/usb_config.h b/demo/hpm/usb_host/src/usb_config.h index ff2ec878..f72fa216 100644 --- a/demo/hpm/usb_host/src/usb_config.h +++ b/demo/hpm/usb_host/src/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #ifndef CONFIG_USB_DBG_LEVEL diff --git a/demo/rp2040/cherryusb/usb_config.h b/demo/rp2040/cherryusb/usb_config.h index 545fa1bd..0d5326be 100644 --- a/demo/rp2040/cherryusb/usb_config.h +++ b/demo/rp2040/cherryusb/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/stm32/usb_device/stm32f103c8t6/Core/Inc/usb_config.h b/demo/stm32/usb_device/stm32f103c8t6/Core/Inc/usb_config.h index f36817b6..b9c57985 100644 --- a/demo/stm32/usb_device/stm32f103c8t6/Core/Inc/usb_config.h +++ b/demo/stm32/usb_device/stm32f103c8t6/Core/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/stm32/usb_device/stm32f429igt6/Core/Inc/usb_config.h b/demo/stm32/usb_device/stm32f429igt6/Core/Inc/usb_config.h index f36817b6..b9c57985 100644 --- a/demo/stm32/usb_device/stm32f429igt6/Core/Inc/usb_config.h +++ b/demo/stm32/usb_device/stm32f429igt6/Core/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/stm32/usb_device/stm32h743vbt6/Core/Inc/usb_config.h b/demo/stm32/usb_device/stm32h743vbt6/Core/Inc/usb_config.h index f36817b6..b9c57985 100644 --- a/demo/stm32/usb_device/stm32h743vbt6/Core/Inc/usb_config.h +++ b/demo/stm32/usb_device/stm32h743vbt6/Core/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/stm32/usb_host/stm32f429igt6/Core/Inc/usb_config.h b/demo/stm32/usb_host/stm32f429igt6/Core/Inc/usb_config.h index 67488137..70c894b3 100644 --- a/demo/stm32/usb_host/stm32f429igt6/Core/Inc/usb_config.h +++ b/demo/stm32/usb_host/stm32f429igt6/Core/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) diff --git a/demo/stm32/usb_host/stm32h743xih6/Core/Inc/usb_config.h b/demo/stm32/usb_host/stm32h743xih6/Core/Inc/usb_config.h index 67488137..70c894b3 100644 --- a/demo/stm32/usb_host/stm32h743xih6/Core/Inc/usb_config.h +++ b/demo/stm32/usb_host/stm32h743xih6/Core/Inc/usb_config.h @@ -6,6 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H +#define CHERRYUSB_VERSION 0x000700 + /* ================ USB common Configuration ================ */ #define CONFIG_USB_PRINTF(...) printf(__VA_ARGS__) |
