includes.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /****************************************Copyright (c)****************************************************
  2. **
  3. ** http://www.powermcu.com
  4. **
  5. **--------------File Info---------------------------------------------------------------------------------
  6. ** File name: includes.h
  7. ** Descriptions: includes.h for ucos
  8. **
  9. **--------------------------------------------------------------------------------------------------------
  10. ** Created by: AVRman
  11. ** Created date: 2010-11-9
  12. ** Version: v1.0
  13. ** Descriptions: The original version
  14. **
  15. **--------------------------------------------------------------------------------------------------------
  16. ** Modified by:
  17. ** Modified date:
  18. ** Version:
  19. ** Descriptions:
  20. **
  21. *********************************************************************************************************/
  22. #ifndef __INCLUDES_H__
  23. #define __INCLUDES_H__
  24. /* Includes ------------------------------------------------------------------*/
  25. #include <stdio.h>
  26. #include <string.h>
  27. #include <ctype.h>
  28. #include <stdlib.h>
  29. #include <stdarg.h>
  30. #include <math.h>
  31. #include "stdint.h"
  32. #define TRUE 0xffffffff
  33. #define FALSE 0x00000000
  34. #include <stm32f10x.h>
  35. typedef unsigned char u8_t; /* Unsigned 8 bit quantity */
  36. typedef signed char s8_t; /* Signed 8 bit quantity */
  37. typedef unsigned short u16_t; /* Unsigned 16 bit quantity */
  38. typedef signed short s16_t; /* Signed 16 bit quantity */
  39. typedef unsigned long u32_t; /* Unsigned 32 bit quantity */
  40. typedef signed long s32_t; /* Signed 32 bit quantity */
  41. typedef unsigned char INT8U; /* Unsigned 8 bit quantity */
  42. typedef unsigned char INT16U; /* Unsigned 8 bit quantity */
  43. #include "stm32f10x_flash.h"
  44. #include "Serial.h"
  45. #include "Msg.h"
  46. #include "delay.h"
  47. #include "id.h"
  48. #include "IAP.h"
  49. #include "md5.h"
  50. #include "crc.h"
  51. #include "flash.h"
  52. #include "MsgQueue.h"
  53. #include "WatchDog.h"
  54. #include "W25Q64.h"
  55. #include "CopyApp2Mcu.h"
  56. //#include "ModemMsg.h "
  57. extern unsigned char ExFlashWatchDog;
  58. #endif
  59. /*********************************************************************************************************
  60. END FILE
  61. *********************************************************************************************************/