]> git.sur5r.net Git - freertos/commitdiff
Finalise XMC4000 Keil demos.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 1 Oct 2013 09:53:12 +0000 (09:53 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 1 Oct 2013 09:53:12 +0000 (09:53 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2043 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/FreeRTOSConfig.h
FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/RTOSDemo.uvopt
FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/RTOSDemo.uvproj
FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/startup_XMC4200.s
FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/startup_XMC4400.s
FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4000_Keil/startup_XMC4500.s

index 56610ae71a90b8edfaf0c6cafc1a751cddbf519a..ed26084a117fe5ce41b11a74db38a7abe7290b23 100644 (file)
 #include <stdint.h>\r
 extern uint32_t SystemCoreClock;\r
 \r
+/* The following definition allows the startup files that ship with the IDE\r
+to be used without modification when the chip used includes the PMU CM001\r
+errata. */\r
+#define WORKAROUND_PMU_CM001                                   1\r
+\r
 #define configUSE_PREEMPTION                                   1\r
 #define configUSE_PORT_OPTIMISED_TASK_SELECTION        1\r
 #define configUSE_IDLE_HOOK                                            0\r
@@ -154,9 +159,13 @@ header file. */
 #define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }    \r
        \r
 /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS\r
-standard names. */\r
+standard names.  WORKAROUND_PMU_CM001 is defined at the top of this file. */\r
+#if WORKAROUND_PMU_CM001 == 1\r
+       #define xPortPendSVHandler PendSV_Handler_Veneer\r
+#else\r
+       #define xPortPendSVHandler PendSV_Handler\r
+#endif\r
 #define vPortSVCHandler SVC_Handler\r
-#define xPortPendSVHandler PendSV_Handler\r
 #define xPortSysTickHandler SysTick_Handler\r
 \r
 \r
index 4ff8d7ba54ea37e56b022d9afab798dbf6d46e4d..4d3070ec6d08c98234a1f14c80bdccbc89f92b6e 100644 (file)
         <SetRegEntry>
           <Number>0</Number>
           <Key>DLGUARM</Key>
-          <Name>/</Name>
+          <Name></Name>
         </SetRegEntry>
         <SetRegEntry>
           <Number>0</Number>
         <SetRegEntry>
           <Number>0</Number>
           <Key>DLGUARM</Key>
-          <Name>/</Name>
+          <Name></Name>
         </SetRegEntry>
         <SetRegEntry>
           <Number>0</Number>
       <MemoryWindow1>
         <Mm>
           <WinNumber>1</WinNumber>
-          <SubType>5</SubType>
-          <ItemText>0x0C000000</ItemText>
+          <SubType>2</SubType>
+          <ItemText>0x20005f90</ItemText>
         </Mm>
       </MemoryWindow1>
       <Tracepoint>
       </DebugFlag>
       <LintExecutable></LintExecutable>
       <LintConfigFile></LintConfigFile>
-      <SystemViewers>
-        <Entry>
-          <Name>System Viewer\PORT2</Name>
-          <WinId>35905</WinId>
-        </Entry>
-      </SystemViewers>
     </TargetOption>
   </Target>
 
         <SetRegEntry>
           <Number>0</Number>
           <Key>DLGUARM</Key>
-          <Name></Name>
+          <Name>/</Name>
         </SetRegEntry>
         <SetRegEntry>
           <Number>0</Number>
       <Focus>0</Focus>
       <ColumnNumber>45</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>64</TopLine>
+      <TopLine>63</TopLine>
       <CurrentLine>97</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>.\main.c</PathWithFileName>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>64</TopLine>
-      <CurrentLine>87</CurrentLine>
+      <TopLine>1</TopLine>
+      <CurrentLine>1</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>.\FreeRTOSConfig.h</PathWithFileName>
       <FilenameWithoutPath>FreeRTOSConfig.h</FilenameWithoutPath>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>165</TopLine>
-      <CurrentLine>173</CurrentLine>
+      <TopLine>0</TopLine>
+      <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>.\RegTest.c</PathWithFileName>
       <FilenameWithoutPath>RegTest.c</FilenameWithoutPath>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>67</TopLine>
-      <CurrentLine>1</CurrentLine>
+      <TopLine>0</TopLine>
+      <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>.\main_full.c</PathWithFileName>
       <FilenameWithoutPath>main_full.c</FilenameWithoutPath>
       <FileType>1</FileType>
       <tvExp>0</tvExp>
       <Focus>0</Focus>
-      <ColumnNumber>16</ColumnNumber>
+      <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>64</TopLine>
-      <CurrentLine>10</CurrentLine>
+      <TopLine>0</TopLine>
+      <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>.\main_blinky.c</PathWithFileName>
       <FilenameWithoutPath>main_blinky.c</FilenameWithoutPath>
 
   <Group>
     <GroupName>FreeRTOS_Source</GroupName>
-    <tvExp>0</tvExp>
+    <tvExp>1</tvExp>
     <tvExpOptDlg>0</tvExpOptDlg>
     <cbSel>0</cbSel>
     <RteFlg>0</RteFlg>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>0</TopLine>
-      <CurrentLine>0</CurrentLine>
+      <TopLine>552</TopLine>
+      <CurrentLine>560</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\Source\queue.c</PathWithFileName>
       <FilenameWithoutPath>queue.c</FilenameWithoutPath>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>383</TopLine>
-      <CurrentLine>384</CurrentLine>
+      <TopLine>420</TopLine>
+      <CurrentLine>428</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\Source\portable\RVDS\ARM_CM4F\port.c</PathWithFileName>
       <FilenameWithoutPath>port.c</FilenameWithoutPath>
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>241</TopLine>
-      <CurrentLine>258</CurrentLine>
+      <TopLine>254</TopLine>
+      <CurrentLine>262</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\Common\Minimal\sp_flop.c</PathWithFileName>
       <FilenameWithoutPath>sp_flop.c</FilenameWithoutPath>
index acef88bb39d9059e0df8d6e0240171662ea8beb9..eed7550aa9fbf8e1bbb081523e71c95c375eefa6 100644 (file)
           </ArmAdsMisc>
           <Cads>
             <interw>1</interw>
-            <Optim>1</Optim>
+            <Optim>2</Optim>
             <oTime>0</oTime>
             <SplitLS>0</SplitLS>
             <OneElfS>0</OneElfS>
index f6775f064c4e2a08c9008b81c3d12946f429d3f2..fc656904ea7df4c270b88bd25ac43798bf04a999 100644 (file)
@@ -152,7 +152,7 @@ __Vectors
     ExcpVector   SVC_Handler                ; SVCall Handler\r
     ExcpVector   DebugMon_Handler           ; Debug Monitor Handler\r
     DCD          0                          ; Reserved\r
-    DCD          PendSV_Handler             ; PendSV Handler\r
+    ExcpVector   PendSV_Handler             ; PendSV Handler\r
     ExcpVector   SysTick_Handler            ; SysTick Handler\r
 \r
     ; Interrupt Handlers for Service Requests (SR) from XMC4200 Peripherals\r
index c58654dc34047131a7ba558af5225603d6f2a177..99b1ad2505ac4beeba2a68cec8d439c39d165329 100644 (file)
@@ -152,7 +152,7 @@ __Vectors
     ExcpVector   SVC_Handler                ; SVCall Handler\r
     ExcpVector   DebugMon_Handler           ; Debug Monitor Handler\r
     DCD          0                          ; Reserved\r
-    DCD          PendSV_Handler             ; PendSV Handler\r
+    ExcpVector   PendSV_Handler             ; PendSV Handler\r
     ExcpVector   SysTick_Handler            ; SysTick Handler\r
 \r
     ; Interrupt Handlers for Service Requests (SR) from XMC4400 Peripherals\r
index 501be0cf77798f4f6446bdf670ed8940f42aeaba..c8fd51c56602c4b303c870c31544feb906d1e4f7 100644 (file)
@@ -150,11 +150,11 @@ __Vectors
     DCD          0                          ; Reserved\r
     DCD          0                          ; Reserved\r
     DCD          0                          ; Reserved\r
-    DCD                 SVC_Handler                ; SVCall Handler\r
+    ExcpVector   SVC_Handler                ; SVCall Handler\r
     ExcpVector   DebugMon_Handler           ; Debug Monitor Handler\r
     DCD          0                          ; Reserved\r
-    DCD          PendSV_Handler             ; PendSV Handler\r
-    DCD                 SysTick_Handler            ; SysTick Handler\r
+    ExcpVector   PendSV_Handler             ; PendSV Handler\r
+    ExcpVector   SysTick_Handler            ; SysTick Handler\r
 \r
     ; Interrupt Handlers for Service Requests (SR) from XMC4500 Peripherals\r
     ExcpVector   SCU_0_IRQHandler           ; Handler name for SR SCU_0\r