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