summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h')
-rw-r--r--FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h b/FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h
new file mode 100644
index 000000000..4f9dc236b
--- /dev/null
+++ b/FreeRTOS/Demo/T-HEAD_CB2201_CDK/RTOSDemo_CDK/RTOSDemo/chip_name.h
@@ -0,0 +1,45 @@
+/*
+ * Description : chip_name.h - Define the system configuration such as:
+ * 1 CPU base config
+ * 2 memory & IO base address
+ * 3 flash size & address
+ * 4 interrupt resource for the soc.
+ *
+ * Copyright (C) : Hangzhou C-SKY Microsystems Co.,LTD.
+ * Date: 2016-08-22
+ */
+
+#ifndef __INCLUDE_CHIP_NAME_H__
+#define __INCLUDE_CHIP_NAME_H__
+
+typedef enum IRQn
+{
+/* ---------------------- CK801CM0 Specific Interrupt Numbers --------------------- */
+ CORET_IRQn = 0,
+} IRQn_Type;
+
+/* Configuration of the CK80# Processor and Core Peripherals */
+/* ToDo: set the defines according your Device */
+/* ToDo: define the correct core revision
+ __CK801_REV if your device is a CK801 device
+ __CK802_REV if your device is a CK802 device
+ __CK803S_REV if your device is a CK803S device */
+#define __NVIC_PRIO_BITS 2 /*!< Number of Bits used for Priority Levels */
+#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
+#define __MGU_PRESENT 0 /*!< MGU present or not */
+
+/* Soft reset address */
+#define __RESET_CONST 0xabcd1234
+
+/**********************************************
+ * Config CPU
+ * Define the attribute for your CPU
+ *********************************************/
+//#include "CSICORE_CK802.H"
+
+/*******************************
+ * Config IO base address
+ ******************************/
+
+
+#endif /* __INCLUDE_CHIP_NAME_H__ */