Skip to content

Commit bc2803b

Browse files
leeebotore-espressif
authored andcommitted
feat(esp_modem_usb_dte): add esp32p4 support & add cat.4 ec20 modem
1 parent b93f8cc commit bc2803b

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

host/class/cdc/esp_modem_usb_dte/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## Unreleased
22

3+
## 1.2.0
4+
35
- Fixed C++ build error for `usb_host_config_t` backward compatibility
46
- Added default configuration for SimCom SIM7070G, SIM7080 and SIMA7672E modems
7+
- Added default configuration for Quectel EC20
8+
- Added ESP32-P4 support
59

610
## 1.1.0
711

host/class/cdc/esp_modem_usb_dte/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
idf_component_register(SRCS "esp_modem_usb.cpp" "esp_modem_usb_api_target.cpp" "esp_modem_usb_c_api.cpp"
2-
REQUIRED_IDF_TARGETS esp32s2 esp32s3
32
PRIV_INCLUDE_DIRS "private_include"
43
INCLUDE_DIRS "include")
54

host/class/cdc/esp_modem_usb_dte/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Then, you can pass these constants to [ESP_MODEM_DEFAULT_USB_CONFIG](https://git
4949

5050
## List of tested modems
5151
The following modems were tested with this component, their configurations can be found in [esp_modem_usb_config.h](https://github.com/espressif/idf-extra-components/blob/master/usb/esp_modem_usb_dte/include/esp_modem_usb_config.h):
52-
* Quactel BG96
52+
* Quectel BG96
53+
* Quectel EC20
5354
* SimCom SIM7600E
5455
* SimCom A7670E
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
## IDF Component Manager Manifest File
2-
version: "1.1.0~1"
2+
version: "1.2.0"
33
description: USB DTE plugin for esp_modem component
44
url: https://github.com/espressif/esp-usb/tree/master/host/class/cdc/esp_modem_usb_dte
55

66
dependencies:
77
idf: ">=4.4"
88
usb_host_cdc_acm: "2.*"
99
esp_modem: ">=0.1.28,<2.0.0"
10+
11+
targets:
12+
- esp32s2
13+
- esp32s3
14+
- esp32p4

host/class/cdc/esp_modem_usb_dte/include/esp_modem_usb_config.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct esp_modem_usb_term_config {
6060
#define ESP_MODEM_DEFAULT_USB_CONFIG(_vid, _pid, _intf) ESP_MODEM_DEFAULT_USB_CONFIG_DUAL(_vid, _pid, _intf, -1)
6161

6262
/**
63-
* @brief Default configuration of Quactel BG96 modem
63+
* @brief Default configuration of Quectel BG96 modem
6464
*/
6565
#define ESP_MODEM_BG96_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG(0x2C7C, 0x0296, 2)
6666

@@ -88,3 +88,8 @@ struct esp_modem_usb_term_config {
8888
* @brief Default configuration of SimCom SIMA7672E modem
8989
*/
9090
#define ESP_MODEM_SIMA7672E_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG_DUAL(0x1E0E, 0x9011, 4, 5)
91+
92+
/**
93+
* @brief Default configuration of Quectel EC20 modem
94+
*/
95+
#define ESP_MODEM_EC20_USB_CONFIG() ESP_MODEM_DEFAULT_USB_CONFIG(0x2C7C, 0x0125, 3)

0 commit comments

Comments
 (0)