My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

lpc17xx_libcfg_default.c 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**********************************************************************
  2. * $Id$ lpc17xx_libcfg_default.c 2010-05-21
  3. *//**
  4. * @file lpc17xx_libcfg_default.c
  5. * @brief Library configuration source file (default), used to build
  6. * library without examples
  7. * @version 2.0
  8. * @date 21. May. 2010
  9. * @author NXP MCU SW Application Team
  10. *
  11. * Copyright(C) 2010, NXP Semiconductor
  12. * All rights reserved.
  13. *
  14. ***********************************************************************
  15. * Software that is described herein is for illustrative purposes only
  16. * which provides customers with programming information regarding the
  17. * products. This software is supplied "AS IS" without any warranties.
  18. * NXP Semiconductors assumes no responsibility or liability for the
  19. * use of the software, conveys no license or title under any patent,
  20. * copyright, or mask work right to the product. NXP Semiconductors
  21. * reserves the right to make changes in the software without
  22. * notification. NXP Semiconductors also make no representation or
  23. * warranty that such application will be suitable for the specified
  24. * use without further testing or modification.
  25. * Permission to use, copy, modify, and distribute this software and its
  26. * documentation is hereby granted, under NXP Semiconductors'
  27. * relevant copyright in the software, without fee, provided that it
  28. * is used in conjunction with NXP Semiconductors microcontrollers. This
  29. * copyright, permission, and disclaimer notice must appear in all copies of
  30. * this code.
  31. **********************************************************************/
  32. /* Library group ----------------------------------------------------------- */
  33. /** @addtogroup LIBCFG_DEFAULT
  34. * @{
  35. */
  36. /* Includes ------------------------------------------------------------------- */
  37. #include "lpc17xx_libcfg_default.h"
  38. /* Public Functions ----------------------------------------------------------- */
  39. /** @addtogroup LIBCFG_DEFAULT_Public_Functions
  40. * @{
  41. */
  42. #ifndef __BUILD_WITH_EXAMPLE__
  43. #ifdef DEBUG
  44. /*******************************************************************************
  45. * @brief Reports the name of the source file and the source line number
  46. * where the CHECK_PARAM error has occurred.
  47. * @param[in] file Pointer to the source file name
  48. * @param[in] line assert_param error line source number
  49. * @return None
  50. *******************************************************************************/
  51. void check_failed(uint8_t *file, uint32_t line)
  52. {
  53. /* User can add his own implementation to report the file name and line number,
  54. ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
  55. /* Infinite loop */
  56. while(1);
  57. }
  58. #endif /* DEBUG */
  59. #endif /* __BUILD_WITH_EXAMPLE__ */
  60. /**
  61. * @}
  62. */
  63. /**
  64. * @}
  65. */
  66. /* --------------------------------- End Of File ------------------------------ */