Skip to content

Commit 9a88eff

Browse files
committed
ci: disabled RF soc caps for c5 eco2
Disable the RF soc caps to bypass the build of un-supported RF examples
1 parent 0abc755 commit 9a88eff

File tree

131 files changed

+278
-360
lines changed

Some content is hidden

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

131 files changed

+278
-360
lines changed

.gitlab/ci/default-build-test-rules.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ extra_default_build_targets:
1515
bypass_check_test_targets:
1616
- esp32h21
1717
- esp32h4
18+
- esp32c5
1819

1920
#
2021
# These lines would

Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
119119
select FREERTOS_UNICORE
120120
select IDF_TARGET_ARCH_RISCV
121121
# TODO: [ESPTOOL-1044] remove when stub supported
122-
select ESPTOOLPY_NO_STUB
122+
select IDF_ENV_BRINGUP
123123

124124
config IDF_TARGET_ESP32P4
125125
bool

components/esp_hw_support/lowpower/port/esp32c5/sleep_clock.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ bool clock_domain_pd_allowed(void)
118118
* necessary to check the state of CLOCK_MODEM to determine MODEM domain on
119119
* or off. The clock and reset of digital peripherals are managed through
120120
* PCR, with TOP domain similar to MODEM domain. */
121+
#if SOC_WIFI_SUPPORTED || SOC_BLE_SUPPORTED || SOC_IEEE802154_SUPPORTED
121122
sleep_retention_module_bitmap_t modem_clk_dep_modules = (sleep_retention_module_bitmap_t){ .bitmap = { 0 } };
123+
#endif
122124
#if SOC_WIFI_SUPPORTED
123125
modem_clk_dep_modules.bitmap[SLEEP_RETENTION_MODULE_WIFI_MAC >> 5] |= BIT(SLEEP_RETENTION_MODULE_WIFI_MAC % 32);
124126
modem_clk_dep_modules.bitmap[SLEEP_RETENTION_MODULE_WIFI_BB >> 5] |= BIT(SLEEP_RETENTION_MODULE_WIFI_BB % 32);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
33

components/soc/esp32c5/include/soc/Kconfig.soc_caps.in

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ config SOC_TEMP_SENSOR_SUPPORTED
6363
bool
6464
default y
6565

66-
config SOC_WIFI_SUPPORTED
67-
bool
68-
default y
69-
7066
config SOC_SUPPORTS_SECURE_DL_MODE
7167
bool
7268
default y
@@ -163,10 +159,6 @@ config SOC_SECURE_BOOT_SUPPORTED
163159
bool
164160
default y
165161

166-
config SOC_IEEE802154_SUPPORTED
167-
bool
168-
default y
169-
170162
config SOC_BOD_SUPPORTED
171163
bool
172164
default y
@@ -247,14 +239,6 @@ config SOC_SPIRAM_SUPPORTED
247239
bool
248240
default y
249241

250-
config SOC_BT_SUPPORTED
251-
bool
252-
default y
253-
254-
config SOC_PHY_SUPPORTED
255-
bool
256-
default y
257-
258242
config SOC_BITSCRAMBLER_SUPPORTED
259243
bool
260244
default y
@@ -1611,78 +1595,6 @@ config SOC_TEMPERATURE_SENSOR_UNDER_PD_TOP_DOMAIN
16111595
bool
16121596
default y
16131597

1614-
config SOC_WIFI_HW_TSF
1615-
bool
1616-
default y
1617-
1618-
config SOC_WIFI_FTM_SUPPORT
1619-
bool
1620-
default n
1621-
1622-
config SOC_WIFI_GCMP_SUPPORT
1623-
bool
1624-
default y
1625-
1626-
config SOC_WIFI_WAPI_SUPPORT
1627-
bool
1628-
default y
1629-
1630-
config SOC_WIFI_CSI_SUPPORT
1631-
bool
1632-
default y
1633-
1634-
config SOC_WIFI_MESH_SUPPORT
1635-
bool
1636-
default y
1637-
1638-
config SOC_WIFI_HE_SUPPORT
1639-
bool
1640-
default y
1641-
1642-
config SOC_WIFI_SUPPORT_5G
1643-
bool
1644-
default y
1645-
1646-
config SOC_WIFI_MAC_VERSION_NUM
1647-
int
1648-
default 3
1649-
1650-
config SOC_WIFI_NAN_SUPPORT
1651-
bool
1652-
default y
1653-
1654-
config SOC_BLE_SUPPORTED
1655-
bool
1656-
default y
1657-
1658-
config SOC_BLE_MESH_SUPPORTED
1659-
bool
1660-
default y
1661-
1662-
config SOC_ESP_NIMBLE_CONTROLLER
1663-
bool
1664-
default y
1665-
1666-
config SOC_BLE_50_SUPPORTED
1667-
bool
1668-
default y
1669-
1670-
config SOC_BLE_DEVICE_PRIVACY_SUPPORTED
1671-
bool
1672-
default y
1673-
1674-
config SOC_BLE_POWER_CONTROL_SUPPORTED
1675-
bool
1676-
default y
1677-
1678-
config SOC_BLE_MULTI_CONN_OPTIMIZATION
1679-
bool
1680-
default y
1681-
1682-
config SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
1683-
bool
1684-
default y
1685-
16861598
config SOC_LP_CORE_SINGLE_INTERRUPT_VECTOR
16871599
bool
16881600
default y

