1 /***********************************************************************************************//**
2  * \file cybsp_hw_config.h
3  *
4  * \brief
5  * Basic API for handling defaults for hardware so code examples behave the same across different
6  * devices.
7  *
8  ***************************************************************************************************
9  * \copyright
10  * Copyright 2018-2022 Cypress Semiconductor Corporation (an Infineon company) or
11  * an affiliate of Cypress Semiconductor Corporation
12  *
13  * SPDX-License-Identifier: Apache-2.0
14  *
15  * Licensed under the Apache License, Version 2.0 (the "License");
16  * you may not use this file except in compliance with the License.
17  * You may obtain a copy of the License at
18  *
19  *     http://www.apache.org/licenses/LICENSE-2.0
20  *
21  * Unless required by applicable law or agreed to in writing, software
22  * distributed under the License is distributed on an "AS IS" BASIS,
23  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24  * See the License for the specific language governing permissions and
25  * limitations under the License.
26  **************************************************************************************************/
27 #pragma once
28 
29 #include "cy_result.h"
30 #include "cybsp_types.h"
31 #include "cycfg_pins.h"
32 
33 #if defined(__cplusplus)
34 extern "C" {
35 #endif
36 
37 #ifndef CYBSP_USER_BTN_DRIVE
38 #define CYBSP_USER_BTN_DRIVE          (CYHAL_GPIO_DRIVE_PULLUP)
39 #endif
40 
41 #ifndef CYBSP_DEBUG_UART_CTS
42 #define CYBSP_DEBUG_UART_CTS (NC)
43 #endif
44 #ifndef CYBSP_DEBUG_UART_RTS
45 #define CYBSP_DEBUG_UART_RTS (NC)
46 #endif
47 
48 #if defined(__cplusplus)
49 }
50 #endif
51