|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
|
|
|
FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
|
|
|
All rights reserved
|
|
|
|
All rights reserved
|
|
|
|
|
|
|
|
|
|
|
|
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
|
|
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
|
@ -84,7 +84,7 @@
|
|
|
|
#define configUSE_TICK_HOOK 1
|
|
|
|
#define configUSE_TICK_HOOK 1
|
|
|
|
#define configCPU_CLOCK_HZ ( 96000000UL )
|
|
|
|
#define configCPU_CLOCK_HZ ( 96000000UL )
|
|
|
|
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
|
|
|
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
|
|
|
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
|
|
|
|
#define configMAX_PRIORITIES ( 5 )
|
|
|
|
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 90 )
|
|
|
|
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 90 )
|
|
|
|
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 30 * 1024 ) )
|
|
|
|
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 30 * 1024 ) )
|
|
|
|
#define configMAX_TASK_NAME_LEN ( 10 )
|
|
|
|
#define configMAX_TASK_NAME_LEN ( 10 )
|
|
|
@ -121,7 +121,7 @@ to exclude the API function. */
|
|
|
|
|
|
|
|
|
|
|
|
/* This demo makes use of one or more example stats formatting functions. These
|
|
|
|
/* This demo makes use of one or more example stats formatting functions. These
|
|
|
|
format the raw data provided by the uxTaskGetSystemState() function in to human
|
|
|
|
format the raw data provided by the uxTaskGetSystemState() function in to human
|
|
|
|
readable ASCII form. See the notes in the implementation of vTaskList() within
|
|
|
|
readable ASCII form. See the notes in the implementation of vTaskList() within
|
|
|
|
FreeRTOS/Source/tasks.c for limitations. */
|
|
|
|
FreeRTOS/Source/tasks.c for limitations. */
|
|
|
|
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
|
|
|
|
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
|
|
|
|
|
|
|
|
|
|
|
@ -160,11 +160,11 @@ to all Cortex-M ports, and do not rely on any particular library functions. */
|
|
|
|
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
|
|
|
|
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
|
|
|
|
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
|
|
|
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
|
|
|
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
|
|
|
|
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
|
|
|
|
|
|
|
|
|
|
|
|
/* Normal assert() semantics without relying on the provision of an assert.h
|
|
|
|
/* Normal assert() semantics without relying on the provision of an assert.h
|
|
|
|
header file. */
|
|
|
|
header file. */
|
|
|
|
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
|
|
|
|
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
|
|
|
|
|
|
|
|
|
|
|
|
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
|
|
|
|
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
|
|
|
|
standard names. */
|
|
|
|
standard names. */
|
|
|
|
#define vPortSVCHandler SVC_Handler
|
|
|
|
#define vPortSVCHandler SVC_Handler
|
|
|
|