update keil & iar device project to add lpcxpresso11u14 support
This commit is contained in:
@@ -81,15 +81,14 @@ extern "C"
|
||||
//--------------------------------------------------------------------+
|
||||
#ifndef _TEST_
|
||||
#define ASSERT_MESSAGE(format, ...)\
|
||||
_PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __PRETTY_FUNCTION__, __LINE__, __VA_ARGS__)
|
||||
_PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __func__ , __LINE__, __VA_ARGS__)
|
||||
#else
|
||||
#define ASSERT_MESSAGE(format, ...)\
|
||||
_PRINTF("%d:note: Assert " format "\n", __LINE__, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#ifndef _TEST_ASSERT_
|
||||
#define ASSERT_ERROR_HANDLER(x, para) \
|
||||
return x
|
||||
#define ASSERT_ERROR_HANDLER(x, para) return x
|
||||
#else
|
||||
#define ASSERT_ERROR_HANDLER(x, para) Throw(x)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user