set(COMPONENT_ADD_INCLUDEDIRS .) set(COMPONENT_SRCS "onewire.c" "ds18b20.c") #set(COMPONENT_REQUIRES console spi_flash) register_component()