Files
RCU_C1P_Launcher/User/includes.h
caocong 094fd76a72 新增:首次提交
首次提交,上传Launcher工程
2026-01-05 09:40:42 +08:00

41 lines
1.0 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.
/*
* 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_ */