mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
ci: fix invalid kconfig options in system test apps
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||
|
||||
components/esp_common/test_apps/esp_common:
|
||||
disable:
|
||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||
@@ -1,4 +1,3 @@
|
||||
# For EXT_RAM_BSS_ATTR
|
||||
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||
|
||||
components/esp_system/test_apps/esp_system_unity_tests:
|
||||
disable:
|
||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||
|
||||
components/esp_system/test_apps/linux_apis:
|
||||
enable:
|
||||
- if: IDF_TARGET == "linux"
|
||||
|
||||
@@ -2,7 +2,8 @@ set(requires "unity"
|
||||
"test_utils"
|
||||
"driver"
|
||||
"esp_timer"
|
||||
"nvs_flash")
|
||||
"nvs_flash"
|
||||
"esp_psram")
|
||||
|
||||
set(SRC "test_app_main.c"
|
||||
"test_backtrace.c"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
#include <inttypes.h>
|
||||
#include "unity.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_task_wdt.h"
|
||||
@@ -338,7 +339,7 @@ static int fibonacci(int n, void* func(void))
|
||||
uint32_t base, start;
|
||||
RSR(WINDOWBASE, base);
|
||||
RSR(WINDOWSTART, start);
|
||||
printf("WINDOWBASE = %-2d WINDOWSTART = 0x%x\n", base, start);
|
||||
printf("WINDOWBASE = %-2"PRIi32" WINDOWSTART = 0x%"PRIx32"\n", base, start);
|
||||
if (n <= 1) {
|
||||
StackType_t *last_addr_stack = esp_cpu_get_sp();
|
||||
StackType_t *used_stack = (StackType_t *) (start_addr_stack - last_addr_stack);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "../../private_include"
|
||||
PRIV_REQUIRES cmock test_utils esp_timer spi_flash
|
||||
PRIV_REQUIRES cmock test_utils esp_timer spi_flash esp_psram
|
||||
WHOLE_ARCHIVE)
|
||||
|
||||
@@ -6,7 +6,6 @@ CONFIG_FREERTOS_HZ=500
|
||||
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=y
|
||||
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|
||||
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=n
|
||||
CONFIG_FREERTOS_LEGACY_HOOKS=y
|
||||
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
|
||||
CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP=y
|
||||
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=10
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||
|
||||
components/heap/test_apps/heap_tests:
|
||||
disable:
|
||||
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
|
||||
- if: CONFIG_NAME == "psram_all_ext" and SOC_SPIRAM_SUPPORTED != 1
|
||||
|
||||
components/heap/test_apps/host_test_linux:
|
||||
enable:
|
||||
- if: IDF_TARGET == "linux"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
CONFIG_IDF_TARGET="esp32"
|
||||
CONFIG_FREERTOS_UNICORE=y
|
||||
CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY=y
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
CONFIG_IDF_TARGET="esp32"
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_HEAP_TRACING_STANDALONE=y
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
CONFIG_IDF_TARGET="esp32"
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
|
||||
CONFIG_HEAP_TRACING_STANDALONE=y
|
||||
|
||||
Reference in New Issue
Block a user