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 : TREEVIEW_Private.h
NirT 0:c00e6c923941 30 Purpose : TREEVIEW private header file
NirT 0:c00e6c923941 31 --------------------END-OF-HEADER-------------------------------------
NirT 0:c00e6c923941 32 */
NirT 0:c00e6c923941 33
NirT 0:c00e6c923941 34 #ifndef TREEVIEW_PRIVATE_H
NirT 0:c00e6c923941 35 #define TREEVIEW_PRIVATE_H
NirT 0:c00e6c923941 36
NirT 0:c00e6c923941 37 #include "WM.h"
NirT 0:c00e6c923941 38 #include "TREEVIEW.h"
NirT 0:c00e6c923941 39
NirT 0:c00e6c923941 40 #if GUI_WINSUPPORT
NirT 0:c00e6c923941 41
NirT 0:c00e6c923941 42 /*********************************************************************
NirT 0:c00e6c923941 43 *
NirT 0:c00e6c923941 44 * Defines
NirT 0:c00e6c923941 45 *
NirT 0:c00e6c923941 46 **********************************************************************
NirT 0:c00e6c923941 47 */
NirT 0:c00e6c923941 48 #define TREEVIEW_ITEM_STATE_EXPANDED (1 << 1)
NirT 0:c00e6c923941 49 #define TREEVIEW_ITEM_STATE_ISLAST (1 << 2)
NirT 0:c00e6c923941 50
NirT 0:c00e6c923941 51 #define TREEVIEW_STATE_HASLINES (1 << 0)
NirT 0:c00e6c923941 52
NirT 0:c00e6c923941 53 #define TREEVIEW_COLORS_BK 0
NirT 0:c00e6c923941 54 #define TREEVIEW_COLORS_TEXT 1
NirT 0:c00e6c923941 55 #define TREEVIEW_COLORS_LINE 2
NirT 0:c00e6c923941 56
NirT 0:c00e6c923941 57 /*********************************************************************
NirT 0:c00e6c923941 58 *
NirT 0:c00e6c923941 59 * Types
NirT 0:c00e6c923941 60 *
NirT 0:c00e6c923941 61 **********************************************************************
NirT 0:c00e6c923941 62 */
NirT 0:c00e6c923941 63 typedef struct {
NirT 0:c00e6c923941 64 const GUI_BITMAP * apBm[3]; /* Closed, Open, Leaf */
NirT 0:c00e6c923941 65 } TREEVIEW_ITEM_DATA;
NirT 0:c00e6c923941 66
NirT 0:c00e6c923941 67 typedef struct {
NirT 0:c00e6c923941 68 WM_HMEM hParent; /* Handle to treeview object */
NirT 0:c00e6c923941 69 TREEVIEW_ITEM_Handle hNext;
NirT 0:c00e6c923941 70 TREEVIEW_ITEM_Handle hPrev;
NirT 0:c00e6c923941 71 U32 UserData;
NirT 0:c00e6c923941 72 WM_HMEM hData; /* Handle of TREEVIEW_ITEM_DATA structure */
NirT 0:c00e6c923941 73 U16 xSize;
NirT 0:c00e6c923941 74 U16 ySize;
NirT 0:c00e6c923941 75 U16 Flags;
NirT 0:c00e6c923941 76 U16 Connectors;
NirT 0:c00e6c923941 77 U8 Level; /* 0...15 */
NirT 0:c00e6c923941 78 char acText[1];
NirT 0:c00e6c923941 79 } TREEVIEW_ITEM_OBJ;
NirT 0:c00e6c923941 80
NirT 0:c00e6c923941 81 typedef struct {
NirT 0:c00e6c923941 82 const GUI_FONT * pFont;
NirT 0:c00e6c923941 83 GUI_COLOR aBkColor[3];
NirT 0:c00e6c923941 84 GUI_COLOR aTextColor[3];
NirT 0:c00e6c923941 85 GUI_COLOR aLineColor[3];
NirT 0:c00e6c923941 86 GUI_COLOR FocusColor;
NirT 0:c00e6c923941 87 const GUI_BITMAP * apBm[5]; /* Closed, Open, Leaf, Plus, Minus */
NirT 0:c00e6c923941 88 int Indent;
NirT 0:c00e6c923941 89 int TextIndent;
NirT 0:c00e6c923941 90 int MinItemHeight;
NirT 0:c00e6c923941 91 } TREEVIEW_PROPS;
NirT 0:c00e6c923941 92
NirT 0:c00e6c923941 93 typedef struct {
NirT 0:c00e6c923941 94 WIDGET Widget;
NirT 0:c00e6c923941 95 WIDGET_DRAW_ITEM_FUNC * pfDrawItem;
NirT 0:c00e6c923941 96 WM_SCROLL_STATE ScrollStateV;
NirT 0:c00e6c923941 97 WM_SCROLL_STATE ScrollStateH;
NirT 0:c00e6c923941 98 TREEVIEW_PROPS Props;
NirT 0:c00e6c923941 99 U16 Flags;
NirT 0:c00e6c923941 100 TREEVIEW_ITEM_Handle hFirst;
NirT 0:c00e6c923941 101 TREEVIEW_ITEM_Handle hLast;
NirT 0:c00e6c923941 102 TREEVIEW_ITEM_Handle hSel;
NirT 0:c00e6c923941 103 GUI_TIMER_HANDLE hTimer;
NirT 0:c00e6c923941 104 /* Cache variables */
NirT 0:c00e6c923941 105 int NumItems;
NirT 0:c00e6c923941 106 int NumVisItems;
NirT 0:c00e6c923941 107 int xSizeItems; /* xSize in pixel used for all visible items */
NirT 0:c00e6c923941 108 int ySizeItems; /* ySize in pixel used for all visible items */
NirT 0:c00e6c923941 109 I16 xOffPM, yOffPM; /* x/y offset of PM bitmap */
NirT 0:c00e6c923941 110 U16 xOverlapHLine;
NirT 0:c00e6c923941 111 } TREEVIEW_OBJ;
NirT 0:c00e6c923941 112
NirT 0:c00e6c923941 113 /*********************************************************************
NirT 0:c00e6c923941 114 *
NirT 0:c00e6c923941 115 * Macros for internal use
NirT 0:c00e6c923941 116 *
NirT 0:c00e6c923941 117 **********************************************************************
NirT 0:c00e6c923941 118 */
NirT 0:c00e6c923941 119 #if GUI_DEBUG_LEVEL >= GUI_DEBUG_LEVEL_CHECK_ALL
NirT 0:c00e6c923941 120 #define TREEVIEW_INIT_ID(p) p->Widget.DebugId = TREEVIEW_ID
NirT 0:c00e6c923941 121 #else
NirT 0:c00e6c923941 122 #define TREEVIEW_INIT_ID(p)
NirT 0:c00e6c923941 123 #endif
NirT 0:c00e6c923941 124
NirT 0:c00e6c923941 125 #if GUI_DEBUG_LEVEL >= GUI_DEBUG_LEVEL_CHECK_ALL
NirT 0:c00e6c923941 126 TREEVIEW_OBJ * TREEVIEW_LockH(TREEVIEW_Handle h);
NirT 0:c00e6c923941 127 #define TREEVIEW_LOCK_H(h) TREEVIEW_LockH(h)
NirT 0:c00e6c923941 128 #else
NirT 0:c00e6c923941 129 #define TREEVIEW_LOCK_H(h) (TREEVIEW_OBJ *)GUI_LOCK_H(h)
NirT 0:c00e6c923941 130 #endif
NirT 0:c00e6c923941 131
NirT 0:c00e6c923941 132 /*********************************************************************
NirT 0:c00e6c923941 133 *
NirT 0:c00e6c923941 134 * Module internal data
NirT 0:c00e6c923941 135 *
NirT 0:c00e6c923941 136 **********************************************************************
NirT 0:c00e6c923941 137 */
NirT 0:c00e6c923941 138 extern TREEVIEW_PROPS TREEVIEW__DefaultProps;
NirT 0:c00e6c923941 139 extern GUI_CONST_STORAGE GUI_BITMAP TREEVIEW__bmOpen;
NirT 0:c00e6c923941 140 extern GUI_CONST_STORAGE GUI_BITMAP TREEVIEW__bmClosed;
NirT 0:c00e6c923941 141 extern GUI_CONST_STORAGE GUI_BITMAP TREEVIEW__bmLeaf;
NirT 0:c00e6c923941 142 extern GUI_CONST_STORAGE GUI_BITMAP TREEVIEW__bmPlus;
NirT 0:c00e6c923941 143 extern GUI_CONST_STORAGE GUI_BITMAP TREEVIEW__bmMinus;
NirT 0:c00e6c923941 144
NirT 0:c00e6c923941 145 #endif /* GUI_WINSUPPORT */
NirT 0:c00e6c923941 146 #endif /* TREEVIEW_H */
NirT 0:c00e6c923941 147
NirT 0:c00e6c923941 148 /*************************** End of file ****************************/