mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
This commit is contained in:
parent
3f0ee56dbb
commit
040475fca6
|
@ -45,17 +45,21 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The below define should be same as the option selected by the Memory
|
* The below define should be same as the option selected by the Memory
|
||||||
* Model (Project->Setup Project->C Compiler->Catagory->Target Depend )
|
* Model (Project->Setup Project->C Compiler->Category->Target Depend )
|
||||||
*
|
*
|
||||||
* Valid settings here include:
|
* Valid settings here include:
|
||||||
* portSMALL 16 Bit 16 Bit
|
* ------- Memory models --------- Data Code
|
||||||
* portMEDIUM 16 Bit 24 Bit
|
* portSMALL 16 Bit 16 Bit
|
||||||
* portCOMPACT 24 Bit 16 Bit
|
* portMEDIUM 16 Bit 24 Bit
|
||||||
* portLARGE 24 Bit 24 Bit
|
* portCOMPACT 24 Bit 16 Bit
|
||||||
|
* portLARGE 24 Bit 24 Bit
|
||||||
*/
|
*/
|
||||||
#define configMEMMODEL portMEDIUM
|
#define configMEMMODEL portMEDIUM
|
||||||
|
|
||||||
|
/* Demo specific definition - set this to 1 if you want to include the task
|
||||||
|
that writes trace and debug information to the UART. This cannot be used
|
||||||
|
when running the application using the EUROScope debugger. */
|
||||||
|
#define INCLUDE_TraceListTasks 0
|
||||||
|
|
||||||
/*-----------------------------------------------------------
|
/*-----------------------------------------------------------
|
||||||
* Application specific definitions.
|
* Application specific definitions.
|
||||||
|
@ -68,7 +72,7 @@
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
#define configUSE_PREEMPTION 1
|
#define configUSE_PREEMPTION 1
|
||||||
#define configUSE_IDLE_HOOK 1
|
#define configUSE_IDLE_HOOK 1
|
||||||
#define configUSE_TICK_HOOK 1
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
|
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
|
||||||
#define configCLKP1_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
|
#define configCLKP1_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
|
||||||
#define configTICK_RATE_HZ ( (portTickType) 100 )
|
#define configTICK_RATE_HZ ( (portTickType) 100 )
|
||||||
|
@ -97,4 +101,8 @@ to exclude the API function. */
|
||||||
#define INCLUDE_vTaskDelay 1
|
#define INCLUDE_vTaskDelay 1
|
||||||
#define INCLUDE_xTaskGetSchedulerState 1
|
#define INCLUDE_xTaskGetSchedulerState 1
|
||||||
#define INCLUDE_xTaskGetCurrentTaskHandle 1
|
#define INCLUDE_xTaskGetCurrentTaskHandle 1
|
||||||
|
|
||||||
|
|
||||||
|
#define configKERNEL_INTERRUPT_PRIORITY 6
|
||||||
|
|
||||||
#endif /* FREERTOS_CONFIG_H */
|
#endif /* FREERTOS_CONFIG_H */
|
||||||
|
|
Loading…
Reference in a new issue