38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
|
|
#ifndef _INCLUDES_H_
|
|||
|
|
#define _INCLUDES_H_
|
|||
|
|
|
|||
|
|
#include "apt32f102.h"
|
|||
|
|
|
|||
|
|
#include "apt32f102_bt.h"
|
|||
|
|
#include "apt32f102_gpio.h"
|
|||
|
|
#include "apt32f102_ifc.h"
|
|||
|
|
#include "apt32f102_lpt.h"
|
|||
|
|
|
|||
|
|
#include "apt32f102_syscon.h"
|
|||
|
|
#include "apt32f102_uart.h"
|
|||
|
|
#include "apt32f102_wwdt.h"
|
|||
|
|
#include "apt32f102_types_local.h"
|
|||
|
|
#include "apt32f102_clkcalib.h"
|
|||
|
|
|
|||
|
|
/*应用代码头文件*/
|
|||
|
|
#include "uart.h"
|
|||
|
|
#include "eeprom.h"
|
|||
|
|
#include "Bootload_fun.h"
|
|||
|
|
|
|||
|
|
/*工程名称及软件版本号
|
|||
|
|
此定义在每个工程中必须定义,用于识别当前工程对应的机型
|
|||
|
|
Boot中会通过读取EEPROM中保存的设备信息来判断当前是什么机型
|
|||
|
|
如果EEPROM 中没有保存设备信息,那么当前就是Boot程序,设备地址为0x00,设备类型为0x00
|
|||
|
|
*/
|
|||
|
|
#define Project_Area 0x01 //工程所处区域为Boot区域 0x01:Boot区域;0x02:APP区域
|
|||
|
|
#define Peoject_Name "MD203_Bootload" //工程名称
|
|||
|
|
#define Project_FW_Version 0x05 //工程对应的软件版本号
|
|||
|
|
#define Project_Type 0x00 //工程对应的设备类型 Boot默认设备类型
|
|||
|
|
|
|||
|
|
|
|||
|
|
extern volatile U32_T SysTick_100us;
|
|||
|
|
extern volatile U32_T SysTick_1ms;
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif
|