重构项目配置并添加对 SBDEMO 的支持

更新多个 ESP32 芯片(C2、C3、S3)
的版本配置为 SBDEMO
产品添加新的配置文件实现板卡和应用程序配置模块添加 CRC 实用函数修改系统日志以支持动态日志控制更新 Kconfig 和 sdkconfig 的默认设置以适应新产品
This commit is contained in:
LokLiang
2025-02-21 10:30:22 +08:00
parent 73df531ac3
commit e9b5e42ef2
28 changed files with 1561 additions and 48 deletions

13
app/utils/crc.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef __CRC_H__
#define __CRC_H__
#include <stdint.h>
#include <stddef.h>
uint8_t crc8_calc(const void *data, size_t length);
uint16_t crc16_calc(const void *data, size_t length);
uint32_t crc32_calc(uint32_t crc, const void *src, size_t size);
#endif