|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
/// COPYRIGHT NOTICE
|
|
|
|
/// Copyright (c) 2017, 传控科技
|
|
|
|
/// All rights reserved.
|
|
|
|
///
|
|
|
|
/// @file main.c
|
|
|
|
/// @brief main app
|
|
|
|
///
|
|
|
|
///(本文件实现的功能的详述)
|
|
|
|
///
|
|
|
|
/// @version 1.1 CCsens technology
|
|
|
|
/// @author CC
|
|
|
|
/// @date 20150102
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// 修订说明:最初版本
|
|
|
|
/// Modified by:
|
|
|
|
/// Modified date:
|
|
|
|
/// Version:
|
|
|
|
/// Descriptions:
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// msp: humtemp flow
|
|
|
|
/// bsp: i2c adc
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _MAIN_H
|
|
|
|
#define _MAIN_H
|
|
|
|
|
|
|
|
//#include "../msp/msp_uart0.h"
|
|
|
|
//#include "../msp/msp_uart2.h"
|
|
|
|
//#include "../msp/msp_uart3.h"
|
|
|
|
|
|
|
|
#include "../msp/uart0.h"
|
|
|
|
#include "../msp/uart2.h"
|
|
|
|
#include "../msp/uart3.h"
|
|
|
|
#include "../msp/uart4.h"
|
|
|
|
|
|
|
|
// #include "../msp/eeprom.h"
|
|
|
|
// #include "../msp/msp_eeprom.h"
|
|
|
|
|
|
|
|
#include "../bsp/bsp_config.h"
|
|
|
|
#include "../bsp/chipid.h"
|
|
|
|
///#include "../bsp/cs1232.h"
|
|
|
|
#include "../bsp/rs485.h"
|
|
|
|
|
|
|
|
#include "../app/app_config.h"
|
|
|
|
#include "../app/task_modbus.h"
|
|
|
|
///#include "../app/task_adc.h"
|
|
|
|
///#include "../app/task_debug.h"
|
|
|
|
#include "../app/task_register.h"
|
|
|
|
#include "../app/task_encrypt.h"
|
|
|
|
|
|
|
|
#include "../app/task_key.h"
|
|
|
|
#include "../app/app_task_tcp.h"
|
|
|
|
#include "../app/app_task_tcp_control.h"
|
|
|
|
#include "../app/app_task_speech.h"
|
|
|
|
#include "../app/task_game.h"
|
|
|
|
#include "../app/app_data_save.h"
|
|
|
|
|
|
|
|
#include "../app/app_config.h"
|
|
|
|
#include "../app/task_appstatus.h"
|
|
|
|
#include "../app/task_appTEST.h"
|
|
|
|
#include "../app/task_keystatus.h"
|
|
|
|
#include "../app/task_w600.h"
|
|
|
|
#include "../app/task_SmartConfig.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "../bsp/bsp_led.h"
|
|
|
|
#include "../bsp/bsp_key.h"
|
|
|
|
#include "../bsp/bsp_WT2605B.h"
|
|
|
|
#include "../bsp/bsp_wifi.h"
|
|
|
|
#include "../bsp/bsp_ooid.h"
|
|
|
|
|
|
|
|
#include "../bsp/bsp_oid.h"
|
|
|
|
|
|
|
|
#include "../msp/msp_eeprom.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "../asp/asp_oid.h"
|
|
|
|
#include "../ctask/tick.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#endif //#ifndef _MAIN_H
|
|
|
|
|
|
|
|
|