feat(jpeg): support jpeg sleep retention on esp32p4

This commit is contained in:
C.S.M
2026-03-23 11:18:23 +08:00
committed by BOT
parent b4424ddf4d
commit cb7c429747
17 changed files with 267 additions and 11 deletions
@@ -98,6 +98,8 @@ bool peripheral_domain_pd_allowed(void)
// ESP32P4 supports LCDCAM sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_LCDCAM);
// ESP32P4 supports JPEG sleep retention
RETENTION_MODULE_BITMAP_SET(&mask, SLEEP_RETENTION_MODULE_JPEG);
const sleep_retention_module_bitmap_t peripheral_domain_inited_modules = sleep_retention_module_bitmap_and(inited_modules, mask);
const sleep_retention_module_bitmap_t peripheral_domain_created_modules = sleep_retention_module_bitmap_and(created_modules, mask);