mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
15 lines
449 B
CMake
15 lines
449 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
if(${target} STREQUAL "linux")
|
|
return() # This component is not supported by the POSIX/Linux simulator
|
|
endif()
|
|
|
|
set(srcs)
|
|
|
|
if(CONFIG_SOC_BITSCRAMBLER_SUPPORTED)
|
|
list(APPEND srcs "src/bitscrambler.c" "src/bitscrambler_loopback.c" "src/bitscrambler_${target}.c")
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
PRIV_REQUIRES "esp_mm"
|
|
INCLUDE_DIRS "include")
|