11 #if FW_ASSERT_LEVEL == FW_FILEID_ASSERT 12 #define fileIdFs "Assert: 0x%08" PRIx32 ":%" PRI_FwSizeType "" 14 #define fileIdFs "Assert: \"%s:%" PRI_FwSizeType "\"" 23 (void)fputs(msg, stderr);
24 (void)fputs(
"\n", stderr);
53 file, lineNo, arg1, arg2, arg3);
59 file, lineNo, arg1, arg2, arg3, arg4);
65 file, lineNo, arg1, arg2, arg3, arg4, arg5);
71 file, lineNo, arg1, arg2, arg3, arg4, arg5, arg6);
void formatAssertMessage(FILE_NAME_ARG file, FwSizeType lineNo, FwSizeType numArgs, FwAssertArgType arg1, FwAssertArgType arg2, FwAssertArgType arg3, FwAssertArgType arg4, FwAssertArgType arg5, FwAssertArgType arg6, CHAR *destBuffer, FwSizeType buffSize)
format an assert message
PlatformSizeType FwSizeType
#define PRI_FwAssertArgType
void printAssertMessage(const CHAR *msg)
print an assert message
FormatStatus stringFormat(char *destination, const FwSizeType maximumSize, const char *formatString,...)
format a c-string
void terminateOnAssert()
terminate after a failed assertion
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.