2018-01-12 02:49:13 +00:00
|
|
|
set(COMPONENT_SRCDIRS "src")
|
|
|
|
|
|
|
|
if(${BOOTLOADER_BUILD})
|
2018-08-16 05:01:43 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include include_bootloader")
|
2018-03-22 06:27:10 +00:00
|
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
set(COMPONENT_PRIV_REQUIRES spi_flash micro-ecc)
|
2018-01-12 02:49:13 +00:00
|
|
|
else()
|
2018-02-27 04:45:30 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
2018-08-16 05:01:43 +00:00
|
|
|
set(COMPONENT_PRIV_INCLUDEDIRS "include_bootloader")
|
2018-03-22 06:27:10 +00:00
|
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
set(COMPONENT_PRIV_REQUIRES spi_flash mbedtls micro-ecc)
|
2018-01-12 02:49:13 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
register_component()
|