修改事项: 1、新增TFTP IAP升级功能,只是代码移植完毕,没有测试使用 2、代码空间编译优化,零等待区域空间已满,而应用层代码已全部挪移到非零等待区域中,但还是会增加零等待区的空间占用。 待优化
71 lines
1.6 KiB
C
71 lines
1.6 KiB
C
/*
|
|
* includes.h
|
|
*
|
|
* Created on: May 14, 2025
|
|
* Author: cc
|
|
*/
|
|
|
|
#ifndef USER_INCLUDES_H_
|
|
#define USER_INCLUDES_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 "logic_file_function.h"
|
|
#include "sram_mem_addr.h"
|
|
#include "flash_mem_addr.h"
|
|
#include "rtc.h"
|
|
#include "check_fun.h"
|
|
#include "md5.h"
|
|
#include "watchdog.h"
|
|
#include "mcu_flash.h"
|
|
|
|
#include "blv_authorize.h"
|
|
#include "blv_rs485_protocol.h"
|
|
#include "blv_dev_action.h"
|
|
#include "blv_device_type.h"
|
|
#include "blv_device_option.h"
|
|
|
|
#include "eth_driver.h"
|
|
#include "net_config.h"
|
|
#include "net_function.h"
|
|
#include "tftp_function.h"
|
|
#include "blv_netcomm_function.h"
|
|
|
|
#include "pc_devicetest_fun.h"
|
|
#include "blv_bus_dev_c5iofun.h"
|
|
#include "blv_bus_dev_c5music.h"
|
|
#include "blv_rs485_dev_c12dimming.h"
|
|
#include "blv_rs485_dev_touchswitch.h"
|
|
#include "blv_rs485_dev_touchtempt1.h"
|
|
#include "blv_nor_dec_virtualcard.h"
|
|
#include "blv_nor_dev_hvoutfun.h"
|
|
#include "blv_nor_dev_lvinput.h"
|
|
|
|
#include "blv_rs485_dev_switchctrl.h"
|
|
#include "blv_rs485_dev_tempctrl.h"
|
|
#include "blv_rs485_dev_cardctrl.h"
|
|
#include "blv_rs485_dev_ledcrtl.h"
|
|
|
|
|
|
/*Launcher的软件版本是在MCU Flash中的0x1000 - 20Byte*/
|
|
#define Launcher_SoftwareVer_Addr 0x1000
|
|
|
|
#define MCU_TYPE "BLV-C1F" //机型编号
|
|
#define APP_NAME "App_L4_C1F_42" //APP名称 16Byte
|
|
#define SoftwareVer "C1P_A_L4_01_251107" //软件版本 20Byte
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* USER_INCLUDES_H_ */
|