mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
fix(esp32c5): fixed the lack of crosscore ll on c5
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2019-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2019-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -145,6 +145,12 @@ extern "C" {
|
||||
#define PMU_SLEEP_PD_RC32K BIT(13)
|
||||
#define PMU_SLEEP_PD_LP_PERIPH BIT(14)
|
||||
|
||||
/**
|
||||
* This macro only used for detecting whether the enums are declared
|
||||
* So that to avoid use the enum when PMU is not supported
|
||||
*/
|
||||
#define ESP_PMU_ENUMS_DECLARED
|
||||
|
||||
typedef struct {
|
||||
pmu_hal_context_t *hal;
|
||||
void *mc;
|
||||
|
Reference in New Issue
Block a user