mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-04 11:00:58 +02:00
change(ci): use largeapp partition csv
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
components/esp_driver_tsens/test_apps/temperature_sensor:
|
components/esp_driver_tsens/test_apps/temperature_sensor:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_TEMP_SENSOR_SUPPORTED != 1
|
- if: SOC_TEMP_SENSOR_SUPPORTED != 1
|
||||||
|
- if: IDF_TARGET == "esp32c5" and CONFIG_NAME == "iram_safe"
|
||||||
|
temporary: false
|
||||||
|
reason: Use test_temperature_sensor_cbs_esp32c5 instead, iram_safe need to use single app large partition table on c5
|
||||||
depends_components:
|
depends_components:
|
||||||
- esp_driver_tsens
|
- esp_driver_tsens
|
||||||
- esp_phy
|
- esp_phy
|
||||||
|
@@ -31,11 +31,24 @@ def test_temperature_sensor_driver(dut: Dut) -> None:
|
|||||||
],
|
],
|
||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
@idf_parametrize('target', ['esp32c6', 'esp32h2', 'esp32p4', 'esp32c5', 'esp32c61'], indirect=['target'])
|
@idf_parametrize('target', ['esp32c6', 'esp32h2', 'esp32p4', 'esp32c61'], indirect=['target'])
|
||||||
def test_temperature_sensor_cbs(dut: Dut) -> None:
|
def test_temperature_sensor_cbs(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.generic
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
'config',
|
||||||
|
[
|
||||||
|
'iram_safe_esp32c5',
|
||||||
|
],
|
||||||
|
indirect=True,
|
||||||
|
)
|
||||||
|
@idf_parametrize('target', ['esp32c5'], indirect=['target'])
|
||||||
|
def test_temperature_sensor_cbs_esp32c5(dut: Dut) -> None:
|
||||||
|
dut.run_all_single_board_cases()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.wifi_two_dut
|
@pytest.mark.wifi_two_dut
|
||||||
@pytest.mark.parametrize('count', [2], indirect=True)
|
@pytest.mark.parametrize('count', [2], indirect=True)
|
||||||
@idf_parametrize('target', ['esp32s2', 'esp32c3', 'esp32s3', 'esp32c2', 'esp32c6', 'esp32c61'], indirect=['target'])
|
@idf_parametrize('target', ['esp32s2', 'esp32c3', 'esp32s3', 'esp32c2', 'esp32c6', 'esp32c61'], indirect=['target'])
|
||||||
|
@@ -0,0 +1,9 @@
|
|||||||
|
CONFIG_IDF_TARGET="esp32c5"
|
||||||
|
CONFIG_COMPILER_DUMP_RTL_FILES=y
|
||||||
|
CONFIG_TEMP_SENSOR_ISR_IRAM_SAFE=y
|
||||||
|
CONFIG_COMPILER_OPTIMIZATION_NONE=y
|
||||||
|
# silent the error check, as the error string are stored in rodata, causing RTL check failure
|
||||||
|
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
|
||||||
|
# place non-ISR FreeRTOS functions in Flash
|
||||||
|
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
|
||||||
|
CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
|
@@ -0,0 +1 @@
|
|||||||
|
CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
|
Reference in New Issue
Block a user