Browse Source

add: 添加luat_hmeta_chip函数,获取原始芯片型号

Wendal Chen 1 year ago
parent
commit
beb74d58b4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/hmeta/luat_hmeta.h

+ 2 - 0
components/hmeta/luat_hmeta.h

@@ -7,6 +7,8 @@ int luat_hmeta_model_name(char* buff);
 // 获取硬件版本号, 例如A11, A14
 int luat_hmeta_hwversion(char* buff);
 
+// 获取芯片组型号, 原始型号, 传入的buff最少要8字节空间
+int luat_hmeta_chip(char* buff);
 
 // -------------------------------------------------------
 //             GPIO 元数据