|
| 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_RX26T |
| 9 | +* Description : Has the header files that should be included for this platform. |
| 10 | +***********************************************************************************************************************/ |
| 11 | +/*********************************************************************************************************************** |
| 12 | +* History : DD.MM.YYYY Version Description |
| 13 | +* : 28.02.2023 1.00 First Release |
| 14 | +* : 26.02.2025 1.01 Changed the disclaimer. |
| 15 | +***********************************************************************************************************************/ |
| 16 | + |
| 17 | +/* Make sure that no other platforms have already been defined. Do not touch this! */ |
| 18 | +#ifdef PLATFORM_DEFINED |
| 19 | +#error "Error - Multiple platforms defined in platform.h!" |
| 20 | +#else |
| 21 | +#define PLATFORM_DEFINED |
| 22 | +#endif |
| 23 | + |
| 24 | +#ifdef __cplusplus |
| 25 | +extern "C" { |
| 26 | +#endif |
| 27 | + |
| 28 | +/*********************************************************************************************************************** |
| 29 | +INCLUDE APPROPRIATE MCU AND BOARD FILES |
| 30 | +***********************************************************************************************************************/ |
| 31 | +#include "r_bsp_config.h" |
| 32 | +#include "r_bsp_common.h" |
| 33 | +#include "r_rx_compiler.h" |
| 34 | + |
| 35 | +#if defined(__CCRX__) |
| 36 | +#include "mcu/rx26t/register_access/ccrx/iodefine.h" |
| 37 | +#elif defined(__GNUC__) |
| 38 | +#include "mcu/rx26t/register_access/gnuc/iodefine.h" |
| 39 | +#elif defined(__ICCRX__) |
| 40 | +#include "mcu/rx26t/register_access/iccrx/iodefine.h" |
| 41 | +#endif /* defined(__CCRX__), defined(__GNUC__), defined(__ICCRX__) */ |
| 42 | +#include "r_bsp_cpu.h" |
| 43 | +#include "mcu_clocks.h" |
| 44 | +#include "mcu_info.h" |
| 45 | +#include "mcu_init.h" |
| 46 | +#include "mcu_interrupts.h" |
| 47 | +#include "mcu_locks.h" |
| 48 | +#include "mcu/rx26t/mcu_mapped_interrupts_private.h" |
| 49 | +#include "mcu/rx26t/mcu_mapped_interrupts.h" |
| 50 | +#include "vecttbl.h" |
| 51 | + |
| 52 | +#include "r_bsp_interrupts.h" |
| 53 | +#include "r_bsp_software_interrupt.h" |
| 54 | +#include "r_rx_intrinsic_functions.h" |
| 55 | + |
| 56 | +#ifdef __cplusplus |
| 57 | +} |
| 58 | +#endif |
| 59 | + |
| 60 | +#ifndef BSP_BOARD_GENERIC_RX26T |
| 61 | +#define BSP_BOARD_GENERIC_RX26T |
| 62 | + |
| 63 | +#endif /* BSP_BOARD_GENERIC_RX26T */ |
| 64 | + |
0 commit comments