includes.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. /*
  59. *********************************************************************************************************
  60. * OS
  61. *********************************************************************************************************
  62. */
  63. //#include <os.h>
  64. //#include "os_cfg_app.h"
  65. /*
  66. *********************************************************************************************************
  67. * ST
  68. *********************************************************************************************************
  69. */
  70. //#include <stm32f10x_lib.h>
  71. #include "gd32f10x.h"
  72. /*
  73. *********************************************************************************************************
  74. * INCLUDES END
  75. *********************************************************************************************************
  76. */
  77. #include "ch455g.h"
  78. #include "iic2.h"
  79. #include "Uart.h"
  80. #include "delay.h"
  81. #include "systick.h"
  82. #include "bsp.h"
  83. #include "led.h"
  84. #include "AT24C128.h"
  85. #include "hamming.h"
  86. #include "update.h"
  87. #include "Flash.h"
  88. #define BYTE1 __attribute__((packed, aligned(1))) //aligned(1)£º1×Ö½Ú¶ÔÆë
  89. #endif