From 7df43ba6a20d48b8c205249838f74ce8fd03ae5f Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sat, 30 Dec 2023 15:03:32 +0800 Subject: [PATCH] release v1.0.0 --- README.md | 4 ++-- README_zh.md | 4 ++-- VERSION | 5 +++++ cherryusb_config_template.h | 7 ++++--- docs/source/conf.py | 4 ++-- 5 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 VERSION diff --git a/README.md b/README.md index df0db40c..79699c66 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,8 @@ Among them, `sizeof(struct usbh_hub)` and `sizeof(struct usbh_hubport)` are affe ``` #define CONFIG_USBHOST_MAX_EXTHUBS 1 #define CONFIG_USBHOST_MAX_EHPORTS 4 -#define CONFIG_USBHOST_MAX_INTERFACES 6 -#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1 +#define CONFIG_USBHOST_MAX_INTERFACES 8 +#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8 #define CONFIG_USBHOST_MAX_ENDPOINTS 4 ``` diff --git a/README_zh.md b/README_zh.md index 3a3f97e0..08cb4f76 100644 --- a/README_zh.md +++ b/README_zh.md @@ -131,8 +131,8 @@ CherryUSB Host 协议栈资源占用说明(GCC 10.2 with -O2): ``` #define CONFIG_USBHOST_MAX_EXTHUBS 1 #define CONFIG_USBHOST_MAX_EHPORTS 4 -#define CONFIG_USBHOST_MAX_INTERFACES 6 -#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1 +#define CONFIG_USBHOST_MAX_INTERFACES 8 +#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8 #define CONFIG_USBHOST_MAX_ENDPOINTS 4 ``` diff --git a/VERSION b/VERSION new file mode 100644 index 00000000..49b7cc46 --- /dev/null +++ b/VERSION @@ -0,0 +1,5 @@ +VERSION_MAJOR = 1 +VERSION_MINOR = 0 +PATCHLEVEL = 99 +VERSION_TWEAK = 0 +EXTRAVERSION = 0 diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h index 81fadb7b..327bebe1 100644 --- a/cherryusb_config_template.h +++ b/cherryusb_config_template.h @@ -6,7 +6,8 @@ #ifndef CHERRYUSB_CONFIG_H #define CHERRYUSB_CONFIG_H -#define CHERRYUSB_VERSION 0x001002 +#define CHERRYUSB_VERSION 0x010000 +#define CHERRYUSB_VERSION_STR "v1.0.0" /* ================ USB common Configuration ================ */ @@ -93,8 +94,8 @@ #define CONFIG_USBHOST_MAX_RHPORTS 1 #define CONFIG_USBHOST_MAX_EXTHUBS 1 #define CONFIG_USBHOST_MAX_EHPORTS 4 -#define CONFIG_USBHOST_MAX_INTERFACES 6 -#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 1 +#define CONFIG_USBHOST_MAX_INTERFACES 8 +#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8 #define CONFIG_USBHOST_MAX_ENDPOINTS 4 #define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4 diff --git a/docs/source/conf.py b/docs/source/conf.py index 90a975f7..d98f5875 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,8 +6,8 @@ project = 'CherryUSB' copyright = '2022, sakumisu' author = 'sakumisu' -release = '0.10.0' -version = '0.10.0' +release = '1.0.0' +version = '1.0.0' # -- General configuration