<commit_before>#############################################################
#
# detect_radio_module
#
# <NAME> <<EMAIL>>
# https://github.com/alexreinert/piVCCU/tree/master/detect_radio_module
#
#############################################################

DETECT_RADIO_MODULE_VERSION = 980d65b1398a78a4e565681e2149bee6fcb04269
DETECT_RADIO_MODULE_SITE = $(call github,alexreinert,piVCCU,$(DETECT_RADIO_MODULE_VERSION))
DETECT_RADIO_MODULE_LICENSE = Apache-2.0

define DETECT_RADIO_MODULE_BUILD_CMDS
  $(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" \
    CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
    LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)/detect_radio_module
endef

define DETECT_RADIO_MODULE_INSTALL_TARGET_CMDS
  $(INSTALL) -D -m 0755 $(@D)/detect_radio_module/detect_radio_module $(TARGET_DIR)/bin/detect_radio_module
endef

$(eval $(generic-package))<commit_msg>updated detect_radio_module to latest version supporting an improved soft-reset mechanism.<commit_after>#############################################################
#
# detect_radio_module
#
# <NAME> <<EMAIL>>
# https://github.com/alexreinert/piVCCU/tree/master/detect_radio_module
#
#############################################################

DETECT_RADIO_MODULE_VERSION = f458155502b3272a179060923a241762e8ae725d
DETECT_RADIO_MODULE_SITE = $(call github,alexreinert,piVCCU,$(DETECT_RADIO_MODULE_VERSION))
DETECT_RADIO_MODULE_LICENSE = Apache-2.0

define DETECT_RADIO_MODULE_BUILD_CMDS
  $(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" \
    CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
    LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)/detect_radio_module
endef

define DETECT_RADIO_MODULE_INSTALL_TARGET_CMDS
  $(INSTALL) -D -m 0755 $(@D)/detect_radio_module/detect_radio_module $(TARGET_DIR)/bin/detect_radio_module
endef

$(eval $(generic-package))
{'fraction_non_alphanumeric': 0.23864258347016967, 'fraction_numerical': 0.03940886699507389, 'mean_word_length': 9.043956043956044, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3523726', 'n_tokens_mistral': 711, 'n_tokens_neox': 607, 'n_words': 78}