1 /* 2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef R_DTC_CFG_H 8 #define R_DTC_CFG_H 9 10 /********************************************************************************************************************** 11 * Macro definitions 12 **********************************************************************************************************************/ 13 14 /** Specify whether to include code for API parameter checking. Valid settings include: 15 * - BSP_CFG_PARAM_CHECKING_ENABLE : Utilizes the system default setting from bsp_cfg.h 16 * - 1 : Includes parameter checking 17 * - 0 : Compiles out parameter checking 18 */ 19 #ifndef DTC_CFG_PARAM_CHECKING_ENABLE 20 #define DTC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) 21 #endif 22 23 /** Specify whether to include code for software start. Valid settings include: 24 * - 1 : Includes code for software start. 25 * @note Requires the ELC software start functions from the ELC module. 26 * - 0 : Compiles out code for software start 27 */ 28 #ifndef DTC_CFG_SOFTWARE_START_ENABLE 29 #define DTC_CFG_SOFTWARE_START_ENABLE (0) 30 #endif 31 32 /** To put the vector table in a specific linker section, set DTC_CFG_VECTOR_TABLE_SECTION_NAME to 33 * the name of the section you want to use (i.e. ".mysection"). To use the default section, comment 34 * out this definition 35 */ 36 #ifndef DTC_CFG_VECTOR_TABLE_SECTION_NAME 37 #define DTC_CFG_VECTOR_TABLE_SECTION_NAME BSP_UNINIT_SECTION_PREFIX ".fsp_dtc_vector_table" 38 #endif 39 40 #endif 41