Skip to content

Commit a1c1f69

Browse files
authored
Merge branch 'espressif:release/v5.3' into release/v5.3
2 parents 1c3749f + 489d7a2 commit a1c1f69

File tree

228 files changed

+4572
-1865
lines changed

Some content is hidden

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

228 files changed

+4572
-1865
lines changed

.gitlab/ci/docs.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,6 @@ build_docs_html_partial:
139139
- DOCLANG: "zh_CN"
140140
DOCTGT: "esp32p4"
141141

142-
build_docs_pdf:
143-
extends:
144-
- .build_docs_template
145-
- .doc-rules:build:docs-full
146-
artifacts:
147-
when: always
148-
paths:
149-
- docs/_build/*/*/latex/*
150-
expire_in: 4 days
151-
allow_failure: true # TODO IDFCI-2216
152-
variables:
153-
DOC_BUILDERS: "latex"
154-
155142
.deploy_docs_template:
156143
image: $ESP_IDF_DOC_ENV_IMAGE
157144
variables:
@@ -180,8 +167,6 @@ deploy_docs_preview:
180167
optional: true
181168
- job: build_docs_html_full
182169
optional: true
183-
- job: build_docs_pdf
184-
optional: true
185170
variables:
186171
TYPE: "preview"
187172
# older branches use DOCS_DEPLOY_KEY, DOCS_SERVER, DOCS_SERVER_USER, DOCS_PATH for preview server so we keep these names for 'preview'
@@ -202,7 +187,6 @@ deploy_docs_production:
202187
dependencies: # set dependencies to null to avoid missing artifacts issue
203188
needs: # ensure runs after push_to_github succeeded
204189
- build_docs_html_full
205-
- build_docs_pdf
206190
- job: push_to_github
207191
artifacts: false
208192
variables:

components/app_update/test_apps/.build-test-rules.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

components/app_update/test_apps/pytest_app_update_ut.py

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
2+
3+
components/app_update/test_apps:
4+
enable:
5+
- if: CONFIG_NAME == "defaults" and IDF_TARGET != "linux"
6+
- if: CONFIG_NAME == "xip_psram" and IDF_TARGET in ["esp32s2", "esp32s3", "esp32p4"]
7+
# S2 doesn't have ROM for flash
8+
- if: CONFIG_NAME == "xip_psram_with_rom_impl" and IDF_TARGET in ["esp32s3", "esp32p4"]
9+
disable:
10+
- if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32c5", "esp32c61"]
11+
temporary: true
12+
reason: target esp32c6, esp32h2 esp32c5 is not supported yet # TODO: [ESP32C5] IDF-8638
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
idf_component_register(SRC_DIRS "."
22
PRIV_INCLUDE_DIRS "."
3-
PRIV_REQUIRES cmock test_utils app_update bootloader_support nvs_flash driver spi_flash
3+
PRIV_REQUIRES cmock test_utils app_update bootloader_support nvs_flash driver spi_flash esp_psram
44
WHOLE_ARCHIVE)

components/app_update/test_apps/main/test_ota_ops.c renamed to components/app_update/test_apps/test_app_update/main/test_ota_ops.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <stdio.h>
77
#include <stdlib.h>
88
#include <string.h>
9+
#include "esp_log.h"
910
#include <freertos/FreeRTOS.h>
1011
#include <freertos/task.h>
1112
#include <freertos/semphr.h>
@@ -113,3 +114,11 @@ TEST_CASE("esp_ota_get_partition_description", "[ota]")
113114
};
114115
TEST_ESP_ERR(ESP_ERR_NOT_FOUND, bootloader_common_get_partition_description(&not_app_pos, &app_desc1));
115116
}
117+
118+
TEST_CASE("esp_ota_get_running_partition points to correct address", "[spi_flash]")
119+
{
120+
const esp_partition_t *factory = esp_partition_find_first(ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_ANY, "factory");
121+
const esp_partition_t* part = esp_ota_get_running_partition();
122+
ESP_LOGI("running bin", "0x%p", (void*)part->address);
123+
TEST_ASSERT_EQUAL_HEX32(factory->address, part->address);
124+
}

components/app_update/test_apps/main/test_switch_ota.c renamed to components/app_update/test_apps/test_app_update/main/test_switch_ota.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ static void test_flow6(void)
842842
TEST_CASE_MULTIPLE_STAGES("Switching between factory, OTA0 using esp_ota_write_with_offset", "[app_update][timeout=90][reset=DEEPSLEEP_RESET, DEEPSLEEP_RESET]", start_test, test_flow6, test_flow6);
843843

844844
//IDF-5145
845-
TEST_CASE("Test bootloader_common_get_sha256_of_partition returns ESP_ERR_IMAGE_INVALID when image is ivalid", "[partitions]")
845+
TEST_CASE("Test bootloader_common_get_sha256_of_partition returns ESP_ERR_IMAGE_INVALID when image is invalid", "[partitions]")
846846
{
847847
const esp_partition_t *cur_app = esp_ota_get_running_partition();
848848
ESP_LOGI(TAG, "copy current app to next part");

0 commit comments

Comments
 (0)