RTEMS
6.1-rc2
Loading...
Searching...
No Matches
bsps
arm
stm32h7
boards
stm
stm32h757i-eval
stm32h747i_eval_conf.h
1
/* SPDX-License-Identifier: BSD-3-Clause */
19
/*
20
* RTEMS committer clarification comment on license above:
21
*
22
* This file comes from STM32CubeH7 project and is located here:
23
* https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Drivers/BSP/STM32H747I-EVAL/stm32h747i_eval_conf_template.h
24
*
25
* The file root directory is:
26
* https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Drivers/BSP/STM32H747I-EVAL
27
*
28
* This directory contains LICENSE.md file with a following license text:
29
*
30
* Copyright 2019 STMicroelectronics.
31
* All rights reserved.
32
*
33
* Redistribution and use in source and binary forms, with or without modification,
34
* are permitted provided that the following conditions are met:
35
*
36
* 1. Redistributions of source code must retain the above copyright notice, this
37
* list of conditions and the following disclaimer.
38
*
39
* 2. Redistributions in binary form must reproduce the above copyright notice,
40
* this list of conditions and the following disclaimer in the documentation and/or
41
* other materials provided with the distribution.
42
*
43
* 3. Neither the name of the copyright holder nor the names of its contributors
44
* may be used to endorse or promote products derived from this software without
45
* specific prior written permission.
46
*
47
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
48
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
49
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
50
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
51
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
54
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
55
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
56
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57
*/
58
59
/* Define to prevent recursive inclusion -------------------------------------*/
60
#ifndef STM32H747I_EVAL_CONFIG_H
61
#define STM32H747I_EVAL_CONFIG_H
62
63
#ifdef __cplusplus
64
extern
"C"
{
65
#endif
66
67
/* Includes ------------------------------------------------------------------*/
68
#include "
stm32h7xx_hal.h
"
69
70
/* COM define */
71
#define USE_COM_LOG 0U
72
73
/* IO class usage define */
74
#define USE_BSP_IO_CLASS 1U
75
76
/* JOY usage define */
77
#define USE_BSP_JOY_FEATURE 1U
78
79
/* POT usage define */
80
#define USE_BSP_POT_FEATURE 1U
81
82
/* LCD controllers defines */
83
#define USE_LCD_CTRL_OTM8009A 1U
84
#define USE_LCD_CTRL_ADV7533 1U
85
#define LCD_LAYER_0_ADDRESS 0xD0000000U
86
#define LCD_LAYER_1_ADDRESS 0xD0200000U
87
88
/* SD high performance usage define */
89
#define USE_SD_HIGH_PERFORMANCE 0U
90
91
/*DMA2D to fill RGB rectangle usage define*/
92
#define USE_DMA2D_TO_FILL_RGB_RECT 0U
93
94
/* Audio codecs defines */
95
#define USE_AUDIO_CODEC_WM8994 1U
96
#define USE_AUDIO_CODEC_ADV7533 1U
97
98
/* Default Audio IN internal buffer size */
99
#define DEFAULT_AUDIO_IN_BUFFER_SIZE 256U
100
101
/* TS supported features defines */
102
#define USE_TS_GESTURE 1U
103
#define USE_TS_MULTI_TOUCH 1U
104
105
/* Default TS touch number */
106
#define TS_TOUCH_NBR 2U
107
108
/* Default EEPROM max trials */
109
#define EEPROM_MAX_TRIALS 3000U
110
111
/* IRQ priorities */
112
#define BSP_SRAM_IT_PRIORITY 15U
113
#define BSP_SDRAM_IT_PRIORITY 15U
114
#define BSP_IOEXPANDER_IT_PRIORITY 15U
115
#define BSP_BUTTON_USER_IT_PRIORITY 15U
116
#define BSP_BUTTON_WAKEUP_IT_PRIORITY 15U
117
#define BSP_BUTTON_TAMPER_IT_PRIORITY 15U
118
#define BSP_AUDIO_OUT_IT_PRIORITY 14U
119
#define BSP_AUDIO_IN_IT_PRIORITY 15U
120
#define BSP_SD_IT_PRIORITY 14U
121
#define BSP_SD_RX_IT_PRIORITY 14U
122
#define BSP_SD_TX_IT_PRIORITY 15U
123
#define BSP_TS_IT_PRIORITY 15U
124
125
#ifdef __cplusplus
126
}
127
#endif
128
129
#endif
/* STM32H747I_EVAL_CONFIG_H */
130
stm32h7xx_hal.h
This file contains all the functions prototypes for the HAL module driver.
Generated by
1.9.6