this repository aim to make the official ST DISCO F746NG demo from STM32Cube_FW_F7_V1.2.0 working on mbed.

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Committer:
NirT
Date:
Mon Nov 02 23:38:08 2015 +0000
Revision:
0:c00e6c923941
Error: Incomplete type is not allowed in "patch/LwIP/src/include/lwip/dhcp.h", Line: 83, Col: 4; ; and more like this.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
NirT 0:c00e6c923941 1 /*********************************************************************
NirT 0:c00e6c923941 2 * SEGGER Microcontroller GmbH & Co. KG *
NirT 0:c00e6c923941 3 * Solutions for real time microcontroller applications *
NirT 0:c00e6c923941 4 **********************************************************************
NirT 0:c00e6c923941 5 * *
NirT 0:c00e6c923941 6 * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
NirT 0:c00e6c923941 7 * *
NirT 0:c00e6c923941 8 * Internet: www.segger.com Support: support@segger.com *
NirT 0:c00e6c923941 9 * *
NirT 0:c00e6c923941 10 **********************************************************************
NirT 0:c00e6c923941 11
NirT 0:c00e6c923941 12 ** emWin V5.28 - Graphical user interface for embedded applications **
NirT 0:c00e6c923941 13 All Intellectual Property rights in the Software belongs to SEGGER.
NirT 0:c00e6c923941 14 emWin is protected by international copyright laws. Knowledge of the
NirT 0:c00e6c923941 15 source code may not be used to write a similar product. This file may
NirT 0:c00e6c923941 16 only be used in accordance with the following terms:
NirT 0:c00e6c923941 17
NirT 0:c00e6c923941 18 The software has been licensed to STMicroelectronics International
NirT 0:c00e6c923941 19 N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
NirT 0:c00e6c923941 20 les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
NirT 0:c00e6c923941 21 purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
NirT 0:c00e6c923941 22 troller products commercialized by Licensee only, sublicensed and dis_
NirT 0:c00e6c923941 23 tributed under the terms and conditions of the End User License Agree_
NirT 0:c00e6c923941 24 ment supplied by STMicroelectronics International N.V.
NirT 0:c00e6c923941 25 Full source code is available at: www.segger.com
NirT 0:c00e6c923941 26
NirT 0:c00e6c923941 27 We appreciate your understanding and fairness.
NirT 0:c00e6c923941 28 ----------------------------------------------------------------------
NirT 0:c00e6c923941 29 File : GUI_ConfDefaults.h
NirT 0:c00e6c923941 30 Purpose : Defaults for GUI config switches.
NirT 0:c00e6c923941 31 ---------------------------END-OF-HEADER------------------------------
NirT 0:c00e6c923941 32
NirT 0:c00e6c923941 33 Attention : Do not modify this file ! If you do, you will not
NirT 0:c00e6c923941 34 be able do update to a later GUI version !
NirT 0:c00e6c923941 35
NirT 0:c00e6c923941 36 */
NirT 0:c00e6c923941 37
NirT 0:c00e6c923941 38 #ifndef GUI_CONFDEFAULTS_H
NirT 0:c00e6c923941 39 #define GUI_CONFDEFAULTS_H
NirT 0:c00e6c923941 40
NirT 0:c00e6c923941 41 #include "GUIConf.h"
NirT 0:c00e6c923941 42
NirT 0:c00e6c923941 43 #ifndef LCD_MAX_LOG_COLORS
NirT 0:c00e6c923941 44 #define LCD_MAX_LOG_COLORS 256
NirT 0:c00e6c923941 45 #else
NirT 0:c00e6c923941 46 #if (LCD_MAX_LOG_COLORS > 256)
NirT 0:c00e6c923941 47 #error The value of LCD_MAX_LOG_COLORS must be <= 256!
NirT 0:c00e6c923941 48 #endif
NirT 0:c00e6c923941 49 #endif
NirT 0:c00e6c923941 50
NirT 0:c00e6c923941 51 #define LCD_PIXELINDEX U32
NirT 0:c00e6c923941 52
NirT 0:c00e6c923941 53 #ifndef LCD_YMAG
NirT 0:c00e6c923941 54 #define LCD_YMAG 1
NirT 0:c00e6c923941 55 #endif
NirT 0:c00e6c923941 56 #ifndef LCD_XMAG
NirT 0:c00e6c923941 57 #define LCD_XMAG 1
NirT 0:c00e6c923941 58 #endif
NirT 0:c00e6c923941 59
NirT 0:c00e6c923941 60 /**********************************************************************
NirT 0:c00e6c923941 61 *
NirT 0:c00e6c923941 62 * Defaults for config switches
NirT 0:c00e6c923941 63 *
NirT 0:c00e6c923941 64 ***********************************************************************
NirT 0:c00e6c923941 65 */
NirT 0:c00e6c923941 66
NirT 0:c00e6c923941 67 /* Define "universal pointer". Normally, this is not needed (define will expand to nothing)
NirT 0:c00e6c923941 68 However, on some systems (AVR - IAR compiler) it can be necessary ( -> __generic),
NirT 0:c00e6c923941 69 since a default pointer can access RAM only, not the built-in Flash
NirT 0:c00e6c923941 70 */
NirT 0:c00e6c923941 71 #ifndef GUI_UNI_PTR
NirT 0:c00e6c923941 72 #define GUI_UNI_PTR /* Remains only for compatibility purpose, no longer used in emWin */
NirT 0:c00e6c923941 73 #endif
NirT 0:c00e6c923941 74
NirT 0:c00e6c923941 75 /* Define const storage. Normally, this is not needed (define will expand to const)
NirT 0:c00e6c923941 76 However, on some systems (AVR - IAR compiler) it can be necessary ( -> __flash const),
NirT 0:c00e6c923941 77 since otherwise constants are copied into RAM
NirT 0:c00e6c923941 78 */
NirT 0:c00e6c923941 79 #ifndef GUI_CONST_STORAGE
NirT 0:c00e6c923941 80 #define GUI_CONST_STORAGE const
NirT 0:c00e6c923941 81 #endif
NirT 0:c00e6c923941 82
NirT 0:c00e6c923941 83 #ifndef GUI_USE_MEMDEV_1BPP_FOR_SCREEN
NirT 0:c00e6c923941 84 #define GUI_USE_MEMDEV_1BPP_FOR_SCREEN 1
NirT 0:c00e6c923941 85 #endif
NirT 0:c00e6c923941 86
NirT 0:c00e6c923941 87 #ifndef GUI_BIDI_MAX_CHARS_PER_LINE
NirT 0:c00e6c923941 88 #define GUI_BIDI_MAX_CHARS_PER_LINE 80
NirT 0:c00e6c923941 89 #endif
NirT 0:c00e6c923941 90
NirT 0:c00e6c923941 91 #ifndef GUI_SUPPORT_TOUCH
NirT 0:c00e6c923941 92 #define GUI_SUPPORT_TOUCH 0
NirT 0:c00e6c923941 93 #endif
NirT 0:c00e6c923941 94
NirT 0:c00e6c923941 95 #ifndef GUI_SUPPORT_MOUSE
NirT 0:c00e6c923941 96 #define GUI_SUPPORT_MOUSE 0
NirT 0:c00e6c923941 97 #endif
NirT 0:c00e6c923941 98
NirT 0:c00e6c923941 99 #ifndef GUI_SUPPORT_MEMDEV
NirT 0:c00e6c923941 100 #define GUI_SUPPORT_MEMDEV 0
NirT 0:c00e6c923941 101 #endif
NirT 0:c00e6c923941 102
NirT 0:c00e6c923941 103 #ifndef GUI_OS
NirT 0:c00e6c923941 104 #define GUI_OS 0
NirT 0:c00e6c923941 105 #endif
NirT 0:c00e6c923941 106
NirT 0:c00e6c923941 107 #ifndef GUI_NUM_LAYERS
NirT 0:c00e6c923941 108 #define GUI_NUM_LAYERS 1
NirT 0:c00e6c923941 109 #endif
NirT 0:c00e6c923941 110
NirT 0:c00e6c923941 111 #ifndef GUI_SUPPORT_CURSOR
NirT 0:c00e6c923941 112 #define GUI_SUPPORT_CURSOR (GUI_SUPPORT_MOUSE | GUI_SUPPORT_TOUCH)
NirT 0:c00e6c923941 113 #endif
NirT 0:c00e6c923941 114
NirT 0:c00e6c923941 115 #ifndef GUI_CURSOR_LAYER
NirT 0:c00e6c923941 116 #define GUI_CURSOR_LAYER 0
NirT 0:c00e6c923941 117 #endif
NirT 0:c00e6c923941 118
NirT 0:c00e6c923941 119 #ifndef GUI_MEMCPY
NirT 0:c00e6c923941 120 #define GUI_MEMCPY(pDest, pSrc, NumBytes) memcpy(pDest, pSrc, NumBytes)
NirT 0:c00e6c923941 121 #endif
NirT 0:c00e6c923941 122
NirT 0:c00e6c923941 123 #ifndef GUI_SUPPORT_ROTATION
NirT 0:c00e6c923941 124 #define GUI_SUPPORT_ROTATION 1
NirT 0:c00e6c923941 125 #endif
NirT 0:c00e6c923941 126
NirT 0:c00e6c923941 127 /* In order to avoid warnings for undefined parameters */
NirT 0:c00e6c923941 128 #ifndef GUI_USE_PARA
NirT 0:c00e6c923941 129 #if defined (__BORLANDC__) || defined(NC30) || defined(NC308)
NirT 0:c00e6c923941 130 #define GUI_USE_PARA(para)
NirT 0:c00e6c923941 131 #else
NirT 0:c00e6c923941 132 #define GUI_USE_PARA(para) (void)para
NirT 0:c00e6c923941 133 #endif
NirT 0:c00e6c923941 134 #endif
NirT 0:c00e6c923941 135
NirT 0:c00e6c923941 136 /* Default for types */
NirT 0:c00e6c923941 137 #ifndef GUI_TIMER_TIME
NirT 0:c00e6c923941 138 #define GUI_TIMER_TIME int /* default is to use 16 bits for 16 bit CPUs,
NirT 0:c00e6c923941 139 32 bits on 32 bit CPUs for timing */
NirT 0:c00e6c923941 140 #endif
NirT 0:c00e6c923941 141
NirT 0:c00e6c923941 142 /* Types used for memory allocation */
NirT 0:c00e6c923941 143 #define GUI_ALLOC_DATATYPE I32
NirT 0:c00e6c923941 144 #define GUI_ALLOC_DATATYPE_U U32
NirT 0:c00e6c923941 145
NirT 0:c00e6c923941 146 #ifndef GUI_MAX_XBF_BYTES
NirT 0:c00e6c923941 147 #define GUI_MAX_XBF_BYTES 200
NirT 0:c00e6c923941 148 #endif
NirT 0:c00e6c923941 149
NirT 0:c00e6c923941 150 #ifndef GUI_MEMSET
NirT 0:c00e6c923941 151 #define GUI_MEMSET GUI__memset
NirT 0:c00e6c923941 152 #endif
NirT 0:c00e6c923941 153
NirT 0:c00e6c923941 154 /* Optional custom drawing of memory devices */
NirT 0:c00e6c923941 155 #ifndef GUI_MEMDEV_SUPPORT_CUSTOMDRAW
NirT 0:c00e6c923941 156 #define GUI_MEMDEV_SUPPORT_CUSTOMDRAW 1
NirT 0:c00e6c923941 157 #endif
NirT 0:c00e6c923941 158
NirT 0:c00e6c923941 159 /* Clip static memory devices to parent borders */
NirT 0:c00e6c923941 160 #ifndef GUI_MEMDEV_CLIP_AT_PARENT
NirT 0:c00e6c923941 161 #define GUI_MEMDEV_CLIP_AT_PARENT 0
NirT 0:c00e6c923941 162 #endif
NirT 0:c00e6c923941 163
NirT 0:c00e6c923941 164 #endif /* ifdef GUI_CONFDEFAULTS_H */
NirT 0:c00e6c923941 165
NirT 0:c00e6c923941 166 /*************************** End of file ****************************/