<commit_before>/*
 * Copyright (c) 2021 <NAME> <<EMAIL>>
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @file SoC configuration macros for the GigaDevice GD32VF103 processor
 */

#ifndef RISCV_GD32VF103_SOC_H_
#define RISCV_GD32VF103_SOC_H_

#include <soc_common.h>
#include <zephyr/devicetree.h>

/* Timer configuration */
#define RISCV_MTIME_BASE      DT_REG_ADDR_BY_IDX(DT_NODELABEL(mtimer), 0)
#define RISCV_MTIMECMP_BASE   DT_REG_ADDR_BY_IDX(DT_NODELABEL(mtimer), 1)

#ifndef _ASMLANGUAGE
#include <zephyr/toolchain.h>
#include <gd32vf103.h>

/* The GigaDevice HAL headers define this, but it conflicts with the Zephyr can.h */
#undef CAN_MODE_NORMAL

#endif  /* !_ASMLANGUAGE */

#endif  /* RISCV_GD32VF103_SOC_H */<commit_msg>soc: riscv: gd32vf103: remove unnecessary content from soc.h<commit_after>/*
 * Copyright (c) 2021 <NAME> <<EMAIL>>
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @file SoC configuration macros for the GigaDevice GD32VF103 processor
 */

#ifndef RISCV_GD32VF103_SOC_H_
#define RISCV_GD32VF103_SOC_H_

#include <soc_common.h>
#include <zephyr/devicetree.h>

/* Timer configuration */
#define RISCV_MTIME_BASE      DT_REG_ADDR_BY_IDX(DT_NODELABEL(mtimer), 0)
#define RISCV_MTIMECMP_BASE   DT_REG_ADDR_BY_IDX(DT_NODELABEL(mtimer), 1)

#endif  /* RISCV_GD32VF103_SOC_H */
{'fraction_non_alphanumeric': 0.11491628614916286, 'fraction_numerical': 0.0502283105022831, 'mean_word_length': 5.261904761904762, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '1999222', 'n_tokens_mistral': 576, 'n_tokens_neox': 535, 'n_words': 104}