-
Notifications
You must be signed in to change notification settings - Fork 2
/
stm32h743i_eval_conf_template.h
80 lines (65 loc) · 2.53 KB
/
stm32h743i_eval_conf_template.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/**
******************************************************************************
* @file stm32h743i_eval_conf_template.h
* @author MCD Application Team
* @brief STM32h743i_EVAL board configuration file.
******************************************************************************
* @attention
*
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef STM32h743I_EVAL_CONF_H
#define STM32h743I_EVAL_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_hal.h"
/* COM define */
#define USE_COM_LOG 0U
#define USE_COM_LOG 0U
#define USE_BSP_COM_FEATURE 0U
/* POT define */
#define USE_BSP_POT_FEATURE 1U
/* IO CLASS define */
#define USE_BSP_IO_CLASS 1U
/* LCD controllers defines */
#define USE_DMA2D_TO_FILL_RGB_RECT 0U
#define LCD_LAYER_0_ADDRESS 0xD0000000U
#define LCD_LAYER_1_ADDRESS 0xD0200000U
/* Audio codecs defines */
#define USE_AUDIO_CODEC_WM8994 1U
/* Default Audio IN internal buffer size */
#define DEFAULT_AUDIO_IN_BUFFER_SIZE 2048U
#define USE_BSP_CPU_CACHE_MAINTENANCE 1U
/* TS supported features defines */
#define USE_TS_GESTURE 1U
/* Default TS touch number */
#define TS_TOUCH_NBR 2U
/* Default EEPROM max trials */
#define EEPROM_MAX_TRIALS 3000U
/* IRQ priorities */
#define BSP_SRAM_IT_PRIORITY 15U
#define BSP_SDRAM_IT_PRIORITY 15U
#define BSP_IOEXPANDER_IT_PRIORITY 15U
#define BSP_BUTTON_USER_IT_PRIORITY 15U
#define BSP_BUTTON_WAKEUP_IT_PRIORITY 15U
#define BSP_BUTTON_TAMPER_IT_PRIORITY 15U
#define BSP_AUDIO_OUT_IT_PRIORITY 14U
#define BSP_AUDIO_IN_IT_PRIORITY 15U
#define BSP_SD_IT_PRIORITY 14U
#define BSP_SD_RX_IT_PRIORITY 14U
#define BSP_SD_TX_IT_PRIORITY 15U
#define BSP_TS_IT_PRIORITY 15U
#ifdef __cplusplus
}
#endif
#endif /* STM32h743I_EVAL_CONF_H */