]> begriffs open source - cmsis-freertos/blob - Demo/ColdFire_MCF52221_CodeWarrior/sources/MCF52221_sysinit.h
Update cmsis_os2.c
[cmsis-freertos] / Demo / ColdFire_MCF52221_CodeWarrior / sources / MCF52221_sysinit.h
1 /*
2  * File:                mcf52221demo_sysinit.h
3  * Purpose:             Power-on Reset configuration of the MCF52221.
4  *
5  * Notes:
6  *
7  */
8
9 #ifndef __MCF52221DEMO_SYSINIT_H__
10 #define __MCF52221DEMO_SYSINIT_H__
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16
17
18 #if ENABLE_UART_SUPPORT==1 
19
20 #define TERMINAL_PORT       0
21 #define TERMINAL_BAUD       kBaud19200
22
23 #endif  /* ENABLE_UART_SUPPORT==1 */
24
25 #define SYSTEM_CLOCK_KHZ  80000     /* system bus frequency in kHz */
26
27
28 /********************************************************************/
29 /* __initialize_hardware Startup code routine
30  * 
31  * __initialize_hardware is called by the startup code right after reset, 
32  * with interrupt disabled and SP pre-set to a valid memory area.
33  * Here you should initialize memory and some peripherics;
34  * at this point global variables are not initialized yet.
35  * The startup code will initialize SP on return of this function.
36  */
37 void __initialize_hardware(void);
38
39 /********************************************************************/
40 /* __initialize_system Startup code routine
41  * 
42  * __initialize_system is called by the startup code when all languages 
43  * specific initialization are done to allow additional hardware setup.
44  */ 
45 void __initialize_system(void);
46
47
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* __MCF52221DEMO_SYSINIT_H__ */
54
55