重构项目配置并添加对 SBDEMO 的支持
更新多个 ESP32 芯片(C2、C3、S3) 的版本配置为 SBDEMO 产品添加新的配置文件实现板卡和应用程序配置模块添加 CRC 实用函数修改系统日志以支持动态日志控制更新 Kconfig 和 sdkconfig 的默认设置以适应新产品
This commit is contained in:
13
app/utils/crc.h
Normal file
13
app/utils/crc.h
Normal 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
|
||||
Reference in New Issue
Block a user