]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/ThirdParty/CMSISv2p10_LPC18xx_DriverLib/src/lpc18xx_libcfg_default.c
Slight modification to license blub text in header comments.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC / ThirdParty / CMSISv2p10_LPC18xx_DriverLib / src / lpc18xx_libcfg_default.c
1 /***********************************************************************//**\r
2  * @file                lpc18xx_libcfg_default.c\r
3  * @brief               Library configuration source file (default),\r
4  *                              used to build library without examples.\r
5  * @version             2.0\r
6  * @date                21. May. 2010\r
7  * @author              NXP MCU SW Application Team\r
8  **************************************************************************\r
9  * Software that is described herein is for illustrative purposes only\r
10  * which provides customers with programming information regarding the\r
11  * products. This software is supplied "AS IS" without any warranties.\r
12  * NXP Semiconductors assumes no responsibility or liability for the\r
13  * use of the software, conveys no license or title under any patent,\r
14  * copyright, or mask work right to the product. NXP Semiconductors\r
15  * reserves the right to make changes in the software without\r
16  * notification. NXP Semiconductors also make no representation or\r
17  * warranty that such application will be suitable for the specified\r
18  * use without further testing or modification.\r
19  **************************************************************************/\r
20 \r
21 /* Library group ----------------------------------------------------------- */\r
22 /** @addtogroup LIBCFG_DEFAULT\r
23  * @{\r
24  */\r
25 \r
26 /* Includes ------------------------------------------------------------------- */\r
27 #include "lpc18xx_libcfg_default.h"\r
28 \r
29 /* Public Functions ----------------------------------------------------------- */\r
30 /** @addtogroup LIBCFG_DEFAULT_Public_Functions\r
31  * @{\r
32  */\r
33 \r
34 #ifndef __BUILD_WITH_EXAMPLE__\r
35 \r
36 #ifdef  DEBUG\r
37 /*******************************************************************************\r
38 * @brief                Reports the name of the source file and the source line number\r
39 *                               where the CHECK_PARAM error has occurred.\r
40 * @param[in]    file Pointer to the source file name\r
41 * @param[in]    line assert_param error line source number\r
42 * @return               None\r
43 *******************************************************************************/\r
44 void check_failed(uint8_t *file, uint32_t line)\r
45 {\r
46         /* User can add his own implementation to report the file name and line number,\r
47          ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */\r
48 \r
49         /* Infinite loop */\r
50         while(1);\r
51 }\r
52 #endif /* DEBUG */\r
53 \r
54 #endif /* __BUILD_WITH_EXAMPLE__ */\r
55 \r
56 /**\r
57  * @}\r
58  */\r
59 \r
60 /**\r
61  * @}\r
62  */\r
63 \r
64 /* --------------------------------- End Of File ------------------------------ */\r