Files
kunlun/export/inc/config/nb_config_api.h
2024-09-28 14:24:04 +08:00

72 lines
2.2 KiB
C

/****************************************************************************
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 NB_CONFIG_API_H
#define NB_CONFIG_API_H
#ifdef __cplusplus
extern "C" {
#endif
/* HW configuration start *****************************************************/
/* HW platform defination, simulator by default */
#define HW_PLATFORM_SIMU 0
#define HW_PLATFORM_FPGA 1
#define HW_PLATFORM_SILICON 2
#ifndef HW_PLATFORM
#define HW_PLATFORM HW_PLATFORM_SIMU
#endif
/* TASK priority configuration start ******************************************/
/* TASK priority configuration end ********************************************/
/* DEBUG configuration start **************************************************/
#ifndef IOT_ASSERT_DEBUG
#define IOT_ASSERT_DEBUG 1
#endif
#define IOT_PKT_DEBUG 0
#define IOT_EXCEPTION_DEBUG 1
#define IOT_FULL_DUMP_DEBUG 0
#define IOT_PRINTF_DEBUG 1
#define UART_DEBUG 1
/* DEBUG configuration end ****************************************************/
/* APPLICAITON configuration start ********************************************/
#define IOT_OS_MALLOC_DEBUG 0
/* APPLICAITON configuration end **********************************************/
#ifdef __cplusplus
}
#endif
#endif /* NB_CONFIG_API_H */