set(COMPONENT_WRITE_STRIP_PEDANTIC_FLAGS 1)

idf_component_register(SRC_DIRS "source"  "source/report" "SH2"

                    INCLUDE_DIRS "." "include" "include/report" "include/callback" "SH2"
                    REQUIRES driver esp_timer cmock)

target_compile_options(${COMPONENT_LIB} PRIVATE 
                       "-Wno-gnu-array-member-paren-init" 
                       "-Wno-parentheses-equality"
                       "-Wno-template-in-declaration-name"
                       "-w"
)
