]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/Reliance-Edge/os/freertos/services/osassert.c
Update version numbers in preparation for new release.
[freertos] / FreeRTOS-Plus / Source / Reliance-Edge / os / freertos / services / osassert.c
1 /*             ----> DO NOT REMOVE THE FOLLOWING NOTICE <----\r
2 \r
3                    Copyright (c) 2014-2015 Datalight, Inc.\r
4                        All Rights Reserved Worldwide.\r
5 \r
6     This program is free software; you can redistribute it and/or modify\r
7     it under the terms of the GNU General Public License as published by\r
8     the Free Software Foundation; use version 2 of the License.\r
9 \r
10     This program is distributed in the hope that it will be useful,\r
11     but "AS-IS," WITHOUT ANY WARRANTY; without even the implied warranty\r
12     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13     GNU General Public License for more details.\r
14 \r
15     You should have received a copy of the GNU General Public License along\r
16     with this program; if not, write to the Free Software Foundation, Inc.,\r
17     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 */\r
19 /*  Businesses and individuals that for commercial or other reasons cannot\r
20     comply with the terms of the GPLv2 license may obtain a commercial license\r
21     before incorporating Reliance Edge into proprietary software for\r
22     distribution in any form.  Visit http://www.datalight.com/reliance-edge for\r
23     more information.\r
24 */\r
25 /** @file\r
26     @brief Implements assertion handling.\r
27 */\r
28 #include <redfs.h>\r
29 \r
30 #if REDCONF_ASSERTS == 1\r
31 \r
32 #include <redosdeviations.h>\r
33 \r
34 \r
35 /** @brief Invoke the native assertion handler.\r
36 \r
37     @param pszFileName  Null-terminated string containing the name of the file\r
38                         where the assertion fired.\r
39     @param ulLineNum    Line number in @p pszFileName where the assertion\r
40                         fired.\r
41 */\r
42 void RedOsAssertFail(\r
43     const char *pszFileName,\r
44     uint32_t    ulLineNum)\r
45 {\r
46     PRINT_ASSERT(pszFileName, ulLineNum);\r
47 \r
48     for( ;; )\r
49     {\r
50     }\r
51 }\r
52 \r
53 #endif\r
54 \r