Files
esp-idf/examples/peripherals/i2c/i2c_eeprom/main/CMakeLists.txt
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00

6 lines
171 B
CMake

set(srcs "i2c_eeprom_main.c")
idf_component_register(SRCS ${srcs}
PRIV_REQUIRES esp_driver_i2c i2c_eeprom
INCLUDE_DIRS ".")