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
+34
View File
@@ -0,0 +1,34 @@
#ifndef DATABASE_H
#define DATABASE_H
#include "typedef.h"
struct db_table {
const char *name;
u8 value_bits;
int value;
};
int db_select_buffer(u8 index, char *buffer, int len);
int db_update_buffer(u8 index, char *buffer, int len);
int db_create(const char *store_dev);
int db_create_table(const struct db_table *table, int num);
u32 db_select(const char *table);
int db_update(const char *table, u32 value);
int db_flush();
int db_reset();
int db_erase();
#endif