STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Middlewares
ST
STemWin
Config
GUIConf.c
Go to the documentation of this file.
1
/*********************************************************************
2
* Portions COPYRIGHT 2015 STMicroelectronics *
3
* Portions SEGGER Microcontroller GmbH & Co. KG *
4
* Solutions for real time microcontroller applications *
5
**********************************************************************
6
* *
7
* (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
8
* *
9
* Internet: www.segger.com Support: support@segger.com *
10
* *
11
**********************************************************************
12
13
** emWin V5.32 - Graphical user interface for embedded applications **
14
All Intellectual Property rights in the Software belongs to SEGGER.
15
emWin is protected by international copyright laws. Knowledge of the
16
source code may not be used to write a similar product. This file may
17
only be used in accordance with the following terms:
18
19
The software has been licensed to STMicroelectronics International
20
N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
21
les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
22
purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
23
troller products commercialized by Licensee only, sublicensed and dis_
24
tributed under the terms and conditions of the End User License Agree_
25
ment supplied by STMicroelectronics International N.V.
26
Full source code is available at: www.segger.com
27
28
We appreciate your understanding and fairness.
29
----------------------------------------------------------------------
30
File : GUIConf.c
31
Purpose : Display controller initialization
32
---------------------------END-OF-HEADER------------------------------
33
*/
34
54
#include "
GUI.h
"
55
56
/*********************************************************************
57
*
58
* Defines
59
*
60
**********************************************************************
61
*/
62
63
// Define the available number of bytes available for the GUI
64
#define GUI_NUMBYTES (256) * 1024
65
#if defined ( __ICCARM__ )
/*IAR Compiler */
66
#pragma location=0x20020000
67
U32
aMemory[
GUI_NUMBYTES
/ 4];
68
69
#elif defined ( __CC_ARM )
/* Keil Compiler */
70
U32
aMemory[
GUI_NUMBYTES
/ 4]
__attribute__
((at(0x20020000)));
71
72
#elif defined ( __GNUC__ )
/* GNU Compiler */
73
U32
aMemory[
GUI_NUMBYTES
/ 4]
__attribute__
((section(
".GUI_NUMBYTES_section"
)));
74
#endif
75
/*********************************************************************
76
*
77
* Public code
78
*
79
**********************************************************************
80
*/
81
/*********************************************************************
82
*
83
* GUI_X_Config
84
*
85
* Purpose:
86
* Called during the initialization process in order to set up the
87
* available memory for the GUI.
88
*/
89
void
GUI_X_Config
(
void
)
90
{
91
GUI_ALLOC_AssignMemory
(aMemory,
GUI_NUMBYTES
);
92
}
93
94
/*************************** End of file ****************************/
GUI_ALLOC_AssignMemory
void GUI_ALLOC_AssignMemory(void *p, U32 NumBytes)
GUI_NUMBYTES
#define GUI_NUMBYTES
Definition:
GUIConf.c:64
U32
#define U32
Definition:
Global.h:50
__attribute__
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
Reverse byte order (16 bit)
Definition:
cmsis_armcc.h:388
GUI_X_Config
void GUI_X_Config(void)
Definition:
GUIConf.c:89
GUI.h
Generated by
1.8.11