ESP8684: add driver esp_pm heap support

This commit is contained in:
Cao Sen Miao
2021-11-06 17:26:37 +08:00
parent 36f6d16b8d
commit a9f0a3531e
20 changed files with 381 additions and 79 deletions

View File

@@ -53,7 +53,7 @@ typedef struct {
} timer_obj_t;
static timer_obj_t *p_timer_obj[TIMER_GROUP_MAX][TIMER_MAX] = {0};
static portMUX_TYPE timer_spinlock[TIMER_GROUP_MAX] = {portMUX_INITIALIZER_UNLOCKED, portMUX_INITIALIZER_UNLOCKED};
static portMUX_TYPE timer_spinlock[TIMER_GROUP_MAX] = { [0 ... TIMER_GROUP_MAX - 1] = portMUX_INITIALIZER_UNLOCKED, };
esp_err_t timer_get_counter_value(timer_group_t group_num, timer_idx_t timer_num, uint64_t *timer_val)
{