includes.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. /*
  42. *********************************************************************************************************
  43. * LIBRARIES
  44. *********************************************************************************************************
  45. */
  46. //#include <cpu.h>
  47. //#include <lib_def.h>
  48. //#include <lib_ascii.h>
  49. //#include <lib_math.h>
  50. //#include <lib_mem.h>
  51. //#include <lib_str.h>
  52. /*
  53. *********************************************************************************************************
  54. * APP / BSP
  55. *********************************************************************************************************
  56. */
  57. //#include <app_cfg.h>
  58. //#include <bsp.h>
  59. /*
  60. *********************************************************************************************************
  61. * OS
  62. *********************************************************************************************************
  63. */
  64. //#include <os.h>
  65. //#include "os_cfg_app.h"
  66. /*
  67. *********************************************************************************************************
  68. * ST
  69. *********************************************************************************************************
  70. */
  71. //#include <stm32f10x_lib.h>
  72. #include "stm32f10x.h"
  73. /*
  74. *********************************************************************************************************
  75. * INCLUDES END
  76. *********************************************************************************************************
  77. */
  78. //#include "app.h"
  79. #include "BSP.h"
  80. //#include "Uart.h"
  81. //#include "Flash.h"
  82. #include "sys.h"
  83. //#include "macro_common.h"
  84. #include "delay.h"
  85. //#include "rtc.h"
  86. #define BYTE1 __attribute__((packed, aligned(1))) //aligned(1)£º1×Ö½Ú¶ÔÆë
  87. #endif