基于SOC开发流程的的通用SDK框架,目前服务器OTA这块还没搭建好,但不影响功能开发,OTA目前可以用蓝牙直连OTA的方式进行升级

This commit is contained in:
2026-08-03 15:08:04 +08:00
commit 158b74447d
916 changed files with 223582 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
/*********************************************************************************************
* Filename : config_target.h
* Description :
* Author : Bingquan
* Email : bingquan_cai@zh-jieli.com
* Last modifiled : 2019-01-09 19:28
* Copyright:(c)JIELI 2011-2017 @ , All Rights Reserved.
*********************************************************************************************/
#ifndef _CONFIG_TARGET_H_
#define _CONFIG_TARGET_H_
#include "typedef.h"
#define EQ_CONFIG_ID 0x0005
#define EFFECTS_CONFIG_ID 0x0006
#define AEC_CONFIG_ID 0x0008
typedef void (*ci_packet_handler_t)(uint8_t *packet, uint16_t size);
struct config_target {
u16 id;
ci_packet_handler_t callback;
};
#define REGISTER_CONFIG_TARGET(target) \
const struct config_target target sec(.config_target)
extern const struct config_target config_target_begin[];
extern const struct config_target config_target_end[];
#define list_for_each_config_target(p) \
for (p = config_target_begin; p < config_target_end; p++)
#endif