]> git.sur5r.net Git - freertos/blob - Demo/HCS12_CodeWarrior_small/CODE/RTOSDemo.C
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / HCS12_CodeWarrior_small / CODE / RTOSDemo.C
1 /** ###################################################################\r
2 **     Filename  : RTOSDemo.C\r
3 **     Project   : RTOSDemo\r
4 **     Processor : MC9S12C32CFU\r
5 **     Version   : Driver 01.05\r
6 **     Compiler  : Metrowerks HC12 C Compiler\r
7 **     Date/Time : 10/05/2005, 11:11\r
8 **     Abstract  :\r
9 **         Main module. \r
10 **         Here is to be placed user's code.\r
11 **     Settings  :\r
12 **     Contents  :\r
13 **         No public methods\r
14 **\r
15 **     (c) Copyright UNIS, spol. s r.o. 1997-2002\r
16 **     UNIS, spol. s r.o.\r
17 **     Jundrovska 33\r
18 **     624 00 Brno\r
19 **     Czech Republic\r
20 **     http      : www.processorexpert.com\r
21 **     mail      : info@processorexpert.com\r
22 ** ###################################################################*/\r
23 /* MODULE RTOSDemo */\r
24 \r
25 /* Including used modules for compilling procedure */\r
26 #include "Cpu.h"\r
27 #include "Events.h"\r
28 #include "Byte1.h"\r
29 #include "TickTimer.h"\r
30 #include "ButtonInterrupt.h"\r
31 /* Include shared modules, which are used for whole project */\r
32 #include "PE_Types.h"\r
33 #include "PE_Error.h"\r
34 #include "PE_Const.h"\r
35 #include "IO_Map.h"\r
36 \r
37 extern void vMain( void );\r
38 \r
39 void main(void)\r
40 {\r
41   /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/\r
42   PE_low_level_init();\r
43   /*** End of Processor Expert internal initialization.                    ***/\r
44 \r
45   /*Write your code here*/\r
46   \r
47   /* Just jump to the real main(). */\r
48   __asm\r
49   {\r
50          jmp vMain\r
51   }\r
52   \r
53   /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/\r
54     for(;;);\r
55   /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/\r
56 } /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/\r
57 \r
58 /* END RTOSDemo */\r
59 /*\r
60 ** ###################################################################\r
61 **\r
62 **     This file was created by UNIS Processor Expert 03.33 for \r
63 **     the Motorola HCS12 series of microcontrollers.\r
64 **\r
65 ** ###################################################################\r
66 */\r