TouchGFX
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define CONFIG_HPP
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE
#include <cr_section_macros.h>
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE
#define LOCATION_EXTFLASH_PRAGMA
#define LOCATION_EXTFLASH_ATTRIBUTE
#define FONT_LOCATION_FLASH_PRAGMA
#define FONT_LOCATION_FLASH_ATTRIBUTE
#include <cr_section_macros.h>
#define FONT_LOCATION_FLASH_PRAGMA
#define FONT_LOCATION_FLASH_ATTRIBUTE
#define FONT_LOCATION_FLASH_PRAGMA
#define FONT_LOCATION_FLASH_ATTRIBUTE
#define FONT_LOCATION_FLASH_PRAGMA
#define FONT_LOCATION_FLASH_ATTRIBUTE
#define FONT_LOCATION_FLASH_PRAGMA
#define FONT_LOCATION_FLASH_ATTRIBUTE
#define TEXT_LOCATION_FLASH_PRAGMA
#define TEXT_LOCATION_FLASH_ATTRIBUTE
#include <cr_section_macros.h>
#define TEXT_LOCATION_FLASH_PRAGMA
#define TEXT_LOCATION_FLASH_ATTRIBUTE
#define TEXT_LOCATION_FLASH_PRAGMA
#define TEXT_LOCATION_FLASH_ATTRIBUTE
#define TEXT_LOCATION_FLASH_PRAGMA
#define TEXT_LOCATION_FLASH_ATTRIBUTE
#define TEXT_LOCATION_FLASH_PRAGMA
#define TEXT_LOCATION_FLASH_ATTRIBUTE
#define FORCE_INLINE_FUNCTION
#define FORCE_INLINE_FUNCTION
#define FORCE_INLINE_FUNCTION
#define FORCE_INLINE_FUNCTION
#define FORCE_INLINE_FUNCTION
#define RESTRICT
#define RESTRICT
#define KEEP
#define KEEP
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
touchgfx/framework/include/touchgfx/hal/Config.hpp
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* <h2><center>© Copyright (c) 2018 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Liberty license
* SLA0044, the "License"; You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
* www.st.com/SLA0044
*
******************************************************************************
*/
/* ... */
#ifndef
CONFIG_HPP
#define
CONFIG_HPP
/**
* Section placements of external flash data.
*/
/* ... */
#ifdef
SIMULATOR
#define
LOCATION_EXTFLASH_PRAGMA
#define
LOCATION_EXTFLASH_ATTRIBUTE
/* ... */
#else
#ifdef
__GNUC__
#ifdef
__CODE_RED
#include
<
cr_section_macros.h>
#define
LOCATION_EXTFLASH_PRAGMA
#define
LOCATION_EXTFLASH_ATTRIBUTE
__RODATA
(
SPIFI
)
/* ... */
#else
#define
LOCATION_EXTFLASH_PRAGMA
#define
LOCATION_EXTFLASH_ATTRIBUTE
__attribute__
(
(
section
(
"ExtFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#elif
defined
__ICCARM__
#define
LOCATION_EXTFLASH_PRAGMA
_Pragma
(
"location=\"ExtFlashSection\""
)
#define
LOCATION_EXTFLASH_ATTRIBUTE
/* ... */
#elif
defined
(
__ARMCC_VERSION
)
#define
LOCATION_EXTFLASH_PRAGMA
#define
LOCATION_EXTFLASH_ATTRIBUTE
__attribute__
(
(
section
(
"ExtFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#endif
#ifdef
SIMULATOR
#define
FONT_LOCATION_FLASH_PRAGMA
#define
FONT_LOCATION_FLASH_ATTRIBUTE
/* ... */
#else
#ifdef
__GNUC__
#ifdef
__CODE_RED
#include
<
cr_section_macros.h>
#define
FONT_LOCATION_FLASH_PRAGMA
#define
FONT_LOCATION_FLASH_ATTRIBUTE
__RODATA
(
SPIFI
)
/* ... */
#else
#define
FONT_LOCATION_FLASH_PRAGMA
#define
FONT_LOCATION_FLASH_ATTRIBUTE
__attribute__
(
(
section
(
"FontFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#elif
defined
__ICCARM__
#define
FONT_LOCATION_FLASH_PRAGMA
_Pragma
(
"location=\"FontFlashSection\""
)
#define
FONT_LOCATION_FLASH_ATTRIBUTE
/* ... */
#elif
defined
(
__ARMCC_VERSION
)
#define
FONT_LOCATION_FLASH_PRAGMA
#define
FONT_LOCATION_FLASH_ATTRIBUTE
__attribute__
(
(
section
(
"FontFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#endif
#ifdef
SIMULATOR
#define
TEXT_LOCATION_FLASH_PRAGMA
#define
TEXT_LOCATION_FLASH_ATTRIBUTE
/* ... */
#else
#ifdef
__GNUC__
#ifdef
__CODE_RED
#include
<
cr_section_macros.h>
#define
TEXT_LOCATION_FLASH_PRAGMA
#define
TEXT_LOCATION_FLASH_ATTRIBUTE
__RODATA
(
SPIFI
)
/* ... */
#else
#define
TEXT_LOCATION_FLASH_PRAGMA
#define
TEXT_LOCATION_FLASH_ATTRIBUTE
__attribute__
(
(
section
(
"TextFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#elif
defined
__ICCARM__
#define
TEXT_LOCATION_FLASH_PRAGMA
_Pragma
(
"location=\"TextFlashSection\""
)
#define
TEXT_LOCATION_FLASH_ATTRIBUTE
/* ... */
#elif
defined
(
__ARMCC_VERSION
)
#define
TEXT_LOCATION_FLASH_PRAGMA
#define
TEXT_LOCATION_FLASH_ATTRIBUTE
__attribute__
(
(
section
(
"TextFlashSection"
)
)
)
__attribute__
(
(
aligned
(
4
)
)
)
/* ... */
#endif
/* ... */
#endif
/**
* To force inline of time critical functions
*/
/* ... */
#ifdef
SIMULATOR
#define
FORCE_INLINE_FUNCTION
inline
#else
#ifdef
__GNUC__
#ifdef
__CODE_RED
#define
FORCE_INLINE_FUNCTION
inline
#else
#define
FORCE_INLINE_FUNCTION
__attribute__
(
(
always_inline
)
)
inline
#endif
/* ... */
#elif
defined
__ICCARM__
#define
FORCE_INLINE_FUNCTION
_Pragma
(
"inline=forced"
)
#elif
defined
(
__ARMCC_VERSION
)
#define
FORCE_INLINE_FUNCTION
__forceinline
#endif
/* ... */
#endif
/**
* To be able to use __restrict__ on the supported platform. The IAR compiler does not support this
*/
/* ... */
#ifdef
__GNUC__
#define
RESTRICT
__restrict__
#else
#define
RESTRICT
#endif
// __GNUC__
/**
* Use KEEP to make sure the compiler does not remove this
*/
/* ... */
#ifdef
__ICCARM__
#define
KEEP
__root
#else
#define
KEEP
#endif
/* ... */
#endif
// CONFIG_HPP