41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
/*
|
||
* includes.h
|
||
*
|
||
* Created on: May 14, 2025
|
||
* Author: cc
|
||
*/
|
||
|
||
#ifndef USER_INCLUDES_H_
|
||
#define USER_INCLUDES_H_
|
||
|
||
#include <bootload_fun.h>
|
||
#include "ch564.h"
|
||
#include "system_ch564.h"
|
||
|
||
#include "debug.h"
|
||
#include "uart.h"
|
||
#include "led.h"
|
||
#include "timer.h"
|
||
#include "spi_sram.h"
|
||
#include "spi_flash.h"
|
||
#include "rw_logging.h"
|
||
#include "log_api.h"
|
||
#include "sram_mem_addr.h"
|
||
#include "flash_mem_addr.h"
|
||
#include "rtc.h"
|
||
#include "mcu_flash.h"
|
||
|
||
/*工程名称及软件版本号
|
||
此定义在每个工程中必须定义,用于识别当前工程对应的机型
|
||
Boot中会通过读取EEPROM中保存的设备信息来判断当前是什么机型
|
||
如果EEPROM 中没有保存设备信息,那么当前就是Boot程序,设备地址为0x00,设备类型为0x00
|
||
*/
|
||
#define Project_Area 0x01 //工程所处区域为Boot区域 0x01:Boot区域;0x02:APP区域
|
||
#define Peoject_Name "BLV_C1P_Bootload" //工程名称
|
||
#define Project_FW_Version 0x01 //工程对应的软件版本号
|
||
#define Project_Type 0x00 //工程对应的设备类型 Boot默认设备类型
|
||
|
||
|
||
|
||
#endif /* USER_INCLUDES_H_ */
|