]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h
Introduce a port for T-HEAD CK802. A simple demo for T-HEAD CB2201 is also included.
[freertos] / FreeRTOS / Demo / T-HEAD_CB2201_CDK / RTOSDemo_CDK / RTOSDemo / chip_name.h
1 /*\r
2  * Description : chip_name.h - Define the system configuration such as:\r
3  * 1 CPU base config\r
4  * 2 memory & IO base address \r
5  * 3 flash size & address\r
6  * 4 interrupt resource for the soc.\r
7  *\r
8  * Copyright (C) : Hangzhou C-SKY Microsystems Co.,LTD.\r
9  * Date:   2016-08-22\r
10  */\r
11 \r
12 #ifndef __INCLUDE_CHIP_NAME_H__\r
13 #define __INCLUDE_CHIP_NAME_H__\r
14 \r
15 typedef enum IRQn\r
16 {\r
17 /* ----------------------  CK801CM0 Specific Interrupt Numbers  --------------------- */\r
18   CORET_IRQn = 0,\r
19 } IRQn_Type;\r
20 \r
21 /* Configuration of the CK80# Processor and Core Peripherals */\r
22 /* ToDo: set the defines according your Device                                                    */\r
23 /* ToDo: define the correct core revision\r
24          __CK801_REV if your device is a CK801 device\r
25          __CK802_REV if your device is a CK802 device\r
26          __CK803S_REV if your device is a CK803S device                                           */\r
27 #define __NVIC_PRIO_BITS          2         /*!< Number of Bits used for Priority Levels          */\r
28 #define __Vendor_SysTickConfig    0         /*!< Set to 1 if different SysTick Config is used     */\r
29 #define __MGU_PRESENT             0         /*!< MGU present or not                               */\r
30 \r
31 /* Soft reset address */\r
32 #define  __RESET_CONST           0xabcd1234\r
33 \r
34 /**********************************************\r
35  * Config CPU\r
36  * Define the attribute for your CPU\r
37  *********************************************/\r
38 //#include "CSICORE_CK802.H"\r
39 \r
40 /*******************************\r
41  * Config IO base address\r
42  ******************************/\r
43 \r
44 \r
45 #endif /* __INCLUDE_CHIP_NAME_H__ */\r