Andrew Reed / Mbed OS CITY1082-i2c_master_wifi_mqtt
Committer:
reedas
Date:
Sat Nov 13 12:02:49 2021 +0000
Revision:
5:f62a9e4a499a
trying to include mbed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
reedas 5:f62a9e4a499a 1 /*********************************************************************
reedas 5:f62a9e4a499a 2 * SEGGER Microcontroller GmbH *
reedas 5:f62a9e4a499a 3 * Solutions for real time microcontroller applications *
reedas 5:f62a9e4a499a 4 **********************************************************************
reedas 5:f62a9e4a499a 5 * *
reedas 5:f62a9e4a499a 6 * (c) 1996 - 2018 SEGGER Microcontroller GmbH *
reedas 5:f62a9e4a499a 7 * *
reedas 5:f62a9e4a499a 8 * Internet: www.segger.com Support: support@segger.com *
reedas 5:f62a9e4a499a 9 * *
reedas 5:f62a9e4a499a 10 **********************************************************************
reedas 5:f62a9e4a499a 11
reedas 5:f62a9e4a499a 12 ** emWin V5.48 - Graphical user interface for embedded applications **
reedas 5:f62a9e4a499a 13 All Intellectual Property rights in the Software belongs to SEGGER.
reedas 5:f62a9e4a499a 14 emWin is protected by international copyright laws. Knowledge of the
reedas 5:f62a9e4a499a 15 source code may not be used to write a similar product. This file may
reedas 5:f62a9e4a499a 16 only be used in accordance with the following terms:
reedas 5:f62a9e4a499a 17
reedas 5:f62a9e4a499a 18 The software has been licensed to Cypress Semiconductor Corporation,
reedas 5:f62a9e4a499a 19 whose registered office is situated at 198 Champion Ct. San Jose, CA
reedas 5:f62a9e4a499a 20 95134 USA solely for the purposes of creating libraries for Cypress
reedas 5:f62a9e4a499a 21 PSoC3 and PSoC5 processor-based devices, sublicensed and distributed
reedas 5:f62a9e4a499a 22 under the terms and conditions of the Cypress End User License
reedas 5:f62a9e4a499a 23 Agreement.
reedas 5:f62a9e4a499a 24 Full source code is available at: www.segger.com
reedas 5:f62a9e4a499a 25
reedas 5:f62a9e4a499a 26 We appreciate your understanding and fairness.
reedas 5:f62a9e4a499a 27 ----------------------------------------------------------------------
reedas 5:f62a9e4a499a 28 Licensing information
reedas 5:f62a9e4a499a 29 Licensor: SEGGER Microcontroller Systems LLC
reedas 5:f62a9e4a499a 30 Licensed to: Cypress Semiconductor Corp, 198 Champion Ct., San Jose, CA 95134, USA
reedas 5:f62a9e4a499a 31 Licensed SEGGER software: emWin
reedas 5:f62a9e4a499a 32 License number: GUI-00319
reedas 5:f62a9e4a499a 33 License model: Services and License Agreement, signed June 10th, 2009
reedas 5:f62a9e4a499a 34 Licensed platform: Any Cypress platform (Initial targets are: PSoC3, PSoC5)
reedas 5:f62a9e4a499a 35 ----------------------------------------------------------------------
reedas 5:f62a9e4a499a 36 Support and Update Agreement (SUA)
reedas 5:f62a9e4a499a 37 SUA period: 2009-06-12 - 2022-07-27
reedas 5:f62a9e4a499a 38 Contact to extend SUA: sales@segger.com
reedas 5:f62a9e4a499a 39 ----------------------------------------------------------------------
reedas 5:f62a9e4a499a 40 File : GUIConf.c
reedas 5:f62a9e4a499a 41 Purpose : Display controller initialization
reedas 5:f62a9e4a499a 42 ---------------------------END-OF-HEADER------------------------------
reedas 5:f62a9e4a499a 43 */
reedas 5:f62a9e4a499a 44
reedas 5:f62a9e4a499a 45 #include "GUI.h"
reedas 5:f62a9e4a499a 46
reedas 5:f62a9e4a499a 47 /*********************************************************************
reedas 5:f62a9e4a499a 48 *
reedas 5:f62a9e4a499a 49 * Defines
reedas 5:f62a9e4a499a 50 *
reedas 5:f62a9e4a499a 51 **********************************************************************
reedas 5:f62a9e4a499a 52 */
reedas 5:f62a9e4a499a 53 //
reedas 5:f62a9e4a499a 54 // Define the available number of bytes available for the GUI
reedas 5:f62a9e4a499a 55 //
reedas 5:f62a9e4a499a 56 #define GUI_NUMBYTES (1024*32)
reedas 5:f62a9e4a499a 57
reedas 5:f62a9e4a499a 58 /*********************************************************************
reedas 5:f62a9e4a499a 59 *
reedas 5:f62a9e4a499a 60 * Public code
reedas 5:f62a9e4a499a 61 *
reedas 5:f62a9e4a499a 62 **********************************************************************
reedas 5:f62a9e4a499a 63 */
reedas 5:f62a9e4a499a 64 /*********************************************************************
reedas 5:f62a9e4a499a 65 *
reedas 5:f62a9e4a499a 66 * GUI_X_Config
reedas 5:f62a9e4a499a 67 *
reedas 5:f62a9e4a499a 68 * Purpose:
reedas 5:f62a9e4a499a 69 * Called during the initialization process in order to set up the
reedas 5:f62a9e4a499a 70 * available memory for the GUI.
reedas 5:f62a9e4a499a 71 */
reedas 5:f62a9e4a499a 72 void GUI_X_Config(void) {
reedas 5:f62a9e4a499a 73 //
reedas 5:f62a9e4a499a 74 // 32 bit aligned memory area
reedas 5:f62a9e4a499a 75 //
reedas 5:f62a9e4a499a 76 static U32 aMemory[GUI_NUMBYTES / 4];
reedas 5:f62a9e4a499a 77 //
reedas 5:f62a9e4a499a 78 // Assign memory to emWin
reedas 5:f62a9e4a499a 79 //
reedas 5:f62a9e4a499a 80 GUI_ALLOC_AssignMemory(aMemory, GUI_NUMBYTES);
reedas 5:f62a9e4a499a 81 //
reedas 5:f62a9e4a499a 82 // Set default font
reedas 5:f62a9e4a499a 83 //
reedas 5:f62a9e4a499a 84 GUI_SetDefaultFont(GUI_FONT_6X8);
reedas 5:f62a9e4a499a 85 }
reedas 5:f62a9e4a499a 86
reedas 5:f62a9e4a499a 87 /*************************** End of file ****************************/