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 * Portions COPYRIGHT 2015 STMicroelectronics *
NirT 0:c00e6c923941 3 * Portions SEGGER Microcontroller GmbH & Co. KG *
NirT 0:c00e6c923941 4 * Solutions for real time microcontroller applications *
NirT 0:c00e6c923941 5 **********************************************************************
NirT 0:c00e6c923941 6 * *
NirT 0:c00e6c923941 7 * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
NirT 0:c00e6c923941 8 * *
NirT 0:c00e6c923941 9 * Internet: www.segger.com Support: support@segger.com *
NirT 0:c00e6c923941 10 * *
NirT 0:c00e6c923941 11 **********************************************************************
NirT 0:c00e6c923941 12
NirT 0:c00e6c923941 13 ** emWin V5.28 - Graphical user interface for embedded applications **
NirT 0:c00e6c923941 14 All Intellectual Property rights in the Software belongs to SEGGER.
NirT 0:c00e6c923941 15 emWin is protected by international copyright laws. Knowledge of the
NirT 0:c00e6c923941 16 source code may not be used to write a similar product. This file may
NirT 0:c00e6c923941 17 only be used in accordance with the following terms:
NirT 0:c00e6c923941 18
NirT 0:c00e6c923941 19 The software has been licensed to STMicroelectronics International
NirT 0:c00e6c923941 20 N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
NirT 0:c00e6c923941 21 les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
NirT 0:c00e6c923941 22 purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
NirT 0:c00e6c923941 23 troller products commercialized by Licensee only, sublicensed and dis_
NirT 0:c00e6c923941 24 tributed under the terms and conditions of the End User License Agree_
NirT 0:c00e6c923941 25 ment supplied by STMicroelectronics International N.V.
NirT 0:c00e6c923941 26 Full source code is available at: www.segger.com
NirT 0:c00e6c923941 27
NirT 0:c00e6c923941 28 We appreciate your understanding and fairness.
NirT 0:c00e6c923941 29 ----------------------------------------------------------------------
NirT 0:c00e6c923941 30 File : GUI_SIM_Win32.h
NirT 0:c00e6c923941 31 Purpose : Declares public functions of Simulation
NirT 0:c00e6c923941 32 ----------------------------------------------------------------------
NirT 0:c00e6c923941 33 */
NirT 0:c00e6c923941 34
NirT 0:c00e6c923941 35 /**
NirT 0:c00e6c923941 36 ******************************************************************************
NirT 0:c00e6c923941 37 * @attention
NirT 0:c00e6c923941 38 *
NirT 0:c00e6c923941 39 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
NirT 0:c00e6c923941 40 * You may not use this file except in compliance with the License.
NirT 0:c00e6c923941 41 * You may obtain a copy of the License at:
NirT 0:c00e6c923941 42 *
NirT 0:c00e6c923941 43 * http://www.st.com/software_license_agreement_liberty_v2
NirT 0:c00e6c923941 44 *
NirT 0:c00e6c923941 45 * Unless required by applicable law or agreed to in writing, software
NirT 0:c00e6c923941 46 * distributed under the License is distributed on an "AS IS" BASIS,
NirT 0:c00e6c923941 47 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
NirT 0:c00e6c923941 48 * See the License for the specific language governing permissions and
NirT 0:c00e6c923941 49 * limitations under the License.
NirT 0:c00e6c923941 50 *
NirT 0:c00e6c923941 51 ******************************************************************************
NirT 0:c00e6c923941 52 */
NirT 0:c00e6c923941 53
NirT 0:c00e6c923941 54 #ifndef SIM_GUI_H
NirT 0:c00e6c923941 55 #define SIM_GUI_H
NirT 0:c00e6c923941 56
NirT 0:c00e6c923941 57 #if defined(__cplusplus)
NirT 0:c00e6c923941 58 extern "C" { /* Make sure we have C-declarations in C++ programs */
NirT 0:c00e6c923941 59 #endif
NirT 0:c00e6c923941 60
NirT 0:c00e6c923941 61 /********************************************************************
NirT 0:c00e6c923941 62 *
NirT 0:c00e6c923941 63 * Data
NirT 0:c00e6c923941 64 *
NirT 0:c00e6c923941 65 *********************************************************************
NirT 0:c00e6c923941 66 */
NirT 0:c00e6c923941 67 extern HINSTANCE SIM_GUI_hInst;
NirT 0:c00e6c923941 68 extern HWND SIM_GUI_hWndMain;
NirT 0:c00e6c923941 69
NirT 0:c00e6c923941 70 /********************************************************************
NirT 0:c00e6c923941 71 *
NirT 0:c00e6c923941 72 * Types
NirT 0:c00e6c923941 73 *
NirT 0:c00e6c923941 74 *********************************************************************
NirT 0:c00e6c923941 75 */
NirT 0:c00e6c923941 76 typedef struct {
NirT 0:c00e6c923941 77 HWND hWndMain;
NirT 0:c00e6c923941 78 HWND ahWndLCD[16];
NirT 0:c00e6c923941 79 HWND ahWndColor[16];
NirT 0:c00e6c923941 80 } SIM_GUI_INFO;
NirT 0:c00e6c923941 81
NirT 0:c00e6c923941 82 typedef int SIM_GUI_tfHook (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, int * pResult);
NirT 0:c00e6c923941 83 typedef void SIM_GUI_tfDelayHandler (int ms);
NirT 0:c00e6c923941 84 typedef void SIM_GUI_tfExecIdleHandler(void);
NirT 0:c00e6c923941 85
NirT 0:c00e6c923941 86 /********************************************************************
NirT 0:c00e6c923941 87 *
NirT 0:c00e6c923941 88 * Interface
NirT 0:c00e6c923941 89 *
NirT 0:c00e6c923941 90 *********************************************************************
NirT 0:c00e6c923941 91 */
NirT 0:c00e6c923941 92 void SIM_GUI_ShowDevice (int OnOff);
NirT 0:c00e6c923941 93 void SIM_GUI_SetCallback (int (* pfCallback)(SIM_GUI_INFO * pInfo));
NirT 0:c00e6c923941 94 void SIM_GUI_HandleKeyEvents (unsigned Msg, WPARAM wParam);
NirT 0:c00e6c923941 95 HWND SIM_GUI_CreateCompositeWindow(HWND hParent, int x, int y, int xSize, int ySize, int DisplayIndex);
NirT 0:c00e6c923941 96 HWND SIM_GUI_CreateLCDWindow (HWND hParent, int x, int y, int xSize, int ySize, int LayerIndex);
NirT 0:c00e6c923941 97 HWND SIM_GUI_CreateLOGWindow (HWND hParent, int x, int y, int xSize, int ySize);
NirT 0:c00e6c923941 98 HWND SIM_GUI_CreateLCDInfoWindow (HWND hParent, int x, int y, int xSize, int ySize, int LayerIndex);
NirT 0:c00e6c923941 99 void SIM_GUI_Enable (void);
NirT 0:c00e6c923941 100 int SIM_GUI_Init (HINSTANCE hInst, HWND hWndMain, char * pCmdLine, const char * sAppName);
NirT 0:c00e6c923941 101 void SIM_GUI_CopyToClipboard (int LayerIndex);
NirT 0:c00e6c923941 102 void SIM_GUI_SetLCDWindowHook (SIM_GUI_tfHook * pfHook);
NirT 0:c00e6c923941 103 void SIM_GUI_SetDelayHandler (SIM_GUI_tfDelayHandler * pfHandler);
NirT 0:c00e6c923941 104 void SIM_GUI_SetExecIdleHandler (SIM_GUI_tfExecIdleHandler * pfHandler);
NirT 0:c00e6c923941 105 void SIM_GUI_GetCompositeSize (int * pxSize, int * pySize);
NirT 0:c00e6c923941 106 int SIM_GUI_GetTransColor (void);
NirT 0:c00e6c923941 107 void SIM_GUI_GetLCDPos (int * px, int * py);
NirT 0:c00e6c923941 108 void SIM_GUI_Exit (void);
NirT 0:c00e6c923941 109 void SIM_GUI_SetMessageBoxOnError (int OnOff);
NirT 0:c00e6c923941 110 int SIM_GUI_App (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
NirT 0:c00e6c923941 111 void SIM_GUI_SetPixel (int x, int y, unsigned Color);
NirT 0:c00e6c923941 112
NirT 0:c00e6c923941 113 void SIM_GUI_LOG_Time (void);
NirT 0:c00e6c923941 114 void __cdecl SIM_GUI_LOG_Add (const char *format ,... );
NirT 0:c00e6c923941 115 void SIM_GUI_LOG_AddRed(void);
NirT 0:c00e6c923941 116 void SIM_GUI_LOG_Clear (void);
NirT 0:c00e6c923941 117
NirT 0:c00e6c923941 118 void LCDSIM_Paint (HWND hWnd);
NirT 0:c00e6c923941 119 void LCDSIM_PaintComposite(HWND hWnd);
NirT 0:c00e6c923941 120 void LCDSIM_SetTransMode (int LayerIndex, int TransMode);
NirT 0:c00e6c923941 121 void LCDSIM_SetChroma (int LayerIndex, unsigned long ChromaMin, unsigned long ChromaMax);
NirT 0:c00e6c923941 122
NirT 0:c00e6c923941 123 #if defined(__cplusplus)
NirT 0:c00e6c923941 124 }
NirT 0:c00e6c923941 125 #endif
NirT 0:c00e6c923941 126
NirT 0:c00e6c923941 127 #endif /* SIM_GUI_H */