Revert a couple of changes in Win32 demo that should not have been checked in.

pull/1/head
Richard Barry 6 years ago
parent 05e7d9cc08
commit d1dd8da12e

@ -62,8 +62,7 @@
#define configUSE_ALTERNATIVE_API 0 #define configUSE_ALTERNATIVE_API 0
#define configUSE_QUEUE_SETS 1 #define configUSE_QUEUE_SETS 1
#define configUSE_TASK_NOTIFICATIONS 1 #define configUSE_TASK_NOTIFICATIONS 1
#define configSUPPORT_STATIC_ALLOCATION 0 #define configSUPPORT_STATIC_ALLOCATION 1
#define configSUPPORT_DYNAMIC_ALLOCATION 1
/* Software timer related configuration options. */ /* Software timer related configuration options. */
#define configUSE_TIMERS 1 #define configUSE_TIMERS 1

@ -81,7 +81,6 @@
<ClCompile Include="..\..\Source\event_groups.c" /> <ClCompile Include="..\..\Source\event_groups.c" />
<ClCompile Include="..\..\Source\portable\MemMang\heap_5.c" /> <ClCompile Include="..\..\Source\portable\MemMang\heap_5.c" />
<ClCompile Include="..\..\Source\stream_buffer.c" /> <ClCompile Include="..\..\Source\stream_buffer.c" />
<ClCompile Include="..\..\Source\task_pool.c" />
<ClCompile Include="..\..\Source\timers.c" /> <ClCompile Include="..\..\Source\timers.c" />
<ClCompile Include="..\Common\Minimal\AbortDelay.c" /> <ClCompile Include="..\Common\Minimal\AbortDelay.c" />
<ClCompile Include="..\Common\Minimal\BlockQ.c" /> <ClCompile Include="..\Common\Minimal\BlockQ.c" />

@ -160,9 +160,6 @@
<ClCompile Include="..\Common\Minimal\MessageBufferAMP.c"> <ClCompile Include="..\Common\Minimal\MessageBufferAMP.c">
<Filter>Demo App Source\Full_Demo\Common Demo Tasks</Filter> <Filter>Demo App Source\Full_Demo\Common Demo Tasks</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\Source\task_pool.c">
<Filter>FreeRTOS Source\Source</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="FreeRTOSConfig.h"> <ClInclude Include="FreeRTOSConfig.h">

@ -54,6 +54,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <conio.h> #include <conio.h>
/* Visual studio intrinsics used so the __debugbreak() function is available
should an assert get hit. */
#include <intrin.h>
/* FreeRTOS kernel includes. */ /* FreeRTOS kernel includes. */
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"
@ -288,6 +292,9 @@ volatile uint32_t ulSetToNonZeroInDebuggerToContinue = 0;
} }
} }
/* Cause debugger break point if being debugged. */
__debugbreak();
/* You can step out of this function to debug the assertion by using /* You can step out of this function to debug the assertion by using
the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero the debugger to set ulSetToNonZeroInDebuggerToContinue to a non-zero
value. */ value. */

Loading…
Cancel
Save