123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- /****************************************Copyright (c)****************************************************
- **
- ** http://www.powermcu.com
- **
- **--------------File Info---------------------------------------------------------------------------------
- ** File name: includes.h
- ** Descriptions: includes.h for ucos
- **
- **--------------------------------------------------------------------------------------------------------
- ** Created by: AVRman
- ** Created date: 2010-11-9
- ** Version: v1.0
- ** Descriptions: The original version
- **
- **--------------------------------------------------------------------------------------------------------
- ** Modified by:
- ** Modified date:
- ** Version:
- ** Descriptions:
- **
- *********************************************************************************************************/
- #ifndef __INCLUDES_H__
- #define __INCLUDES_H__
- /* Includes ------------------------------------------------------------------*/
- #define OS_FIFOSZ 32 //16
-
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- #include <stdlib.h>
- #include <stdarg.h>
- #include <math.h>
- #include "stdint.h"
- #define TRUE 0xffffffff
- #define FALSE 0x00000000
- #include <stm32f10x.h>
- typedef unsigned char u8_t; /* Unsigned 8 bit quantity */
- typedef signed char s8_t; /* Signed 8 bit quantity */
- typedef unsigned short u16_t; /* Unsigned 16 bit quantity */
- typedef signed short s16_t; /* Signed 16 bit quantity */
- typedef unsigned long u32_t; /* Unsigned 32 bit quantity */
- typedef signed long s32_t; /* Signed 32 bit quantity */
- typedef unsigned char INT8U; /* Unsigned 8 bit quantity */
- typedef unsigned char INT16U; /* Unsigned 8 bit quantity */
- #include "stm32f10x_conf.h"
- #include "stm32f10x_flash.h"
- #include "stm32f10x_pwr.h"
- #include "stm32f10x_iwdg.h"
- #include "stm32f10x_dma.h"
- #include "Serial.h"
- #include "id.h"
- #include "ProductPara.h"
- //操作系统、任务
- #include <rtl.h>
- #include "MainTask.h"
- #include "ModemTask.h"
- #include "WiredLanTask.h"
- //others
- extern U32 os_time;
- //消息队列
- #include "MsgQueue.h"
- #include "LoopQueue.h"
- //驱动相关
- #include "Modem.h"
- #include "Led.h"
- #include "crc.h"
- #include "GPS.h"
- #include "AT25DF.h"
- #include "Storage.h"
- #include "Timer.h"
- #include "pt.h"
- #include "pt-timer.h"
- //应用相关
- #include "Storage.h"
- #include "WatchDog.h"
- #include "checksum.h"
- #include "MyFoTa.h"
- #include "md5.h"
- #include "ProtocolPack.h"
- #include "RTC.h"
- #include "MBCross.h"
- #include "authNew.h"
- //---
- #endif
- /*********************************************************************************************************
- END FILE
- *********************************************************************************************************/
|