if defined(ICCARM) || defined(CC_ARM) || defined(GNUC__)
#include <stdint.h>
#include "mxconstants.h"
extern uint32_t SystemCoreClock;
endif
define configUSE_PREEMPTION 1
define configUSEIDLEHOOK 0
define configUSETICKHOOK 0
define configCPUCLOCKHZ ( SystemCoreClock )
define configTICKRATEHZ ((TickType_t)1000)
define configMAX_PRIORITIES ( 7 )
define configMINIMALSTACKSIZE ((uint16_t)128)
define configTOTALHEAPSIZE ((size_t)15360)
define configMAXTASKNAME_LEN ( 16 )
define configUSETRACEFACILITY 1
define configUSE16BIT_TICKS 0
define configUSE_MUTEXES 1
define configQUEUEREGISTRYSIZE 8
define configUSEQUEUESETS 0
define configUSETIMESLICING 0
define configUSE_TIMERS 1
define configTIMERTASKPRIORITY 6
define configTIMERQUEUELENGTH 10
define configTIMERTASKSTACK_DEPTH 7
define configIDLESHOULDYIELD 0
/* Co-routine definitions. */define configUSECOROUTINES 0
define configMAXCOROUTINE_PRIORITIES ( 2 )
/* Set the following definitions to 1 to include the API function, or zero to exclude the API function. */define INCLUDE_vTaskPrioritySet 1
define INCLUDE_uxTaskPriorityGet 1
define INCLUDE_vTaskDelete 1
define INCLUDE_vTaskCleanUpResources 0
define INCLUDE_vTaskSuspend 1
define INCLUDE_vTaskDelayUntil 0
define INCLUDE_vTaskDelay 1
define INCLUDE_xTaskGetSchedulerState 1
define INCLUDE_xTimerPendFunctionCall 1
define INCLUDE_xEventGroupSetBitFromISR 1
/* Cortex-M specific definitions. */ifdef __NVICPRIOBITS
/* __BVICPRIOBITS will be specified when CMSIS is being used. */ #define configPRIO_BITS __NVIC_PRIO_BITSelse
#define configPRIO_BITS 4endif
/* The lowest interrupt priority that can be used in a call to a “set priority” function. */define configLIBRARYLOWESTINTERRUPT_PRIORITY 15
/* The highest interrupt priority that can be used by any interrupt service routine that makes calls to interrupt safe FreeRTOS API functions. DO NOT CALL INTERRUPT SAFE FREERTOS API FUNCTIONS FROM ANY INTERRUPT THAT HAS A HIGHER PRIORITY THAN THIS! (higher priorities are lower numeric values. */define configLIBRARYMAXSYSCALLINTERRUPTPRIORITY 5
/* Interrupt priorities used by the kernel port layer itself. These are generic to all Cortex-M ports, and do not rely on any particular library functions. */define configKERNELINTERRUPTPRIORITY ( configLIBRARYLOWESTINTERRUPTPRIORITY << (8 – configPRIOBITS) )
/* !!!! configMAXSYSCALLINTERRUPT_PRIORITY must not be set to zero !!!! See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */define configMAXSYSCALLINTERRUPTPRIORITY ( configLIBRARYMAXSYSCALLINTERRUPTPRIORITY << (8 – configPRIOBITS) )
/* Normal assert() semantics without relying on the provision of an assert.h header file. / / USER CODE BEGIN 1 */define configASSERT( x ) if ((x) == 0) {taskDISABLE_INTERRUPTS(); for( ;; );}
/* USER CODE END 1 */ /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS standard names. */define vPortSVCHandler SVC_Handler
define xPortPendSVHandler PendSV_Handler
/* IMPORTANT: This define MUST be commented when used with STM32Cube firmware, to prevent overwriting SysTickHandler defined within STM32Cube HAL */ /* #define xPortSysTickHandler SysTickHandler */ /* USER CODE BEGIN Defines // Section where parameter definitions can be added (for instance, to override default ones in FreeRTOS.h) / / USER CODE END Defines */