92 lines
3.2 KiB
C
Executable File
92 lines
3.2 KiB
C
Executable File
/****************************************************************************
|
|
|
|
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
|
|
|
|
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
|
|
be copied by any method or incorporated into another program without
|
|
the express written consent of Aerospace C.Power. This Information or any portion
|
|
thereof remains the property of Aerospace C.Power. The Information contained herein
|
|
is believed to be accurate and Aerospace C.Power assumes no responsibility or
|
|
liability for its use in any way and conveys no license or title under
|
|
any patent or copyright and makes no representation or warranty that this
|
|
Information is free from patent or copyright infringement.
|
|
|
|
****************************************************************************/
|
|
|
|
/* This file contains the Kunlun features configuration
|
|
* any feature related .c file should include this file
|
|
*/
|
|
|
|
#ifndef AI_CONFIG_H
|
|
#define AI_CONFIG_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef IOT_FTM_SUPPORT
|
|
#define IOT_FTM_SUPPORT 1
|
|
#endif
|
|
#ifndef IOT_MP_SUPPORT
|
|
#define IOT_MP_SUPPORT 1
|
|
#endif
|
|
|
|
/* HW configuration start *****************************************************/
|
|
|
|
/* HW configuration end *******************************************************/
|
|
|
|
/* TASK size configuration start **********************************************/
|
|
|
|
#define IOT_DEFAULT_STACK_SIZE 512
|
|
#define IOT_INIT_TASK_PRIO 9
|
|
#define COMMUNICATOR_RX_TASK_PRIO 8
|
|
#define COMMUNICATOR_RX_CLI_TASK_PRIO 7
|
|
#define CLI_TX_MODULE_MSG_TASK_PRIO 8
|
|
#define CLI_MAIN_TASK_PRIO 8
|
|
#define CLI_HOST_TASK_PRIO 8
|
|
#define IOT_CLI_TASK_PRIO 8
|
|
#define IOT_UART_TASK_PRIO 9
|
|
#define IOT_PIB_TASK_PRIO 7
|
|
#define IOT_SHARE_TASK_L_PRIO 6
|
|
#define IOT_SHARE_TASK_H_PRIO 9
|
|
|
|
/* TASK size configuration end ************************************************/
|
|
|
|
/* WAR configuration start ****************************************************/
|
|
|
|
/* WAR configuration end ******************************************************/
|
|
|
|
/* DEBUG configuration start **************************************************/
|
|
|
|
/* iram isr monitor debug */
|
|
#define SNAPSHOT_MONITOR_DEBUG 0
|
|
#define DUAL_WDG_ON_ONE_CPU_ENABLE 1
|
|
#define JTAG0_REMAPPING_DEBUG 0
|
|
#define FLASH_SUSPEND_ENABLE 1
|
|
|
|
#define SYSTEM_GPIO_RESET_CONTROL 1
|
|
#define IOT_RECOVER_TIME (5*60*1000) // 5 min
|
|
|
|
#if (HW_PLATFORM == HW_PLATFORM_FPGA && FPGA_IMAGE_TYPE == FPGA_IMAGE_TYPE_BB)
|
|
#define IOT_LOG_TO_FLASH_ENABLE 0
|
|
#else //HW_PLATFORM == HW_PLATFORM_FPGA
|
|
#define IOT_LOG_TO_FLASH_ENABLE 1
|
|
#endif
|
|
|
|
/* DEBUG configuration end ****************************************************/
|
|
|
|
/* SIMULATOR configuration start **********************************************/
|
|
|
|
/* SIMULATOR configuration end ************************************************/
|
|
|
|
/* APPLICAITON configuration start ********************************************/
|
|
|
|
|
|
/* APPLICAITON configuration end **********************************************/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* AI_CONFIG_H */
|