mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/add_ieee8020154_only_caps_for_esp32hx' into 'master'
soc: add ieee8020154_ble_only cap for esp32hx See merge request espressif/esp-idf!21824
This commit is contained in:
commit
8a095a74d4
@ -46,7 +46,7 @@ void periph_module_reset(periph_module_t periph)
|
||||
portEXIT_CRITICAL_SAFE(&periph_spinlock);
|
||||
}
|
||||
|
||||
#if CONFIG_ESP32_WIFI_ENABLED
|
||||
#if !SOC_IEEE802154_BLE_ONLY
|
||||
IRAM_ATTR void wifi_bt_common_module_enable(void)
|
||||
{
|
||||
#if SOC_MODEM_CLOCK_IS_INDEPENDENT
|
||||
@ -74,7 +74,9 @@ IRAM_ATTR void wifi_bt_common_module_disable(void)
|
||||
portEXIT_CRITICAL_SAFE(&periph_spinlock);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP32_WIFI_ENABLED
|
||||
void wifi_module_enable(void)
|
||||
{
|
||||
#if SOC_MODEM_CLOCK_IS_INDEPENDENT
|
||||
|
@ -15,7 +15,7 @@ else()
|
||||
set(ldfragments "linker.lf")
|
||||
endif()
|
||||
|
||||
if(IDF_TARGET STREQUAL "esp32h4")
|
||||
if(CONFIG_SOC_IEEE802154_BLE_ONLY)
|
||||
list(APPEND srcs "src/phy_init_esp32hxx.c")
|
||||
else()
|
||||
list(APPEND srcs "src/phy_init.c")
|
||||
|
@ -7,6 +7,10 @@ config SOC_IEEE802154_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_IEEE802154_BLE_ONLY
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_EFUSE_KEY_PURPOSE_FIELD
|
||||
bool
|
||||
default y
|
||||
|
@ -33,6 +33,7 @@
|
||||
// #define SOC_TWAI_SUPPORTED 1 // TODO: IDF-6217
|
||||
// #define SOC_BT_SUPPORTED 1 // TODO: IDF-6416
|
||||
#define SOC_IEEE802154_SUPPORTED 1
|
||||
#define SOC_IEEE802154_BLE_ONLY 1
|
||||
// #define SOC_ASYNC_MEMCPY_SUPPORTED 1 // TODO: IDF-6238
|
||||
// #define SOC_USB_SERIAL_JTAG_SUPPORTED 1 // TODO: IDF-6239
|
||||
// #define SOC_TEMP_SENSOR_SUPPORTED 1 // TODO: IDF-6229
|
||||
|
@ -27,6 +27,10 @@ config SOC_IEEE802154_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_IEEE802154_BLE_ONLY
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_ASYNC_MEMCPY_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
@ -39,6 +39,7 @@
|
||||
#define SOC_TWAI_SUPPORTED 1
|
||||
#define SOC_BT_SUPPORTED 1
|
||||
#define SOC_IEEE802154_SUPPORTED 1
|
||||
#define SOC_IEEE802154_BLE_ONLY 1
|
||||
#define SOC_ASYNC_MEMCPY_SUPPORTED 1
|
||||
#define SOC_USB_SERIAL_JTAG_SUPPORTED 1
|
||||
#define SOC_SUPPORTS_SECURE_DL_MODE 1
|
||||
|
Loading…
Reference in New Issue
Block a user