We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 729f5a6 commit 5fd182aCopy full SHA for 5fd182a
source/hic_hal/freescale/iap/fsl_common.h
@@ -31,11 +31,12 @@
31
#ifndef _FSL_COMMON_H_
32
#define _FSL_COMMON_H_
33
34
-#include <assert.h>
+// #include <assert.h>
35
#include <stdbool.h>
36
#include <stdint.h>
37
#include <string.h>
38
#include "fsl_device_registers.h"
39
+#include "util.h"
40
41
/*!
42
* @addtogroup ksdk_common
@@ -46,6 +47,9 @@
46
47
* Definitions
48
******************************************************************************/
49
50
+// Redefine assert to DAPLink's assert utility for code size savings.
51
+#define assert(x) util_assert((x));
52
+
53
/*! @brief Construct a status code value from a group and code number. */
54
#define MAKE_STATUS(group, code) ((((group)*100) + (code)))
55
0 commit comments