/* ----------------------------------------------------------------------------- * Copyright (c) 2019 Arm Limited (or its affiliates). All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * * $Date: 12. November 2019 * $Revision: V1.0 * * Project: ESP8266 WiFi Driver * -------------------------------------------------------------------------- */ //-------- <<< Use Configuration Wizard in Context Menu >>> -------------------- // ESP8266 WiFi Driver Configuration // WiFi Driver Number (Driver_WiFi#) <0-255> // Defines exported WiFi driver control block number (Driver_WiFi#) // Default: 0 #define WIFI_ESP8266_DRIVER_NUMBER 0 // Connect to hardware via Driver_USART# <0-255> // Defines the serial driver control block number (Driver_USART#) // Default: 0 #define WIFI_ESP8266_SERIAL_DRIVER 3 // Serial interface baudrate <115200=>115200 // <230400=>230400 // <460800=>460800 // <921600=>921600 // Defines the serial interface baudrate. // Default: 115200 #define WIFI_ESP8266_SERIAL_BAUDRATE 115200 // WiFi thread priority <0=>osPriorityLow // <1=>osPriorityBelowNormal // <2=>osPriorityNormal // <3=>osPriorityAboveNormal // <4=>osPriorityHigh // <5=>osPriorityRealtime // Defines the WiFi driver thread priority. // The priority of the WiFi thread should be higher as application thread priority. // Default: 3 #define WIFI_ESP8266_THREAD_PRIORITY 3 // WiFi thread stack size [bytes] <96-1073741824:8> // Defines stack size for the WiFi Thread. // Default: 512 #define WIFI_ESP8266_THREAD_STACK_SIZE 512 // Socket buffer block size <128-16384:128> // Defines the size of one memory block used for socket data buffering. // Socket buffering consists of multiple blocks which are distributed across multiple sockets. // Default: 512 #define WIFI_ESP8266_SOCKET_BLOCK_SIZE 512 // Socket buffer block count <5-256> // Defines the total number of memory blocks used for socket data buffering. // Socket buffering consists of multiple blocks which are distributed across multiple sockets. // Default: 8 #define WIFI_ESP8266_SOCKET_BLOCK_COUNT 8 // Serial parser buffer block size // Defines the size of one memory block in serial parser buffer. // The total size of serial parser buffer is defined by memory block size and number of blocks. // Default: 256 #define WIFI_ESP8266_PARSER_BLOCK_SIZE 256 // Serial parser buffer block count // Defines the number of memory blocks in serial parser buffer. // The total size of serial parser buffer is defined by memory block size and number of blocks. // Default: 8 #define WIFI_ESP8266_PARSER_BLOCK_COUNT 8 // //------------- <<< end of configuration section >>> -------------------------