/** ****************************************************************************** * @file main.h * @author MCD Application Team * @brief main application header file. ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */#ifndef__MAIN_H#define__MAIN_H#defineUSE_DHCP#include"stm32f4xx_hal.h"#include"stm32469i_eval.h"#include"stm32469i_eval_io.h"#include"cmsis_os.h"#ifdefUSE_LCD#include"stm32469i_eval_lcd.h"#include"stm32469i_eval_sdram.h"#include"lcd_log.h"/* ... */#endif#defineGW_ADDRESS"157.168.9.254"#defineNETMASK_ADDRESS"255.255.254.0"#defineHTTP_RESPONSE\"HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n"\"<h2>mbed TLS Test Server</h2>\r\n"\"<p>Successful connection using: %s</p>\r\n"...#ifdefUSE_DHCP#defineIP_ADDR00#defineIP_ADDR10#defineIP_ADDR20#defineIP_ADDR30#defineGW_ADDR00#defineGW_ADDR10#defineGW_ADDR20#defineGW_ADDR30#defineMASK_ADDR00#defineMASK_ADDR10#defineMASK_ADDR20#defineMASK_ADDR3012 defines/* ... */#else#defineIP_ADDR010#defineIP_ADDR1157#defineIP_ADDR29#defineIP_ADDR3133#defineGW_ADDR010#defineGW_ADDR1157#defineGW_ADDR29#defineGW_ADDR3254#defineMASK_ADDR0255#defineMASK_ADDR1255#defineMASK_ADDR2254#defineMASK_ADDR3012 defines/* ... */#endif/* USE_DHCP */#ifdefMBEDTLS_MEMORY_BUFFER_ALLOC_C#defineMAX_MEM_SIZE35*1024#endif/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*/voidSSL_Server(voidconst*argument);voidError_Handler(void);voidSuccess_Handler(void);Exported constants/* ... */#endif/*__MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.