includes.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 "Key.h"
  46. #include "Msg.h"
  47. #include "delay.h"
  48. #include "id.h"
  49. #include "IAP.h"
  50. #include "md5.h"
  51. #include "crc.h"
  52. #include "flash.h"
  53. #include "MsgQueue.h"
  54. #include "W25Q64.h"
  55. #include "FileSys.h"
  56. #include "DownFiles.h"
  57. #include "CopyFile.h"
  58. #endif
  59. /*********************************************************************************************************
  60. END FILE
  61. *********************************************************************************************************/