components/soc/esp32c5/include/soc/interrupts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ typedef enum {
8585
ETS_PCNT_INTR_SOURCE,
8686
ETS_PARL_IO_TX_INTR_SOURCE,
8787
ETS_PARL_IO_RX_INTR_SOURCE,
88+
ETS_SLC0_INTR_SOURCE,
89+
ETS_SLC1_INTR_SOURCE,
8890
ETS_DMA_IN_CH0_INTR_SOURCE, /**< interrupt of general DMA IN channel 0, LEVEL*/
8991
ETS_DMA_IN_CH1_INTR_SOURCE, /**< interrupt of general DMA IN channel 1, LEVEL*/
9092
ETS_DMA_IN_CH2_INTR_SOURCE, /**< interrupt of general DMA IN channel 2, LEVEL*/

components/soc/esp32c5/include/soc/soc_caps.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define SOC_ASYNC_MEMCPY_SUPPORTED 1
3333
#define SOC_USB_SERIAL_JTAG_SUPPORTED 1
3434
#define SOC_TEMP_SENSOR_SUPPORTED 1
35-
#define SOC_WIFI_SUPPORTED 1
35+
// #define SOC_WIFI_SUPPORTED 1 // TODO: [ESP32C5 ECO2] IDF-12820
3636
#define SOC_SUPPORTS_SECURE_DL_MODE 1
3737
#define SOC_LP_CORE_SUPPORTED 1
3838
#define SOC_ULP_SUPPORTED 1
@@ -57,7 +57,7 @@
5757
#define SOC_ECC_EXTENDED_MODES_SUPPORTED 1
5858
#define SOC_FLASH_ENC_SUPPORTED 1
5959
#define SOC_SECURE_BOOT_SUPPORTED 1
60-
#define SOC_IEEE802154_SUPPORTED 1
60+
// #define SOC_IEEE802154_SUPPORTED 1 // TODO: [ESP32C5 ECO2] IDF-12824
6161
#define SOC_BOD_SUPPORTED 1
6262
#define SOC_APM_SUPPORTED 1 /*!< Support for APM peripheral */
6363
#define SOC_PMU_SUPPORTED 1
@@ -81,8 +81,8 @@
8181
#define SOC_PM_SUPPORTED 1
8282

8383
#define SOC_SPIRAM_SUPPORTED 1
84-
#define SOC_BT_SUPPORTED 1
85-
#define SOC_PHY_SUPPORTED 1
84+
// #define SOC_BT_SUPPORTED 1 // TODO: [ESP32C5 ECO2] IDF-12822
85+
// #define SOC_PHY_SUPPORTED 1 // TODO: [ESP32C5 ECO2] IDF-12823
8686
#define SOC_BITSCRAMBLER_SUPPORTED 1
8787

8888
/*-------------------------- XTAL CAPS ---------------------------------------*/
@@ -644,26 +644,26 @@
644644
#define SOC_TEMPERATURE_SENSOR_UNDER_PD_TOP_DOMAIN (1)
645645

646646
/*------------------------------------ WI-FI CAPS ------------------------------------*/
647-
#define SOC_WIFI_HW_TSF (1) /*!< Support hardware TSF */
648-
#define SOC_WIFI_FTM_SUPPORT (0) /*!< Support FTM */ // TODO: [ESP32C5] WIFI-6426
649-
#define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */
650-
#define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
651-
#define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
652-
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */
653-
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
654-
#define SOC_WIFI_SUPPORT_5G (1) /*!< Support 5G */
655-
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
656-
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
647+
// #define SOC_WIFI_HW_TSF (1) /*!< Support hardware TSF */ // // TODO: [ESP32C5 ECO2] IDF-12820
648+
// #define SOC_WIFI_FTM_SUPPORT (0) /*!< Support FTM */ // TODO: [ESP32C5] WIFI-6426
649+
// #define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */
650+
// #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
651+
// #define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
652+
// #define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */
653+
// #define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
654+
// #define SOC_WIFI_SUPPORT_5G (1) /*!< Support 5G */
655+
// #define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
656+
// #define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
657657

658658
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
659-
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
660-
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
661-
#define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
662-
#define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
663-
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
664-
#define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
665-
#define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
666-
#define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
659+
// #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ // TODO: [ESP32C5 ECO2] IDF-12822
660+
// #define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
661+
// #define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
662+
// #define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
663+
// #define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
664+
// #define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
665+
// #define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
666+
// #define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
667667

668668
/*------------------------------------- PHY CAPS -------------------------------------*/
669669
// #define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/

components/wpa_supplicant/test_apps/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# wpa_supplicant unit test
55

docs/conf_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285

286286
ESP32C2_DOCS = ['api-guides/RF_calibration.rst', 'api-guides/phy.rst']
287287

288-
ESP32C5_DOCS = ['api-guides/phy.rst']
288+
ESP32C5_DOCS = [] # TODO: [ESP32C5 ECO2] IDF-12823 add back 'api-guides/phy.rst'
289289

290290
ESP32C61_DOCS = ['api-guides/phy.rst']
291291

0 commit comments

Comments
 (0)