We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f63974 + 1081afe commit 9638835Copy full SHA for 9638835
.github/workflows/build_template_esp32c2.yml
@@ -14,6 +14,8 @@ on:
14
secrets:
15
ESP32C2_4MB_TOKEN:
16
required: false
17
+ ESP32C2_ECO4_4MB_TOKEN:
18
+ required: false
19
ESP32C2_2MB_TOKEN:
20
21
@@ -39,6 +41,8 @@ jobs:
39
41
echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB \"${{ secrets.ESP32C2_2MB_TOKEN }}\"" >> at_ota_token.h
40
42
echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB \"${{ secrets.ESP32C2_4MB_TOKEN }}\"" >> at_ota_token.h
43
echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB \"${{ secrets.ESP32C2_4MB_TOKEN }}\"" >> at_ota_token.h
44
+ echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_ECO4_4MB \"${{ secrets.ESP32C2_ECO4_4MB_TOKEN }}\"" >> at_ota_token.h
45
+ echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_ECO4_4MB \"${{ secrets.ESP32C2_ECO4_4MB_TOKEN }}\"" >> at_ota_token.h
46
cd -
47
- name: Install environment variables
48
run: |
.github/workflows/main.yml
@@ -101,6 +101,13 @@ jobs:
101
artifacts_name: esp32c2-4MB-at
102
secrets: inherit
103
104
+ build-esp32c2-eco4-4mb-at:
105
+ uses: ./.github/workflows/build_template_esp32c2.yml
106
+ with:
107
+ module_name: ESP32C2-ECO4-4MB
108
+ artifacts_name: esp32c2-eco4-4MB-at
109
+ secrets: inherit
110
+
111
build-esp32c2-2mb-at:
112
uses: ./.github/workflows/build_template_esp32c2.yml
113
with:
.gitlab/ci/build_esp32c2.yml
@@ -14,6 +14,13 @@ esp32c2_4mb_at:
variables:
MODULE_NAME: "ESP32C2-4MB"
+esp32c2_eco4_4mb_at:
+ extends:
+ - .build_template_esp32c2
+ - .rules:build:build_project
+ variables:
22
+ MODULE_NAME: "ESP32C2-ECO4-4MB"
23
24
esp32c2_ble_2mb_at:
25
extends:
26
- .build_template_esp32c2
.gitlab/ci/build_template.yml
@@ -84,6 +84,8 @@
84
- echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB \"$ESP32C2_2MB_TOKEN\"" >> at_ota_token.h
85
- echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB \"$ESP32C2_4MB_TOKEN\"" >> at_ota_token.h
86
- echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB \"$ESP32C2_4MB_TOKEN\"" >> at_ota_token.h
87
+ - echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_ECO4_4MB \"$ESP32C2_ECO4_4MB_TOKEN\"" >> at_ota_token.h
88
+ - echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_ECO4_4MB \"$ESP32C2_ECO4_4MB_TOKEN\"" >> at_ota_token.h
89
- cd -
90
91
.setup_tokens_esp32c3: &setup_tokens_esp32c3
components/at/private_include/at_ota_token.h
@@ -37,6 +37,8 @@
37
#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB CONFIG_ESP_AT_OTA_SSL_TOKEN_DEFAULT
38
#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB CONFIG_ESP_AT_OTA_TOKEN_DEFAULT
#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB CONFIG_ESP_AT_OTA_SSL_TOKEN_DEFAULT
+#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_ECO4_4MB CONFIG_ESP_AT_OTA_TOKEN_DEFAULT
+#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_ECO4_4MB CONFIG_ESP_AT_OTA_SSL_TOKEN_DEFAULT
#elif defined(CONFIG_IDF_TARGET_ESP32C5)
#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C5_4MB CONFIG_ESP_AT_OTA_TOKEN_DEFAULT
#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C5_4MB CONFIG_ESP_AT_OTA_SSL_TOKEN_DEFAULT
components/at/src/at_default_config.c
@@ -45,6 +45,7 @@ static const esp_at_module_info_t esp_at_module_info[] = {
#if defined(CONFIG_IDF_TARGET_ESP32C2)
{"ESP32C2-2MB", CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_2MB, CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB},
{"ESP32C2-4MB", CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB, CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB},
+ {"ESP32C2-ECO4-4MB", CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_ECO4_4MB, CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_ECO4_4MB},
49
{"ESP32C2-BLE-2MB", NULL, NULL},
50
#endif
51
components/customized_partitions/raw_data/factory_param/factory_param_data.csv
@@ -12,6 +12,7 @@ PLATFORM_ESP32C3,ESP32C3_RAINMAKER,"support rainmaker cloud, TX:7 RX:6",4,78,1,1
12
PLATFORM_ESP32C2,ESP32C2-2MB,"single Wi-Fi, 2MB, TX:7 RX:6",4,78,1,1,13,CN,115200,7,6,19,20
13
PLATFORM_ESP32C2,ESP32C2-4MB,"Wi-Fi + BluFi, 4MB, TX:7 RX:6",4,78,1,1,13,CN,115200,7,6,5,4
PLATFORM_ESP32C2,ESP32C2-BLE-2MB,"single BLE, 2MB, TX:7 RX:6",4,78,1,1,13,CN,115200,7,6,5,4
+PLATFORM_ESP32C2,ESP32C2-ECO4-4MB,"Wi-Fi + BluFi, ECO4 only, 4MB, TX:7 RX:6",4,78,1,1,13,CN,115200,7,6,5,4
PLATFORM_ESP32C5,ESP32C5-4MB,"TX:14 RX:13",4,78,1,1,13,CN,115200,14,13,9,8
PLATFORM_ESP32C6,ESP32C6-4MB,"TX:7 RX:6",4,78,1,1,13,CN,115200,7,6,5,4
PLATFORM_ESP32S2,MINI,"TX:17 RX:21",4,78,1,1,13,CN,115200,17,21,20,19
module_config/module_esp32c2-eco4-4mb/IDF_VERSION
@@ -0,0 +1,3 @@
1
+branch:release/v5.1
2
+commit:64849cb7039a93b7b3a4ad8e8da328fa9c09c5e7
3
+repository:https://github.com/espressif/esp-idf.git
module_config/module_esp32c2-eco4-4mb/at_customize.csv
+# Name, Type, SubType, Offset, Size
+mfg_nvs, data, nvs, 0x1f000, 124K
+fatfs, data, fat, 0x47000, 100K
module_config/module_esp32c2-eco4-4mb/partitions_at.csv
@@ -0,0 +1,7 @@
+otadata, data, ota, 0xd000, 0x2000
+phy_init, data, phy, 0xf000, 0x1000
4
+nvs, data, nvs, 0x10000, 0xE000
5
+at_customize, 0x40, 0, 0x1E000, 0x42000
6
+ota_0, app, ota_0, 0x60000, 0x1d0000
7
+ota_1, app, ota_1, 0x230000, 0x1d0000
0 commit comments