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 : MULTIEDIT.h
NirT 0:c00e6c923941 30 Purpose : MULTIEDIT include
NirT 0:c00e6c923941 31 --------------------END-OF-HEADER-------------------------------------
NirT 0:c00e6c923941 32 */
NirT 0:c00e6c923941 33
NirT 0:c00e6c923941 34 #ifndef MULTIEDIT_H
NirT 0:c00e6c923941 35 #define MULTIEDIT_H
NirT 0:c00e6c923941 36
NirT 0:c00e6c923941 37 #include "WM.h"
NirT 0:c00e6c923941 38 #include "DIALOG_Intern.h" /* Req. for Create indirect data structure */
NirT 0:c00e6c923941 39
NirT 0:c00e6c923941 40 #if GUI_WINSUPPORT
NirT 0:c00e6c923941 41
NirT 0:c00e6c923941 42 #if defined(__cplusplus)
NirT 0:c00e6c923941 43 extern "C" { /* Make sure we have C-declarations in C++ programs */
NirT 0:c00e6c923941 44 #endif
NirT 0:c00e6c923941 45
NirT 0:c00e6c923941 46 #define MULTIEDIT_CF_READONLY (1 << 0)
NirT 0:c00e6c923941 47 #define MULTIEDIT_CF_INSERT (1 << 2)
NirT 0:c00e6c923941 48 #define MULTIEDIT_CF_AUTOSCROLLBAR_V (1 << 3)
NirT 0:c00e6c923941 49 #define MULTIEDIT_CF_AUTOSCROLLBAR_H (1 << 4)
NirT 0:c00e6c923941 50 #define MULTIEDIT_CF_PASSWORD (1 << 5)
NirT 0:c00e6c923941 51
NirT 0:c00e6c923941 52 #define MULTIEDIT_SF_READONLY MULTIEDIT_CF_READONLY
NirT 0:c00e6c923941 53 #define MULTIEDIT_SF_INSERT MULTIEDIT_CF_INSERT
NirT 0:c00e6c923941 54 #define MULTIEDIT_SF_AUTOSCROLLBAR_V MULTIEDIT_CF_AUTOSCROLLBAR_V
NirT 0:c00e6c923941 55 #define MULTIEDIT_SF_AUTOSCROLLBAR_H MULTIEDIT_CF_AUTOSCROLLBAR_H
NirT 0:c00e6c923941 56 #define MULTIEDIT_SF_PASSWORD MULTIEDIT_CF_PASSWORD
NirT 0:c00e6c923941 57
NirT 0:c00e6c923941 58 /*********************************************************************
NirT 0:c00e6c923941 59 *
NirT 0:c00e6c923941 60 * Color indices
NirT 0:c00e6c923941 61 */
NirT 0:c00e6c923941 62 #define MULTIEDIT_CI_EDIT 0
NirT 0:c00e6c923941 63 #define MULTIEDIT_CI_READONLY 1
NirT 0:c00e6c923941 64
NirT 0:c00e6c923941 65 /*********************************************************************
NirT 0:c00e6c923941 66 *
NirT 0:c00e6c923941 67 * Public Types
NirT 0:c00e6c923941 68 *
NirT 0:c00e6c923941 69 **********************************************************************
NirT 0:c00e6c923941 70 */
NirT 0:c00e6c923941 71
NirT 0:c00e6c923941 72 typedef WM_HMEM MULTIEDIT_HANDLE;
NirT 0:c00e6c923941 73
NirT 0:c00e6c923941 74 /*********************************************************************
NirT 0:c00e6c923941 75 *
NirT 0:c00e6c923941 76 * Create functions
NirT 0:c00e6c923941 77 *
NirT 0:c00e6c923941 78 **********************************************************************
NirT 0:c00e6c923941 79 */
NirT 0:c00e6c923941 80 MULTIEDIT_HANDLE MULTIEDIT_Create (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int Id, int Flags, int ExFlags, const char * pText, int MaxLen);
NirT 0:c00e6c923941 81 MULTIEDIT_HANDLE MULTIEDIT_CreateEx (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, int BufferSize, const char * pText);
NirT 0:c00e6c923941 82 MULTIEDIT_HANDLE MULTIEDIT_CreateIndirect(const GUI_WIDGET_CREATE_INFO* pCreateInfo, WM_HWIN hWinParent, int x0, int y0, WM_CALLBACK * cb);
NirT 0:c00e6c923941 83 MULTIEDIT_HANDLE MULTIEDIT_CreateUser (int x0, int y0, int xSize, int ySize, WM_HWIN hParent, int WinFlags, int ExFlags, int Id, int BufferSize, const char * pText, int NumExtraBytes);
NirT 0:c00e6c923941 84
NirT 0:c00e6c923941 85 /*********************************************************************
NirT 0:c00e6c923941 86 *
NirT 0:c00e6c923941 87 * The callback ...
NirT 0:c00e6c923941 88 *
NirT 0:c00e6c923941 89 * Do not call it directly ! It is only to be used from within an
NirT 0:c00e6c923941 90 * overwritten callback.
NirT 0:c00e6c923941 91 */
NirT 0:c00e6c923941 92 void MULTIEDIT_Callback(WM_MESSAGE * pMsg);
NirT 0:c00e6c923941 93
NirT 0:c00e6c923941 94 /*********************************************************************
NirT 0:c00e6c923941 95 *
NirT 0:c00e6c923941 96 * Member functions
NirT 0:c00e6c923941 97 *
NirT 0:c00e6c923941 98 **********************************************************************
NirT 0:c00e6c923941 99 */
NirT 0:c00e6c923941 100
NirT 0:c00e6c923941 101 int MULTIEDIT_AddKey (MULTIEDIT_HANDLE hObj, U16 Key);
NirT 0:c00e6c923941 102 int MULTIEDIT_AddText (MULTIEDIT_HANDLE hObj, const char * s);
NirT 0:c00e6c923941 103 void MULTIEDIT_EnableBlink (MULTIEDIT_HANDLE hObj, int Period, int OnOff);
NirT 0:c00e6c923941 104 int MULTIEDIT_GetCursorCharPos (MULTIEDIT_HANDLE hObj);
NirT 0:c00e6c923941 105 void MULTIEDIT_GetCursorPixelPos(MULTIEDIT_HANDLE hObj, int * pxPos, int * pyPos);
NirT 0:c00e6c923941 106 void MULTIEDIT_GetPrompt (MULTIEDIT_HANDLE hObj, char* sDest, int MaxNumChars);
NirT 0:c00e6c923941 107 int MULTIEDIT_GetTextSize (MULTIEDIT_HANDLE hObj);
NirT 0:c00e6c923941 108 void MULTIEDIT_GetText (MULTIEDIT_HANDLE hObj, char* sDest, int MaxNumChars);
NirT 0:c00e6c923941 109 int MULTIEDIT_GetUserData (MULTIEDIT_HANDLE hObj, void * pDest, int NumBytes);
NirT 0:c00e6c923941 110 void MULTIEDIT_SetTextAlign (MULTIEDIT_HANDLE hObj, int Align);
NirT 0:c00e6c923941 111 void MULTIEDIT_SetAutoScrollH (MULTIEDIT_HANDLE hObj, int OnOff);
NirT 0:c00e6c923941 112 void MULTIEDIT_SetAutoScrollV (MULTIEDIT_HANDLE hObj, int OnOff);
NirT 0:c00e6c923941 113 void MULTIEDIT_SetBkColor (MULTIEDIT_HANDLE hObj, unsigned Index, GUI_COLOR color);
NirT 0:c00e6c923941 114 void MULTIEDIT_SetCursorCharPos (MULTIEDIT_HANDLE hObj, int x, int y); /* Not yet implemented */
NirT 0:c00e6c923941 115 void MULTIEDIT_SetCursorPixelPos(MULTIEDIT_HANDLE hObj, int x, int y); /* Not yet implemented */
NirT 0:c00e6c923941 116 void MULTIEDIT_SetCursorOffset (MULTIEDIT_HANDLE hObj, int Offset);
NirT 0:c00e6c923941 117 void MULTIEDIT_SetHBorder (MULTIEDIT_HANDLE hObj, unsigned HBorder);
NirT 0:c00e6c923941 118 void MULTIEDIT_SetFocussable (MULTIEDIT_HANDLE hObj, int State);
NirT 0:c00e6c923941 119 void MULTIEDIT_SetFont (MULTIEDIT_HANDLE hObj, const GUI_FONT * pFont);
NirT 0:c00e6c923941 120 void MULTIEDIT_SetInsertMode (MULTIEDIT_HANDLE hObj, int OnOff);
NirT 0:c00e6c923941 121 void MULTIEDIT_SetBufferSize (MULTIEDIT_HANDLE hObj, int BufferSize);
NirT 0:c00e6c923941 122 void MULTIEDIT_SetMaxNumChars (MULTIEDIT_HANDLE hObj, unsigned MaxNumChars);
NirT 0:c00e6c923941 123 void MULTIEDIT_SetPrompt (MULTIEDIT_HANDLE hObj, const char* sPrompt);
NirT 0:c00e6c923941 124 void MULTIEDIT_SetReadOnly (MULTIEDIT_HANDLE hObj, int OnOff);
NirT 0:c00e6c923941 125 void MULTIEDIT_SetPasswordMode (MULTIEDIT_HANDLE hObj, int OnOff);
NirT 0:c00e6c923941 126 void MULTIEDIT_SetText (MULTIEDIT_HANDLE hObj, const char* s);
NirT 0:c00e6c923941 127 void MULTIEDIT_SetTextColor (MULTIEDIT_HANDLE hObj, unsigned Index, GUI_COLOR color);
NirT 0:c00e6c923941 128 int MULTIEDIT_SetUserData (MULTIEDIT_HANDLE hObj, const void * pSrc, int NumBytes);
NirT 0:c00e6c923941 129 void MULTIEDIT_SetWrapNone (MULTIEDIT_HANDLE hObj);
NirT 0:c00e6c923941 130 void MULTIEDIT_SetWrapChar (MULTIEDIT_HANDLE hObj);
NirT 0:c00e6c923941 131 void MULTIEDIT_SetWrapWord (MULTIEDIT_HANDLE hObj);
NirT 0:c00e6c923941 132
NirT 0:c00e6c923941 133 /*********************************************************************
NirT 0:c00e6c923941 134 *
NirT 0:c00e6c923941 135 * Macros for compatibility with older versions
NirT 0:c00e6c923941 136 *
NirT 0:c00e6c923941 137 **********************************************************************
NirT 0:c00e6c923941 138 */
NirT 0:c00e6c923941 139
NirT 0:c00e6c923941 140 #define MULTIEDIT_SetMaxLen(hObj, MaxLen) MULTIEDIT_SetBufferSize(hObj, MaxLen)
NirT 0:c00e6c923941 141 #define MULTIEDIT_GetStringSize MULTIEDIT_GetTextSize
NirT 0:c00e6c923941 142
NirT 0:c00e6c923941 143 #if defined(__cplusplus)
NirT 0:c00e6c923941 144 }
NirT 0:c00e6c923941 145 #endif
NirT 0:c00e6c923941 146
NirT 0:c00e6c923941 147 #endif // GUI_WINSUPPORT
NirT 0:c00e6c923941 148 #endif // MULTIEDIT_H
NirT 0:c00e6c923941 149
NirT 0:c00e6c923941 150 /*************************** End of file ****************************/