Skip to content

Commit 44dc3c0

Browse files
committed
docs: release v1.4.3
Signed-off-by: sakumisu <1203593632@qq.com>
1 parent 4d5aa30 commit 44dc3c0

File tree

9 files changed

+49
-10
lines changed

9 files changed

+49
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="./README.md">English</a>
1313
</p>
1414

15-
CherryUSB is a tiny, beautiful and portable USB host and device stack for embedded system with USB IP.
15+
CherryUSB is a tiny and beautiful, high performance and portable USB host and device stack for embedded system with USB IP.
1616

1717
![CherryUSB](CherryUSB.svg)
1818

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="./README.md">English</a>
1313
</p>
1414

15-
CherryUSB 是一个小而美的、可移植性高的、用于嵌入式系统(带 USB IP) USB 主从协议栈。
15+
CherryUSB 是一个小而美的、可移植性高的、用于嵌入式系统(带 USB IP)的高性能 USB 主从协议栈。
1616

1717
![CherryUSB](CherryUSB.svg)
1818

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VERSION_MAJOR = 1
22
VERSION_MINOR = 4
3-
PATCHLEVEL = 2
3+
PATCHLEVEL = 3
44
VERSION_TWEAK = 0
55
EXTRAVERSION = 0

common/usb_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#undef CHERRYUSB_VERSION_STR
1616
#endif
1717

18-
#define CHERRYUSB_VERSION 0x010402
19-
#define CHERRYUSB_VERSION_STR "v1.4.2"
18+
#define CHERRYUSB_VERSION 0x010403
19+
#define CHERRYUSB_VERSION_STR "v1.4.3"
2020

2121
#endif

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
copyright = '2022 ~ 2024, sakumisu'
77
author = 'sakumisu'
88

9-
release = '1.4.2'
10-
version = '1.4.2'
9+
release = '1.4.3'
10+
version = '1.4.3'
1111

1212
# -- General configuration
1313

docs/source/quick_start/rtthread.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
INIT_APP_EXPORT(usbh_init);
9292
9393
* 使用 `scons --target=mdk5` 或者 `scons` 进行编译,如果是mdk,需要使用 AC6 编译器
94-
* 如果使用的是 GCC ,需要在链接脚本(ld)中添加如下代码:
94+
* 如果使用的是 GCC ,需要在链接脚本(需要放在 flash 位置)中添加如下代码:
9595

9696
.. code-block:: C
9797
@@ -102,6 +102,30 @@
102102
__usbh_class_info_end__ = .;
103103
104104
105+
举例如下:
106+
107+
.. code-block:: C
108+
109+
/* The program code and other data into "FLASH" Rom type memory */
110+
.text :
111+
{
112+
. = ALIGN(4);
113+
*(.text) /* .text sections (code) */
114+
*(.text*) /* .text* sections (code) */
115+
*(.glue_7) /* glue arm to thumb code */
116+
*(.glue_7t) /* glue thumb to arm code */
117+
*(.eh_frame)
118+
119+
KEEP (*(.init))
120+
KEEP (*(.fini))
121+
. = ALIGN(4);
122+
__usbh_class_info_start__ = .;
123+
KEEP(*(.usbh_class_info))
124+
__usbh_class_info_end__ = .;
125+
. = ALIGN(4);
126+
_etext = .; /* define a global symbols at end of code */
127+
} > FLASH
128+
105129
借助 STM32CubeMX 生成 USB 初始化
106130
----------------------------------
107131

docs/source/quick_start/transplant.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ GCC 举例如下:
7676
协议栈以及 port 中不会对 cache 区域的 ram 进行 clean 或者 invalid,所以需要使用一块非 cache 区域的 ram 来维护。 `USB_NOCACHE_RAM_SECTION` 宏表示将变量指定到非 cache ram上,
7777
因此,用户需要在对应的链接脚本中添加 no cache ram 的 section。默认 `USB_NOCACHE_RAM_SECTION` 定义为 `__attribute__((section(".noncacheable")))`。
7878

79+
.. note:: 需要注意,光指定 section 是不够的,还需要配置该 section 中的 ram 是真的 nocache,一般需要配置 mpu 属性(arm 的参考 stm32h7 demo)。
80+
7981
GCC:
8082

8183
.. code-block:: C

docs/source/version.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,17 @@ v1.4.2
8686
- host 增加 AOA 驱动
8787
- 兼容 C++ 相关修改
8888
- fsdev 不支持 ISO 和 DWC2 高速 hub 不支持全速低速检查
89-
- 通用 OHCI 代码更新
89+
- 通用 OHCI 代码更新
90+
91+
v1.4.3
92+
----------------------
93+
94+
- device ep0 处理增加线程模式
95+
- device audio feedback 宏和demo
96+
- device rndis 增加透传功能(无LWIP)
97+
- host msc 将 scsi 初始化从枚举线程中移出,在mount阶段调用,并增加了testunity 多次尝试,兼容一部分 U 盘
98+
- rp2040 主从支持
99+
- nuttx fs,serial,net 组件支持
100+
- dwc2、ehci、ohci 主机 dcache功能支持
101+
- t113、MCXA156、CH585 、stm32h7r 支持
102+
- 修复 v1.4.1 中 altsetting 为0时应该关闭所有端点的问题

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.4.2"
1+
version: "1.4.3"
22
description: CherryUSB is a tiny and portable USB Stack (device & host) for embedded system with USB IP
33
tags:
44
- usb

0 commit comments

Comments
 (0)