更新多个 ESP32 芯片(C2、C3、S3) 的版本配置为 SBDEMO 产品添加新的配置文件实现板卡和应用程序配置模块添加 CRC 实用函数修改系统日志以支持动态日志控制更新 Kconfig 和 sdkconfig 的默认设置以适应新产品
14 lines
259 B
C
14 lines
259 B
C
#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
|