Merge branch 'feat/sleep_retention_expand_module_bitmap' into 'master'

expand the number of sleep retention modules supported on different chips

Closes PM-230

See merge request espressif/esp-idf!33755
This commit is contained in:
Jiang Jiang Jian
2024-11-20 14:50:35 +08:00
49 changed files with 735 additions and 585 deletions

View File

@@ -268,7 +268,7 @@ static i2s_controller_t *i2s_acquire_controller_obj(int id)
.arg = i2s_obj,
},
},
.depends = BIT(SLEEP_RETENTION_MODULE_CLOCK_SYSTEM)
.depends = RETENTION_MODULE_BITMAP_INIT(CLOCK_SYSTEM)
};
if (sleep_retention_module_init(module, &init_param) == ESP_OK) {
i2s_obj->slp_retention_mod = module;