refactor(jpeg): Split hal layer for jpeg

This commit is contained in:
C.S.M
2026-02-01 10:15:18 +08:00
committed by morris
parent cd36b54840
commit a3ca5b610d
11 changed files with 34 additions and 8 deletions
@@ -23,6 +23,7 @@ if(CONFIG_SOC_JPEG_CODEC_SUPPORTED)
endif()
endif()
set(requires esp_hal_jpeg)
if(${target} STREQUAL "linux")
set(priv_requires "")
else()
@@ -32,4 +33,5 @@ endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${public_include}
PRIV_REQUIRES "${priv_requires}"
REQUIRES "${requires}"
)