<commit_before>/**
 * \file
 * \brief distortos configuration
 *
 * \author Copyright (C) 2014-2015 <NAME> http://www.distortec.com http://www.freddiechopin.info
 *
 * \par License
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
 * distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * \date 2015-03-14
 */

#ifndef INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_
#define INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_

/**
 * \brief chip used by system
 */

#define CONFIG_CHIP_STM32F407

/**
 * \brief max priority (inclusive) of interrupt handlers that can use system's functions
 *
 * \note "lower" priority has "higher" numeric value
 */

#define CONFIG_ARCHITECTURE_ARMV7_M_KERNEL_BASEPRI 8

/**
 * \brief frequency of timer used for system ticks, Hz
 */

#define CONFIG_TICK_CLOCK 16000000

/**
 * \brief system's tick rate, Hz
 */

#define CONFIG_TICK_RATE_HZ 1000

/**
 * \brief round-robin rate, Hz
 */

#define CONFIG_ROUND_ROBIN_RATE_HZ	10

/**
 * \brief selects whether reception of signals is enabled (1) or disabled (0) for main thread
 */

#define CONFIG_MAIN_THREAD_CAN_RECEIVE_SIGNALS	0

#endif	/* INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_ */
<commit_msg>distortosConfiguration.h: add new #define which max number of queued signals for main thread - CONFIG_MAIN_THREAD_QUEUED_SIGNALS<commit_after>/**
 * \file
 * \brief distortos configuration
 *
 * \author Copyright (C) 2014-2015 <NAME> http://www.distortec.com http://www.freddiechopin.info
 *
 * \par License
 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
 * distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * \date 2015-04-01
 */

#ifndef INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_
#define INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_

/**
 * \brief chip used by system
 */

#define CONFIG_CHIP_STM32F407

/**
 * \brief max priority (inclusive) of interrupt handlers that can use system's functions
 *
 * \note "lower" priority has "higher" numeric value
 */

#define CONFIG_ARCHITECTURE_ARMV7_M_KERNEL_BASEPRI 8

/**
 * \brief frequency of timer used for system ticks, Hz
 */

#define CONFIG_TICK_CLOCK 16000000

/**
 * \brief system's tick rate, Hz
 */

#define CONFIG_TICK_RATE_HZ 1000

/**
 * \brief round-robin rate, Hz
 */

#define CONFIG_ROUND_ROBIN_RATE_HZ	10

/**
 * \brief selects whether reception of signals is enabled (1) or disabled (0) for main thread
 */

#define CONFIG_MAIN_THREAD_CAN_RECEIVE_SIGNALS	0

/**
 * \brief max number of queued signals for main thread, relevant only if CONFIG_MAIN_THREAD_CAN_RECEIVE_SIGNALS == 1,
 * 0 to disable queuing of signals for main thread
 */

#define CONFIG_MAIN_THREAD_QUEUED_SIGNALS	0

#endif	/* INCLUDE_DISTORTOS_DISTORTOSCONFIGURATION_H_ */

{'fraction_non_alphanumeric': 0.09498956158663883, 'fraction_numerical': 0.031663187195546276, 'mean_word_length': 4.115658362989324, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '6602164', 'n_tokens_mistral': 1066, 'n_tokens_neox': 955, 'n_words': 299}