1 /* 2 * Copyright (c) 2021 Chipsea Technologies (Shenzhen) Corp., Ltd. All rights reserved. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef _TASK_AL_H 16 #define _TASK_AL_H 17 18 /// Definitions of the different FHOST task stack size requirements 19 enum 20 { 21 TASK_STACK_SIZE_CONSOLE = 512, 22 TASK_STACK_SIZE_TEST = 2048, 23 TASK_STACK_SIZE_BT_TASK = 3072, 24 TASK_STACK_SIZE_ASIO = 2048, 25 TASK_STACK_SIZE_AUDIO = 2048, 26 TASK_STACK_SIZE_BLE_TASK_ONLY = 2048, 27 TASK_STACK_SIZE_BT_BLE_TASK = 4096, 28 TASK_STACK_SIZE_DSP = 512, 29 TASK_STACK_SIZE_WIFI_VOICE = 512, 30 TASK_STACK_SIZE_WIFI_TCPIP = 2048, 31 TASK_STACK_SIZE_WIFI_CNTRL = 3072, 32 TASK_STACK_SIZE_WIFI_IPC = 2048, 33 TASK_STACK_SIZE_WIFI_WPA = 3072, 34 TASK_STACK_SIZE_WIFI_TG_SEND = 1024, 35 TASK_STACK_SIZE_WIFI_PING_SEND = 512, 36 TASK_STACK_SIZE_WIFI_IPERF = 1024, 37 TASK_STACK_SIZE_WIFI_SMARTCONF = 1024, 38 TASK_STACK_SIZE_WIFI_TX = 1024, 39 TASK_STACK_SIZE_CO_MAIN = 1024, 40 TASK_STACK_SIZE_WIFI_USER = 512, 41 TASK_STACK_SIZE_USB_BT = 512, 42 }; 43 44 #endif 45