1 /*******************************************************************************
\r
2 * (c) Copyright 2008-2013 Microsemi SoC Products Group. All rights reserved.
\r
4 * SVN $Revision: 5274 $
\r
5 * SVN $Date: 2013-03-22 13:18:44 +0000 (Fri, 22 Mar 2013) $
\r
7 #ifndef HAL_ASSERT_HEADER
\r
8 #define HAL_ASSERT_HEADER
\r
10 #include "../CMSIS/mss_assert.h"
\r
13 /***************************************************************************//**
\r
14 * HAL_ASSERT() is defined out when the NDEBUG symbol is used.
\r
15 ******************************************************************************/
\r
16 #define HAL_ASSERT(CHECK)
\r
19 /***************************************************************************//**
\r
20 * Default behaviour for HAL_ASSERT() macro:
\r
21 *------------------------------------------------------------------------------
\r
22 * Using the HAL_ASSERT() macro is the same as directly using the SmartFusion2
\r
23 * CMSIS ASSERT() macro. The behaviour is toolchain specific and project
\r
25 ******************************************************************************/
\r
26 #define HAL_ASSERT(CHECK) ASSERT(CHECK);
\r
30 #endif /* HAL_ASSERT_HEADER */
\r