add some code

This commit is contained in:
2025-09-05 13:25:11 +08:00
parent 9ff0a99e7a
commit 3cf1229a85
8911 changed files with 2535396 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
set(sources "jpeg_decoder.c")
set(includes "include")
# Compile only when cannot use ROM code
if(NOT CONFIG_JD_USE_ROM)
list(APPEND sources "tjpgd/tjpgd.c")
list(APPEND includes "tjpgd")
endif()
if(CONFIG_JD_DEFAULT_HUFFMAN)
list(APPEND sources "jpeg_default_huffman_table.c")
endif()
idf_component_register(SRCS ${sources} INCLUDE_DIRS ${includes})