PageRenderTime 51ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/cmsis_boot/stm32f10x_conf.h

https://gitlab.com/mdeblin/stm32_lcd_i2c-master
C Header | 85 lines | 9 code | 8 blank | 68 comment | 0 complexity | ef362750854c1bfdda51c536ea345a8c MD5 | raw file
  1. /**
  2. ******************************************************************************
  3. * @file stm32f10x_conf.h
  4. * @author MCD Application Team
  5. * @version V4.0.0
  6. * @date 21-January-2013
  7. * @brief Library configuration file.
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT 2013 STMicroelectronics</center></h2>
  12. *
  13. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  14. * You may not use this file except in compliance with the License.
  15. * You may obtain a copy of the License at:
  16. *
  17. * http://www.st.com/software_license_agreement_liberty_v2
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *
  25. ******************************************************************************
  26. */
  27. /* Define to prevent recursive inclusion -------------------------------------*/
  28. #ifndef __STM32F10x_CONF_H
  29. #define __STM32F10x_CONF_H
  30. /* Includes ------------------------------------------------------------------*/
  31. /* Uncomment the line below to enable peripheral header file inclusion */
  32. //#include "stm32f10x_adc.h"
  33. //#include "stm32f10x_bkp.h"
  34. //#include "stm32f10x_can.h"
  35. //#include "stm32f10x_crc.h"
  36. //#include "stm32f10x_dac.h"
  37. //#include "stm32f10x_dbgmcu.h"
  38. //#include "stm32f10x_dma.h"
  39. //#include "stm32f10x_exti.h"
  40. //#include "stm32f10x_flash.h"
  41. //#include "stm32f10x_fsmc.h"
  42. //#include "stm32f10x_gpio.h"
  43. //#include "stm32f10x_i2c.h"
  44. //#include "stm32f10x_iwdg.h"
  45. //#include "stm32f10x_pwr.h"
  46. //#include "stm32f10x_rcc.h"
  47. //#include "stm32f10x_rtc.h"
  48. //#include "stm32f10x_sdio.h"
  49. //#include "stm32f10x_spi.h"
  50. //#include "stm32f10x_tim.h"
  51. //#include "stm32f10x_usart.h"
  52. //#include "stm32f10x_wwdg.h"
  53. //#include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  54. /* Exported types ------------------------------------------------------------*/
  55. /* Exported constants --------------------------------------------------------*/
  56. /* Uncomment the line below to expanse the "assert_param" macro in the
  57. Standard Peripheral Library drivers code */
  58. /* #define USE_FULL_ASSERT 1 */
  59. /* Exported macro ------------------------------------------------------------*/
  60. #ifdef USE_FULL_ASSERT
  61. /*******************************************************************************
  62. * Macro Name : assert_param
  63. * Description : The assert_param macro is used for function's parameters check.
  64. * Input : - expr: If expr is false, it calls assert_failed function
  65. * which reports the name of the source file and the source
  66. * line number of the call that failed.
  67. * If expr is true, it returns no value.
  68. * Return : None
  69. *******************************************************************************/
  70. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  71. /* Exported functions ------------------------------------------------------- */
  72. void assert_failed(uint8_t* file, uint32_t line);
  73. #else
  74. #define assert_param(expr) ((void)0)
  75. #endif /* USE_FULL_ASSERT */
  76. #endif /* __STM32F10x_CONF_H */
  77. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/