feat: 添加杰理 JL7016 SOC 代码生成模板

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 16:05:36 +08:00
co-authored by Cursor
parent 0eda925f58
commit 16bffd16b2
914 changed files with 254709 additions and 45 deletions
+35
View File
@@ -0,0 +1,35 @@
#ifndef __CPU_CRC16_H__
#define __CPU_CRC16_H__
#include "typedef.h"
u16 CRC16(const void *ptr, u32 len);
/* i_val: CRC校验初值 */
u16 CRC16_with_initval(const void *ptr, u32 len, u16 i_val);
u16 CRC16_with_code(const void *ptr, u32 len, u16 code);
void spi_crc16_set(u16 crc);
u16 spi_crc16_get(void);
void CrcDecode(void *buf, u16 len);
u16 get_page_efuse(u32 page, u32 delay_cnt);
void init_enc_key(u8 cmd);
u32 get_sfc_enc_key(void);
#endif