Skip to content

Commit 3988de3

Browse files
committed
Merge branch 'release/v6.13.0'
2 parents 3e09ed0 + 11f992b commit 3988de3

File tree

171 files changed

+12807
-2386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+12807
-2386
lines changed

boards/minimain_esp32s2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"arduino",
3636
"espidf"
3737
],
38-
"name": "Deparment of Alchemy MiniMain ESP32-S2",
38+
"name": "Department of Alchemy MiniMain ESP32-S2",
3939
"upload": {
4040
"flash_size": "4MB",
4141
"maximum_ram_size": 327680,

builder/frameworks/espidf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,8 @@ def _get_installed_pip_packages(python_exe_path):
13201320
"cryptography": "~=44.0.0" if IDF5 else ">=2.1.4,<35.0.0",
13211321
"pyparsing": ">=3.1.0,<4" if IDF5 else ">=2.0.3,<2.4.0",
13221322
"idf-component-manager": "~=2.2" if IDF5 else "~=1.0",
1323-
"esp-idf-kconfig": "~=2.5.0"
1323+
"esp-idf-kconfig": "~=2.5.0",
1324+
"pydantic": "<2.12.0"
13241325
}
13251326

13261327
if not IDF5:

examples/espidf-peripherals-usb/components/esp_tinyusb/CHANGELOG.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,93 @@
1+
## 2.1.0
2+
3+
- Added configurable Suspend/Resume device event support using TinyUSB callbacks `tud_suspend_cb` and `tud_resume_cb`
4+
5+
## 2.0.1~1
6+
7+
- esp_tinyusb: Claim forward compatibility with TinyUSB 0.19
8+
- CDC: Added support for new VFS API (for esp-idf v5.4 and higher)
9+
10+
## 2.0.1
11+
12+
- esp_tinyusb: Added ESP32H4 support
13+
- esp_tinyusb: Fixed an assertion failure on the GetOtherSpeedDescriptor() request for ESP32P4 when the OTG1.1 port is used
14+
- MSC: Added dynamic member and storage operation multitask protection
15+
- MSC: Used `esp_vfs_fat_register_cfg` function prototype for esp-idf v5.3 and higher
16+
17+
## 2.0.0
18+
19+
- esp_tinyusb: Added USB Compliance Verification results
20+
- CDC-ACM: Added a configurable parameter for the endpoint DMA buffer
21+
22+
### Breaking changes
23+
24+
- esp_tinyusb: External PHY is no longer initialized automatically. If an external PHY is required, it must be explicitly initialized by the user with configuration parameter `phy.skip_setup = true`
25+
- esp_tinyusb: Added run-time configuration for peripheral port selection, task settings, and descriptors. For more details, refer to the [Espressif's Addition to TinyUSB Mirgation guide v2](../../docs/device/migration-guides/v2/tinyusb.md)
26+
- esp_tinyusb: Added USB Device event callback to handle different USB Device events. For the list of supported USB Device events, refer to to [Espressif's Addition to TinyUSB - README](../esp_tinyusb/README.md)
27+
- esp_tinyusb: Removed configuration option to handle TinyUSB events outside of this driver
28+
- NCM: Added possibility to deinit the driver
29+
- NCM: Updated public API; refer to the [NCM Class Migration guide v2](../../docs/device/migration-guides/v2/tinyusb_ncm.md)
30+
- MSC: Removed dedicated callbacks; introduced a single callback with an event ID for each storage
31+
- MSC: Added storage format support
32+
- MSC: Added dual storage support (SPI/Flash and SD/MMC)
33+
- MSC: Updated public API; refer to the [MSC Class Migration guide v2](../../docs/device/migration-guides/v2/tinyusb_msc.md)
34+
- Console: Updated public API; refer to the [Console Class Migration guide v2](../../docs/device/migration-guides/v2/tinyusb_console.md)
35+
- CDC-ACM: Updated public API; refer to the [CDC-ACM Class Migration guide v2](../../docs/device/migration-guides/v2/tinyusb_cdc_acm.md)
36+
37+
## 1.7.6~1
38+
39+
- esp_tinyusb: Added documentation to README.md
40+
41+
## 1.7.6
42+
43+
- MSC: Fixed the possibility to use SD/MMC storage with large capacity (more than 4 GB)
44+
45+
## 1.7.5
46+
47+
- esp_tinyusb: Provide forward compatibility with IDF 6.0
48+
49+
## 1.7.4~1
50+
51+
- esp_tinyusb: Claim forward compatibility with IDF 6.0
52+
53+
## 1.7.4
54+
55+
- MSC: WL Sector runtime check during spiflash init (fix for build time error check)
56+
57+
## 1.7.3 [yanked]
58+
59+
- MSC: Improved transfer speed to SD cards and SPI flash
60+
61+
## 1.7.2
62+
63+
- esp_tinyusb: Fixed crash on logging from ISR
64+
- PHY: Fixed crash with external_phy=true configuration
65+
66+
## 1.7.1
67+
68+
- NCM: Changed default NTB config to decrease DRAM memory usage (fix for DRAM overflow on ESP32S2)
69+
70+
## 1.7.0 [yanked]
71+
72+
- NCM: Added possibility to configure NCM Transfer Blocks (NTB) via menuconfig
73+
- esp_tinyusb: Added option to select TinyUSB peripheral on esp32p4 via menuconfig (USB_PHY_SUPPORTS_P4_OTG11 in esp-idf is required)
74+
- esp_tinyusb: Fixed uninstall tinyusb driver with not default task configuration
75+
76+
## 1.6.0
77+
78+
- CDC-ACM: Fixed memory leak on deinit
79+
- esp_tinyusb: Added Teardown
80+
81+
## 1.5.0
82+
83+
- esp_tinyusb: Added DMA mode option to tinyusb DCD DWC2 configuration
84+
- esp_tinyusb: Changed the default affinity mask of the task to CPU1
85+
86+
## 1.4.5
87+
88+
- CDC-ACM: Fixed memory leak at VFS unregister
89+
- Vendor specific: Provided default configuration
90+
191
## 1.4.4
292

393
- esp_tinyusb: Added HighSpeed and Qualifier device descriptors in tinyusb configuration

examples/espidf-peripherals-usb/components/esp_tinyusb/CMakeLists.txt

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,52 @@ set(srcs
22
"descriptors_control.c"
33
"tinyusb.c"
44
"usb_descriptors.c"
5+
"tinyusb_task.c"
56
)
67

7-
if(NOT CONFIG_TINYUSB_NO_DEFAULT_TASK)
8-
list(APPEND srcs "tusb_tasks.c")
9-
endif() # CONFIG_TINYUSB_NO_DEFAULT_TASK
8+
set(priv_req "")
9+
10+
if(${IDF_VERSION_MAJOR} LESS 6)
11+
list(APPEND priv_req "usb")
12+
endif()
1013

1114
if(CONFIG_TINYUSB_CDC_ENABLED)
1215
list(APPEND srcs
1316
"cdc.c"
14-
"tusb_cdc_acm.c"
17+
"tinyusb_cdc_acm.c"
1518
)
1619
if(CONFIG_VFS_SUPPORT_IO)
1720
list(APPEND srcs
18-
"tusb_console.c"
21+
"tinyusb_console.c"
1922
"vfs_tinyusb.c"
2023
)
2124
endif() # CONFIG_VFS_SUPPORT_IO
2225
endif() # CONFIG_TINYUSB_CDC_ENABLED
2326

2427
if(CONFIG_TINYUSB_MSC_ENABLED)
2528
list(APPEND srcs
26-
tusb_msc_storage.c
29+
"tinyusb_msc.c"
30+
"storage_spiflash.c"
2731
)
32+
if(CONFIG_SOC_SDMMC_HOST_SUPPORTED)
33+
list(APPEND srcs
34+
"storage_sdmmc.c"
35+
)
36+
endif() # CONFIG_SOC_SDMMC_HOST_SUPPORTED
2837
endif() # CONFIG_TINYUSB_MSC_ENABLED
2938

39+
3040
if(CONFIG_TINYUSB_NET_MODE_NCM)
3141
list(APPEND srcs
32-
tinyusb_net.c
42+
"tinyusb_net.c"
3343
)
3444
endif() # CONFIG_TINYUSB_NET_MODE_NCM
3545

3646
idf_component_register(SRCS ${srcs}
3747
INCLUDE_DIRS "include"
3848
PRIV_INCLUDE_DIRS "include_private"
39-
PRIV_REQUIRES usb
40-
REQUIRES fatfs vfs
49+
PRIV_REQUIRES ${priv_req}
50+
REQUIRES fatfs vfs
4151
)
4252

4353
# Determine whether tinyusb is fetched from component registry or from local path

0 commit comments

Comments
 (0)