Files
BLV_MD203_Bootload/Source/includes.h
caocong 2815979c8a fix:修改RS485通讯引脚
RS485通讯引脚改为串口2,引脚:RX:PB05 TX:PB04 RS485_DR:PB03
2026-02-25 10:29:57 +08:00

38 lines
1.2 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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