stm32_eval.c 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /**
  2. ******************************************************************************
  3. * @file stm32_eval.c
  4. * @author MCD Application Team
  5. * @version V4.5.0
  6. * @date 07-March-2011
  7. * @brief STM32xx-EVAL abstraction layer.
  8. * This file should be added to the main application to use the provided
  9. * functions that manage Leds, push-buttons, COM ports and low level
  10. * HW resources initialization of the different modules available on
  11. * STM32 evaluation boards from STMicroelectronics.
  12. ******************************************************************************
  13. * @attention
  14. *
  15. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  16. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  17. * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  18. * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  19. * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  20. * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  21. *
  22. * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
  23. ******************************************************************************
  24. */
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32_eval.h"
  27. /** @addtogroup Utilities
  28. * @{
  29. */
  30. /** @defgroup STM32_EVAL
  31. * @brief This file provides firmware functions to manage Leds, push-buttons,
  32. * COM ports and low level HW resources initialization of the different
  33. * modules available on STM32 Evaluation Boards from STMicroelectronics.
  34. * @{
  35. */
  36. /** @defgroup STM32_EVAL_Abstraction_Layer
  37. * @{
  38. */
  39. #ifdef USE_STM32100B_EVAL
  40. #include "stm32100b_eval/stm32100b_eval.c"
  41. #elif defined USE_STM3210B_EVAL
  42. #include "stm3210b_eval/stm3210b_eval.c"
  43. #elif defined USE_STM3210E_EVAL
  44. #include "stm3210e_eval/stm3210e_eval.c"
  45. #elif defined USE_STM3210C_EVAL
  46. #include "stm3210c_eval/stm3210c_eval.c"
  47. #elif defined USE_STM32L152_EVAL
  48. #include "stm32l152_eval/stm32l152_eval.c"
  49. #elif defined USE_STM32100E_EVAL
  50. #include "stm32100e_eval/stm32100e_eval.c"
  51. #else
  52. #error "Please select first the STM32 EVAL board to be used (in stm32_eval.h)"
  53. #endif
  54. /** @defgroup STM32_EVAL_Private_TypesDefinitions
  55. * @{
  56. */
  57. /**
  58. * @}
  59. */
  60. /** @defgroup STM32_EVAL_Private_Defines
  61. * @{
  62. */
  63. /**
  64. * @}
  65. */
  66. /** @defgroup STM32_EVAL_Private_Macros
  67. * @{
  68. */
  69. /**
  70. * @}
  71. */
  72. /** @defgroup STM32_EVAL_Private_Variables
  73. * @{
  74. */
  75. /**
  76. * @}
  77. */
  78. /** @defgroup STM32_EVAL_Private_FunctionPrototypes
  79. * @{
  80. */
  81. /**
  82. * @}
  83. */
  84. /** @defgroup STM32_EVAL_Private_Functions
  85. * @{
  86. */
  87. /**
  88. * @}
  89. */
  90. /**
  91. * @}
  92. */
  93. /**
  94. * @}
  95. */
  96. /**
  97. * @}
  98. */
  99. /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/