소스 검색

update: 支持启用bit64库,并添加到云编译的元数据

Wendal Chen 2 년 전
부모
커밋
78eaea6b64
4개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      cloudbuild/esp32c3-idf5.meta.json
  2. 7 0
      cloudbuild/esp32s3-idf5.meta.json
  3. 3 0
      luatos/components/luat/port/luat_base_idf5.c
  4. 1 0
      luatos/include/luat_conf_bsp.h

+ 7 - 0
cloudbuild/esp32c3-idf5.meta.json

@@ -305,6 +305,13 @@
                   "rsize": 40008,
                   "fsize": 274360,
                   "dft": false
+              },
+              {
+                  "name": "bit64",
+                  "content": "64位数据处理库",
+                  "rsize": 10008,
+                  "fsize": 274360,
+                  "dft": false
               }
            ],
            "fsize":365376,

+ 7 - 0
cloudbuild/esp32s3-idf5.meta.json

@@ -305,6 +305,13 @@
                   "rsize": 40008,
                   "fsize": 274360,
                   "dft": false
+              },
+              {
+                  "name": "bit64",
+                  "content": "64位数据处理库",
+                  "rsize": 10008,
+                  "fsize": 274360,
+                  "dft": false
               }
            ],
            "fsize":365376,

+ 3 - 0
luatos/components/luat/port/luat_base_idf5.c

@@ -236,6 +236,9 @@ static const luaL_Reg loadedlibs[] = {
 #endif
 #ifdef LUAT_USE_ICONV
   {"iconv", luaopen_iconv},
+#endif
+#ifdef LUAT_USE_BIT64
+  {"bit64", luaopen_bit64},
 #endif
   {NULL, NULL}
 };

+ 1 - 0
luatos/include/luat_conf_bsp.h

@@ -104,6 +104,7 @@
 
 #define LUAT_USE_RSA 1
 // #define LUAT_USE_ICONV 1
+// #define LUAT_USE_BIT64 1
 
 // ------------------