includes.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. *********************************************************************************************************
  3. * EXAMPLE CODE
  4. *
  5. * (c) Copyright 2009; Micrium, Inc.; Weston, FL
  6. *
  7. * All rights reserved. Protected by international copyright laws.
  8. * Knowledge of the source code may NOT be used to develop a similar product.
  9. * Please help us continue to provide the Embedded community with the finest
  10. * software available. Your honesty is greatly appreciated.
  11. *********************************************************************************************************
  12. */
  13. /*
  14. *********************************************************************************************************
  15. *
  16. * MASTER INCLUDES
  17. *
  18. * ST Microelectronics STM32
  19. * with the
  20. * STM3210E-EVAL Evaluation Board
  21. *
  22. * Filename : includes.h
  23. * Version : V1.00
  24. * Programmer(s) : EHS
  25. *********************************************************************************************************
  26. */
  27. #ifndef INCLUDES_PRESENT
  28. #define INCLUDES_PRESENT
  29. /*
  30. *********************************************************************************************************
  31. * STANDARD LIBRARIES
  32. *********************************************************************************************************
  33. */
  34. #include <stdarg.h>
  35. #include <stdio.h>
  36. #include <stdint.h>
  37. #include <string.h>
  38. #include <stdlib.h>
  39. #include <math.h>
  40. #include <ctype.h>
  41. #include <time.h>
  42. /*
  43. *********************************************************************************************************
  44. * LIBRARIES
  45. *********************************************************************************************************
  46. */
  47. #include <cpu.h>
  48. #include <lib_def.h>
  49. #include <lib_ascii.h>
  50. #include <lib_math.h>
  51. #include <lib_mem.h>
  52. #include <lib_str.h>
  53. /*
  54. *********************************************************************************************************
  55. * APP / BSP
  56. *********************************************************************************************************
  57. */
  58. #include <app_cfg.h>
  59. #include <bsp.h>
  60. /*
  61. *********************************************************************************************************
  62. * OS
  63. *********************************************************************************************************
  64. */
  65. #include <os.h>
  66. #include "os_cfg_app.h"
  67. /*
  68. *********************************************************************************************************
  69. * ST
  70. *********************************************************************************************************
  71. */
  72. //#include <stm32f10x_lib.h>
  73. #include "stm32f10x.h"
  74. /*
  75. *********************************************************************************************************
  76. * INCLUDES END
  77. *********************************************************************************************************
  78. */
  79. #include "app.h"
  80. #include "BSP.h"
  81. #include "Uart.h"
  82. #include "Flash.h"
  83. #include "sys.h"
  84. #include "macro_common.h"
  85. #include "delay.h"
  86. #include "rtc.h"
  87. #define BYTE1 __attribute__((packed, aligned(1))) //aligned(1)£º1×Ö½Ú¶ÔÆë
  88. #endif