/*\r
- * FreeRTOS Kernel V10.2.0\r
+ * FreeRTOS Kernel V10.2.1\r
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
*\r
* Permission is hereby granted, free of charge, to any person obtaining a copy of\r
* the Software without restriction, including without limitation the rights to\r
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
* the Software, and to permit persons to whom the Software is furnished to do so,\r
- * subject to the following conditions:\r
+ * subject to the fofllowing conditions:\r
*\r
* The above copyright notice and this permission notice shall be included in all\r
* copies or substantial portions of the Software.\r
#include <stdlib.h>\r
#include <conio.h>\r
\r
+/* Visual studio intrinsics used so the __debugbreak() function is available\r
+should an assert get hit. */\r
+#include <intrin.h>\r
+\r
/* FreeRTOS kernel includes. */\r
#include "FreeRTOS.h"\r
#include "task.h"\r
as this demo could easily create one large heap region instead of multiple\r
smaller heap regions - in which case heap_4.c would be the more appropriate\r
choice. See http://www.freertos.org/a00111.html for an explanation. */\r
-#define mainREGION_1_SIZE 7201\r
+#define mainREGION_1_SIZE 8201\r
#define mainREGION_2_SIZE 29905\r
-#define mainREGION_3_SIZE 6407\r
+#define mainREGION_3_SIZE 7607\r
\r
/*-----------------------------------------------------------*/\r
\r
}\r
}\r
\r
+ /* Cause debugger break point if being debugged. */\r
+ __debugbreak();\r
+\r
/* You can step out of this function to debug the assertion by using\r
the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero\r
value. */\r