From b9b5af2fe4c8ee4f870657d37b6b31caed7ef85d Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 22 Sep 2008 18:10:28 +0000 Subject: [PATCH] Change the force register from low to heigh. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@483 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../org.eclipse.debug.core/.launches/RTOSDemo.launch | 6 +++--- Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject | 10 ++++++---- .../RTOSDemo/FreeRTOS_Tick_Setup.c | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch b/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch index a97a3beee..2cf87b3a0 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch +++ b/Demo/ColdFire_MCF5282_Eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/RTOSDemo.launch @@ -1,7 +1,7 @@ - + @@ -13,10 +13,10 @@ - + - + diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject index 353b51a6b..74792ab2c 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject @@ -7,6 +7,7 @@ + @@ -18,7 +19,7 @@ - + @@ -39,6 +40,10 @@ + + + + @@ -205,9 +210,6 @@ - - - diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c index 7426559ac..af31adc92 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c @@ -104,7 +104,7 @@ const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRES write to MCF_INTC0_IMRH is actually required here but is included for completeness. */ MCF_INTC0_ICR16 = ( 0 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) ); - MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK16 ); + MCF_INTC0_IMRH &= ~( MCF_INTC_IPRL_INT16 ); /* Configure PIT0 to generate the RTOS tick. */ MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF; -- 2.39.5