File tree Expand file tree Collapse file tree 7 files changed +238
-247
lines changed
fsp/ra/fsp/src/bsp/mcu/ra8m1 Expand file tree Collapse file tree 7 files changed +238
-247
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,11 @@ set(srcs
1919zephyr_include_directories(${include_dirs} )
2020zephyr_library_sources(${srcs} )
2121
22- message (${CONFIG_SOC_SERIES} )
2322zephyr_include_directories(fsp/ra/fsp/src/bsp/mcu/${CONFIG_SOC_SERIES} )
2423zephyr_include_directories(ra_cfg/fsp_cfg/bsp/${CONFIG_SOC_SERIES} )
2524
2625# Optional build base on feature configuration
2726zephyr_library_sources_ifdef(CONFIG_USE_RA_FSP_SCI_B_UART
2827 fsp/ra/fsp/src/r_sci_b_uart/r_sci_b_uart.c)
2928zephyr_library_sources_ifdef(CONFIG_USE_RA_FSP_DTC
30- fsp/ra/fsp/src/r_dtc/r_dtc.c)
29+ fsp/ra/fsp/src/r_dtc/r_dtc.c)
Original file line number Diff line number Diff line change 2626/***********************************************************************************************************************
2727 * Private global variables and functions
2828 **********************************************************************************************************************/
29+
30+ // *UNCRUSTIFY-OFF*
31+ #define BSP_FEATURE_GPT_AD_DIRECT_START_CHANNEL_MASK (0xFF)
32+ #define BSP_FEATURE_GPT_AD_DIRECT_START_SUPPORTED (0x1)
33+ #define BSP_FEATURE_GPT_GPTE_CHANNEL_MASK (0)
34+ #define BSP_FEATURE_GPT_GPTE_SUPPORTED (0)
35+ #define BSP_FEATURE_GPT_GPTEH_CHANNEL_MASK (0)
36+ #define BSP_FEATURE_GPT_GPTEH_SUPPORTED (0)
37+ #define BSP_FEATURE_GPT_OPS_CHANNEL_MASK (0x1)
38+ #define BSP_FEATURE_GPT_OPS_SUPPORTED (0x1)
2939// *UNCRUSTIFY-ON*
3040#endif
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Renesas Electronics Corporation
2+ * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
33 *
44 * SPDX-License-Identifier: BSD-3-Clause
55 */
66
7- #ifndef ZEPHYR_SOC_RENESAS_RA_COMMON_BSP_CFG_H_
8- #define ZEPHYR_SOC_RENESAS_RA_COMMON_BSP_CFG_H_
7+ #ifndef BSP_CFG_H_
8+ #define BSP_CFG_H_
99
1010#include "soc.h"
1111#include "bsp_clock_cfg.h"
1212#include "bsp_mcu_family_cfg.h"
13-
1413#define BSP_CFG_PARAM_CHECKING_ENABLE (0)
1514
1615/* Add for zephyr porting */
3332#define BSP_CLOCK_CFG_SUBCLOCK_STABILIZATION_MS 1000
3433#endif
3534
36- #endif /* ZEPHYR_SOC_RENESAS_RA_COMMON_BSP_CFG_H_ */
35+ #endif /* BSP_CFG_H_ */
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Renesas Electronics Corporation
3- *
4- * SPDX-License-Identifier: BSD-3-Clause
5- */
2+ * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
66
77#include <zephyr/devicetree.h>
88
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Renesas Electronics Corporation
3- *
4- * SPDX-License-Identifier: BSD-3-Clause
5- */
6-
2+ * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
76#ifndef BSP_MCU_DEVICE_CFG_H_
87#define BSP_MCU_DEVICE_CFG_H_
98#define BSP_CFG_MCU_PART_SERIES (8)
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Renesas Electronics Corporation
3- *
4- * SPDX-License-Identifier: BSD-3-Clause
5- */
6-
2+ * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates
3+ *
4+ * SPDX-License-Identifier: BSD-3-Clause
5+ */
76#ifndef BSP_MCU_DEVICE_PN_CFG_H_
8-
9- #if defined(CONFIG_SOC_R7FA8M1AHECBD )
7+ #define BSP_MCU_DEVICE_PN_CFG_H_
108#define BSP_MCU_R7FA8M1AHECBD
11- #define BSP_MCU_FEATURE_SET ('A')
12- #define BSP_ROM_SIZE_BYTES (2064384)
13- #define BSP_RAM_SIZE_BYTES (917504)
9+ #define BSP_MCU_FEATURE_SET ('A')
10+ #define BSP_ROM_SIZE_BYTES (2064384)
11+ #define BSP_RAM_SIZE_BYTES (917504)
1412#define BSP_DATA_FLASH_SIZE_BYTES (12288)
1513#define BSP_PACKAGE_BGA
1614#define BSP_PACKAGE_PINS (224)
17- #endif
18-
1915#endif /* BSP_MCU_DEVICE_PN_CFG_H_ */
You can’t perform that action at this time.
0 commit comments