For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate stored on SDCard.
11 lines
368 B
CMake
11 lines
368 B
CMake
set(COMPONENT_SRCS "thing_shadow_sample.c")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
|
|
register_component()
|
|
|
|
if(CONFIG_EXAMPLE_EMBEDDED_CERTS)
|
|
target_add_binary_data(${COMPONENT_TARGET} "certs/aws-root-ca.pem" TEXT)
|
|
target_add_binary_data(${COMPONENT_TARGET} "certs/certificate.pem.crt" TEXT)
|
|
target_add_binary_data(${COMPONENT_TARGET} "certs/private.pem.key" TEXT)
|
|
endif()
|