<commit_before>/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-05     liYony       first version
 */

#ifndef Pins_Arduino_h
#define Pins_Arduino_h

/* pins alias. Must keep in sequence */
#define D0   (0)
#define D1   (1)
#define D2   (2)
#define D3   (3)
#define D4   (4)
#define D5   (5)
#define D6   (6)
#define D7   (7)
#define D8   (8)
#define D9   (9)
#define D10  (10)
#define D11  (11)
#define D12  (12)
#define D13  (13)
#define A0   (14)
#define A1   (15)
#define A2   (16)
#define A3   (17)
#define A4   (18)
#define A5   (19)
#define A6   (20)

#define F_CPU  72000000L /* CPU: 72MHz */
#define LED_BUILTIN  D8 /* Default Built-in LED */

/*
 * i2c1 - PB9-SDA PB8-SCL
 */
#define RTDUINO_DEFAULT_IIC_BUS_NAME            "i2c1"

/*
 * uart2 - PA2-TX  PA3-RX
 * uart3 - PB10-TX PB11-RX
 */
#define RTDUINO_SERIAL2_DEVICE_NAME             "uart2"
#define RTDUINO_SERIAL3_DEVICE_NAME             "uart3"

/*
 * uart2 - PB13-SCK  PB14-MISO  PB15-MOSI
 */
#define RTDUINO_DEFAULT_SPI_BUS_NAME            "spi2"

#endif /* Pins_Arduino_h */<commit_msg>Modify error annotations<commit_after>/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-05     liYony       first version
 */

#ifndef Pins_Arduino_h
#define Pins_Arduino_h

/* pins alias. Must keep in sequence */
#define D0   (0)
#define D1   (1)
#define D2   (2)
#define D3   (3)
#define D4   (4)
#define D5   (5)
#define D6   (6)
#define D7   (7)
#define D8   (8)
#define D9   (9)
#define D10  (10)
#define D11  (11)
#define D12  (12)
#define D13  (13)
#define A0   (14)
#define A1   (15)
#define A2   (16)
#define A3   (17)
#define A4   (18)
#define A5   (19)
#define A6   (20)

#define F_CPU  72000000L /* CPU: 72MHz */
#define LED_BUILTIN  D8 /* Default Built-in LED */

/*
 * i2c1 - PB9-SDA PB8-SCL
 */
#define RTDUINO_DEFAULT_IIC_BUS_NAME            "i2c1"

/*
 * uart2 - PA2-TX  PA3-RX
 * uart3 - PB10-TX PB11-RX
 */
#define RTDUINO_SERIAL2_DEVICE_NAME             "uart2"
#define RTDUINO_SERIAL3_DEVICE_NAME             "uart3"

/*
 * spi2 - PB13-SCK  PB14-MISO  PB15-MOSI
 */
#define RTDUINO_DEFAULT_SPI_BUS_NAME            "spi2"

#endif /* Pins_Arduino_h */
{'fraction_non_alphanumeric': 0.1311336717428088, 'fraction_numerical': 0.09475465313028765, 'mean_word_length': 2.5245901639344264, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3229837', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1017, 'n_words': 260}