Add symbol needed for OpenOCD to detect FreeRTOS, add feature to break execution when the scheduler is initially started.

This commit is contained in:
Jeroen Domburg
2016-08-24 12:23:58 +08:00
parent a44c45e63e
commit bdf4b27e38
8 changed files with 50 additions and 10 deletions

View File

@@ -128,6 +128,8 @@
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
*----------------------------------------------------------*/
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 0

View File

@@ -118,8 +118,11 @@ typedef unsigned portBASE_TYPE UBaseType_t;
// portbenchmark
#include "portbenchmark.h"
#include "sdkconfig.h"
#define portMUX_DEBUG
#define portFIRST_TASK_HOOK CONFIG_FREERTOS_BREAK_ON_SCHEDULER_START_JTAG
typedef struct {
volatile uint32_t mux;