Skip to content

Commit 03ed8db

Browse files
authored
Merge branch 'espressif:master' into master
2 parents fcf47a7 + 97c8e39 commit 03ed8db

38 files changed

+467
-56
lines changed

.github/workflows/build_template_esp32c2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
secrets:
1515
ESP32C2_4MB_TOKEN:
1616
required: false
17-
ESP32C2_ECO4_4MB_TOKEN:
17+
ESP32C2_4MB_G2_TOKEN:
1818
required: false
1919
ESP32C2_2MB_TOKEN:
2020
required: false
@@ -41,8 +41,8 @@ jobs:
4141
echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB \"${{ secrets.ESP32C2_2MB_TOKEN }}\"" >> at_ota_token.h
4242
echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB \"${{ secrets.ESP32C2_4MB_TOKEN }}\"" >> at_ota_token.h
4343
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
44+
echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB_G2 \"${{ secrets.ESP32C2_4MB_G2_TOKEN }}\"" >> at_ota_token.h
45+
echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB_G2 \"${{ secrets.ESP32C2_4MB_G2_TOKEN }}\"" >> at_ota_token.h
4646
cd -
4747
- name: Install environment variables
4848
run: |

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ jobs:
101101
artifacts_name: esp32c2-4MB-at
102102
secrets: inherit
103103

104-
build-esp32c2-eco4-4mb-at:
104+
build-esp32c2-4mb-g2-at:
105105
uses: ./.github/workflows/build_template_esp32c2.yml
106106
with:
107-
module_name: ESP32C2-ECO4-4MB
108-
artifacts_name: esp32c2-eco4-4MB-at
107+
module_name: ESP32C2-4MB-G2
108+
artifacts_name: esp32c2-4MB-g2-at
109109
secrets: inherit
110110

111111
build-esp32c2-2mb-at:

.gitlab/ci/build_esp32c2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ esp32c2_4mb_at:
1414
variables:
1515
MODULE_NAME: "ESP32C2-4MB"
1616

17-
esp32c2_eco4_4mb_at:
17+
esp32c2_4mb_g2_at:
1818
extends:
1919
- .build_template_esp32c2
2020
- .rules:build:build_project
2121
variables:
22-
MODULE_NAME: "ESP32C2-ECO4-4MB"
22+
MODULE_NAME: "ESP32C2-4MB-G2"
2323

2424
esp32c2_ble_2mb_at:
2525
extends:

.gitlab/ci/build_template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
- echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_2MB \"$ESP32C2_2MB_TOKEN\"" >> at_ota_token.h
8585
- echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB \"$ESP32C2_4MB_TOKEN\"" >> at_ota_token.h
8686
- 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
87+
- echo -e "#define CONFIG_ESP_AT_OTA_TOKEN_ESP32C2_4MB_G2 \"$ESP32C2_4MB_G2_TOKEN\"" >> at_ota_token.h
88+
- echo -e "#define CONFIG_ESP_AT_OTA_SSL_TOKEN_ESP32C2_4MB_G2 \"$ESP32C2_4MB_G2_TOKEN\"" >> at_ota_token.h
8989
- cd -
9090

9191
.setup_tokens_esp32c3: &setup_tokens_esp32c3

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,13 @@ endif()
111111

112112
# add the extra custom components
113113
if (DEFINED ENV{AT_CUSTOM_COMPONENTS})
114-
list(APPEND EXTRA_COMPONENT_DIRS $ENV{AT_CUSTOM_COMPONENTS})
115-
message("add extra custom components: $ENV{AT_CUSTOM_COMPONENTS}")
114+
set(AT_CUSTOM_COMPONENTS "$ENV{AT_CUSTOM_COMPONENTS}")
115+
string(STRIP "${AT_CUSTOM_COMPONENTS}" AT_CUSTOM_COMPONENTS)
116+
while("${AT_CUSTOM_COMPONENTS}" MATCHES " ")
117+
string(REPLACE " " " " AT_CUSTOM_COMPONENTS "${AT_CUSTOM_COMPONENTS}")
118+
endwhile()
119+
string(REPLACE " " ";" AT_CUSTOM_COMPONENTS "${AT_CUSTOM_COMPONENTS}")
120+
list(APPEND EXTRA_COMPONENT_DIRS ${AT_CUSTOM_COMPONENTS})
116121
endif()
117122

118123
if (EXTRA_COMPONENT_DIRS)

components/at/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,7 @@ set_property(TARGET ${LIBS} PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DI
8181
target_link_libraries(${COMPONENT_LIB} INTERFACE ${LIBS})
8282
set_property(TARGET ${LIBS} APPEND PROPERTY INTERFACE_LINK_LIBRARIES ${COMPONENT_LIB})
8383

84+
target_link_options(${COMPONENT_LIB} INTERFACE "-Wl,--wrap=esp_partition_find_first")
85+
8486
# force the referencing of some symbols
8587
include (force_symbol_ref.cmake)

components/at/lib/VERSION

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ESP32: 752008f
2-
ESP32C3: 752008f
3-
ESP32C2: 752008f
4-
ESP32C5: 8834929
5-
ESP32C6: 752008f
6-
ESP32S2: 752008f
1+
ESP32: 285d735
2+
ESP32C3: 285d735
3+
ESP32C2: 285d735
4+
ESP32C5: 285d735
5+
ESP32C6: 285d735
6+
ESP32S2: 285d735
-814 Bytes
Binary file not shown.
794 Bytes
Binary file not shown.
-1.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)