<commit_before># -*- tab-width : 4 -*-
#=======================================================================
#   @file
#   @brief  RX66T Makefile
#   @author 平松邦仁 (<EMAIL>)
#	@copyright	Copyright (C) 2018 <NAME> @n
#				Released under the MIT license @n
#				https://github.com/hirakuni45/RX/blob/master/LICENSE
#=======================================================================
TARGET		=	can_sample

DEVICE		=	R5F566TE

BUILD		=	release
# BUILD		=	debug

VPATH		=	../../

ASOURCES	=	common/start.s

CSOURCES	=	common/init.c \
				common/vect.c \
				common/syscalls.c

PSOURCES	=	CAN_sample/main.cpp

USER_LIBS	=

LDSCRIPT	=	../../RX66T/$(DEVICE).ld

USER_DEFS	=	SIG_RX66T \
				F_ICLK=160000000 \
				F_PCLKA=80000000 F_PCLKB=40000000 F_PCLKC=160000000 F_PCLKD=40000000 \
				F_FCLK=40000000 F_BCLK=40000000

# Renesas GNU-RX gcc compiler version check
TARGET_ISA_TEXT := $(shell rx-elf-gcc --target-help | grep ISA)

ifeq ($(TARGET_ISA_TEXT), )
# gcc-7.5.0 current gcc source build
CC_DEFS		=	-mcpu=rx600 -Wa,-mcpu=rxv2
CP_DEFS		=	-mcpu=rx600
else # Renesas GNU-RX gcc-8.3.0<commit_msg>Update: support RX66T, RX71M<commit_after># -*- tab-width : 4 -*-
#=======================================================================
#   @file
#   @brief  RX66T Makefile
#   @author 平松邦仁 (<EMAIL>)
#	@copyright	Copyright (C) 2018 <NAME> @n
#				Released under the MIT license @n
#				https://github.com/hirakuni45/RX/blob/master/LICENSE
#=======================================================================
TARGET		=	can_sample

DEVICE		=	R5F566TE

# BUILD		=	release
BUILD		=	debug

VPATH		=	../../

ASOURCES	=	common/start.s

CSOURCES	=	common/init.c \
				common/vect.c \
				common/syscalls.c

PSOURCES	=	CAN_sample/main.cpp

USER_LIBS	=

LDSCRIPT	=	../../RX66T/$(DEVICE).ld

USER_DEFS	=	SIG_RX66T \
				F_ICLK=160000000 \
				F_PCLKA=80000000 F_PCLKB=40000000 F_PCLKC=160000000 F_PCLKD=40000000 \
				F_FCLK=40000000 F_BCLK=40000000

# Renesas GNU-RX gcc compiler version check
TARGET_ISA_TEXT := $(shell rx-elf-gcc --target-help | grep ISA)

ifeq ($(TARGET_ISA_TEXT), )
# gcc-7.5.0 current gcc source build
CC_DEFS		=	-mcpu=rx600 -Wa,-mcpu=rxv2
CP_DEFS		=	-mcpu=rx600
else # Renesas GNU-RX gcc-8.3.0
{'fraction_non_alphanumeric': 0.24875621890547264, 'fraction_numerical': 0.0814111261872456, 'mean_word_length': 3.8508771929824563, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 14, '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': '5183890', 'n_tokens_mistral': 1086, 'n_tokens_neox': 867, 'n_words': 162}