Skip to content

Commit b1f24e5

Browse files
author
Hau Ho
committed
hal: renesas: rx: Add support for RX140 SoC
Add support for RX140 SoC Signed-off-by: Hau Ho <[email protected]>
1 parent f0b7844 commit b1f24e5

File tree

21 files changed

+23827
-1
lines changed

21 files changed

+23827
-1
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/*
2+
* Copyright (c) 2011 Renesas Electronics Corporation and/or its affiliates
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*/
6+
/***********************************************************************************************************************
7+
* File Name : r_bsp.h
8+
* H/W Platform : GENERIC_RX140
9+
* Description : Has the header files that should be included for this platform.
10+
***********************************************************************************************************************/
11+
/***********************************************************************************************************************
12+
* History : DD.MM.YYYY Version Description
13+
* : 30.06.2021 1.00 First release
14+
* : 30.11.2021 1.01 Modified the include file.
15+
* : 26.02.2025 1.02 Changed the disclaimer.
16+
***********************************************************************************************************************/
17+
18+
/* Make sure that no other platforms have already been defined. Do not touch this! */
19+
#ifdef PLATFORM_DEFINED
20+
#error "Error - Multiple platforms defined in platform.h!"
21+
#else
22+
#define PLATFORM_DEFINED
23+
#endif
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
/***********************************************************************************************************************
30+
INCLUDE APPROPRIATE MCU AND BOARD FILES
31+
***********************************************************************************************************************/
32+
#include "r_bsp_config.h"
33+
#include "mcu/all/r_bsp_common.h"
34+
#include "mcu/all/r_rx_compiler.h"
35+
36+
#include "mcu/all/lowlvl.h"
37+
#include "mcu/all/lowsrc.h"
38+
#include "mcu/all/r_bsp_mcu_startup.h"
39+
40+
#if defined(__CCRX__)
41+
#include "mcu/rx140/register_access/ccrx/iodefine.h"
42+
#elif defined(__GNUC__)
43+
#include "mcu/rx140/register_access/gnuc/iodefine.h"
44+
#elif defined(__ICCRX__)
45+
#include "mcu/rx140/register_access/iccrx/iodefine.h"
46+
#endif /* defined(__CCRX__), defined(__GNUC__), defined(__ICCRX__) */
47+
#include "mcu/rx140/r_bsp_cpu.h"
48+
#include "mcu/rx140/r_bsp_locking.h"
49+
#include "mcu/rx140/mcu_clocks.h"
50+
#include "mcu/rx140/mcu_info.h"
51+
#include "mcu/rx140/mcu_init.h"
52+
#include "mcu/rx140/mcu_interrupts.h"
53+
#include "mcu/rx140/mcu_locks.h"
54+
#include "mcu/rx140/vecttbl.h"
55+
56+
#include "board/generic_rx140/hwsetup.h"
57+
58+
#include "mcu/all/r_bsp_interrupts.h"
59+
#include "mcu/all/r_bsp_software_interrupt.h"
60+
#include "mcu/all/r_rx_intrinsic_functions.h"
61+
#include "mcu/all/r_rtos.h"
62+
63+
#include "mcu/all/fsp_common_api.h"
64+
#include "mcu/all/r_fsp_error.h"
65+
66+
#ifdef __cplusplus
67+
}
68+
#endif
69+
70+
#ifndef BSP_BOARD_GENERIC_RX140
71+
#define BSP_BOARD_GENERIC_RX140
72+
73+
#endif /* BSP_BOARD_GENERIC_RX140 */
74+

0 commit comments

Comments
 (0)