From 8b348d01459c75bc288d4a7b381b0eca81a6028b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Tue, 3 Dec 2024 15:02:45 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20micropython=20libraries=20map?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E4=BB=B6=E6=B7=BB=E5=8A=A0=5F=5Fsize=5F=5F?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boards/default/micropython/build/lib/map.json | 92 +++++++++++++++++++ .../micropython_esp32/build/lib/map.json | 3 + .../micropython_esp32c2/build/lib/map.json | 7 ++ .../micropython_esp32c3/build/lib/map.json | 5 + .../micropython_esp32s2/build/lib/map.json | 2 + .../micropython_esp32s3/build/lib/map.json | 9 ++ .../build/lib/map.json | 22 +++++ .../build/lib/map.json | 11 +++ .../build/lib/map.json | 3 + .../micropython_robot/build/lib/map.json | 5 + boards/default_src/arduino/package.json | 2 +- .../micropython/origin/build/lib/map.json | 92 +++++++++++++++++++ .../origin/build/lib/map.json | 3 + .../origin/build/lib/map.json | 7 ++ .../origin/build/lib/map.json | 5 + .../origin/build/lib/map.json | 2 + .../origin/build/lib/map.json | 9 ++ .../origin/build/lib/map.json | 22 +++++ .../origin/build/lib/map.json | 11 +++ .../origin/build/lib/map.json | 3 + .../origin/build/lib/map.json | 5 + common/modules/mixly-modules/deps.json | 1 + package.json | 2 +- scripts/build-libraries.py | 3 + 24 files changed, 324 insertions(+), 2 deletions(-) diff --git a/boards/default/micropython/build/lib/map.json b/boards/default/micropython/build/lib/map.json index 5a038f77..6b3aa50c 100644 --- a/boards/default/micropython/build/lib/map.json +++ b/boards/default/micropython/build/lib/map.json @@ -6,6 +6,7 @@ "micropython" ], "__file__": true, + "__size__": 1644, "__name__": "adxl345.py" }, "ahtx0": { @@ -14,6 +15,7 @@ "micropython" ], "__file__": true, + "__size__": 3204, "__name__": "ahtx0.py" }, "ap3216c": { @@ -22,6 +24,7 @@ "micropython" ], "__file__": true, + "__size__": 1786, "__name__": "ap3216c.py" }, "apds9960": { @@ -30,6 +33,7 @@ "micropython" ], "__file__": true, + "__size__": 12718, "__name__": "apds9960.py" }, "baidu_speech": { @@ -42,6 +46,7 @@ "machine" ], "__file__": true, + "__size__": 3703, "__name__": "baidu_speech.py" }, "ble_advertising": { @@ -51,6 +56,7 @@ "bluetooth" ], "__file__": true, + "__size__": 2492, "__name__": "ble_advertising.py" }, "ble_central": { @@ -63,6 +69,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 7312, "__name__": "ble_central.py" }, "ble_handle": { @@ -70,6 +77,7 @@ "ble_peripheral" ], "__file__": true, + "__size__": 1034, "__name__": "ble_handle.py" }, "ble_hid_keyboard": { @@ -84,6 +92,7 @@ "ble_hid_key" ], "__file__": true, + "__size__": 9698, "__name__": "ble_hid_keyboard.py" }, "ble_hid_mouse": { @@ -98,6 +107,7 @@ "ble_hid_key" ], "__file__": true, + "__size__": 8209, "__name__": "ble_hid_mouse.py" }, "ble_peripheral": { @@ -108,6 +118,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 2919, "__name__": "ble_peripheral.py" }, "ble_uart_peripheral": { @@ -117,6 +128,7 @@ "micropython" ], "__file__": true, + "__size__": 2846, "__name__": "ble_uart_peripheral.py" }, "ble_uart_repl": { @@ -128,6 +140,7 @@ "ble_uart_peripheral" ], "__file__": true, + "__size__": 1824, "__name__": "ble_uart_repl.py" }, "blynklib": { @@ -139,6 +152,7 @@ "micropython" ], "__file__": true, + "__size__": 14064, "__name__": "blynklib.py" }, "blynktimer": { @@ -149,6 +163,7 @@ "uselect" ], "__file__": true, + "__size__": 4600, "__name__": "blynktimer.py" }, "bmp280": { @@ -157,6 +172,7 @@ "utime" ], "__file__": true, + "__size__": 6037, "__name__": "bmp280.py" }, "cbr817": { @@ -166,6 +182,7 @@ "micropython" ], "__file__": true, + "__size__": 3913, "__name__": "cbr817.py" }, "cc_g1": { @@ -174,6 +191,7 @@ "machine" ], "__file__": true, + "__size__": 2474, "__name__": "cc_g1.py" }, "ch914x_at": { @@ -182,6 +200,7 @@ "time" ], "__file__": true, + "__size__": 4131, "__name__": "ch914x_at.py" }, "ci130x": { @@ -191,6 +210,7 @@ "micropython" ], "__file__": true, + "__size__": 2484, "__name__": "ci130x.py" }, "debugnet": { @@ -206,6 +226,7 @@ "ujson" ], "__file__": true, + "__size__": 5719, "__name__": "debugnet.py" }, "dhtx": { @@ -216,6 +237,7 @@ "machine" ], "__file__": true, + "__size__": 1627, "__name__": "dhtx.py" }, "ds18b20": { @@ -225,16 +247,19 @@ "micropython" ], "__file__": true, + "__size__": 2129, "__name__": "ds18b20.py" }, "expression_picture": { "__require__": [], "__file__": true, + "__size__": 31406, "__name__": "expression_picture.py" }, "eye_picture": { "__require__": [], "__file__": true, + "__size__": 82105, "__name__": "eye_picture.py" }, "gnss": { @@ -243,6 +268,7 @@ "ubinascii" ], "__file__": true, + "__size__": 3335, "__name__": "gnss.py" }, "hp203x": { @@ -251,6 +277,7 @@ "micropython" ], "__file__": true, + "__size__": 2574, "__name__": "hp203x.py" }, "ht16k33": { @@ -259,6 +286,7 @@ "micropython" ], "__file__": true, + "__size__": 1834, "__name__": "ht16k33.py" }, "huskylens": { @@ -267,6 +295,7 @@ "ubinascii" ], "__file__": true, + "__size__": 9047, "__name__": "huskylens.py" }, "i2cdevice": { @@ -275,6 +304,7 @@ "machine" ], "__file__": true, + "__size__": 9852, "__name__": "i2cdevice.py" }, "i2clcd": { @@ -283,6 +313,7 @@ "micropython" ], "__file__": true, + "__size__": 2839, "__name__": "i2clcd.py" }, "icm42670": { @@ -292,11 +323,13 @@ "math" ], "__file__": true, + "__size__": 3049, "__name__": "icm42670.py" }, "informatio_picture": { "__require__": [], "__file__": true, + "__size__": 39510, "__name__": "informatio_picture.py" }, "irremote": { @@ -308,6 +341,7 @@ "machine" ], "__file__": true, + "__size__": 6243, "__name__": "irremote.py" }, "ltr308al": { @@ -316,6 +350,7 @@ "micropython" ], "__file__": true, + "__size__": 2049, "__name__": "ltr308al.py" }, "ltr381rgb": { @@ -324,6 +359,7 @@ "micropython" ], "__file__": true, + "__size__": 2344, "__name__": "ltr381rgb.py" }, "ltr390uv": { @@ -332,6 +368,7 @@ "micropython" ], "__file__": true, + "__size__": 2258, "__name__": "ltr390uv.py" }, "ltr553als": { @@ -340,11 +377,13 @@ "micropython" ], "__file__": true, + "__size__": 3221, "__name__": "ltr553als.py" }, "matcher": { "__require__": [], "__file__": true, + "__size__": 3336, "__name__": "matcher.py" }, "matrix16x8": { @@ -352,6 +391,7 @@ "ht16k33" ], "__file__": true, + "__size__": 4053, "__name__": "matrix16x8.py" }, "matrix32x12": { @@ -359,6 +399,7 @@ "tm1680" ], "__file__": true, + "__size__": 9947, "__name__": "matrix32x12.py" }, "matrix8x5": { @@ -366,6 +407,7 @@ "tm1652" ], "__file__": true, + "__size__": 1966, "__name__": "matrix8x5.py" }, "max30102": { @@ -374,6 +416,7 @@ "micropython" ], "__file__": true, + "__size__": 11529, "__name__": "max30102.py" }, "mixgo_ai": { @@ -382,6 +425,7 @@ "gc" ], "__file__": true, + "__size__": 5832, "__name__": "mixgo_ai.py" }, "mixiot": { @@ -397,6 +441,7 @@ "ussl" ], "__file__": true, + "__size__": 11930, "__name__": "mixiot.py" }, "mixpy": { @@ -406,6 +451,7 @@ "json" ], "__file__": true, + "__size__": 2892, "__name__": "mixpy.py" }, "mmc5603": { @@ -416,6 +462,7 @@ "magnetic_cal" ], "__file__": true, + "__size__": 5888, "__name__": "mmc5603.py" }, "mpu9250": { @@ -432,6 +479,7 @@ "compass_cfg" ], "__file__": true, + "__size__": 15746, "__name__": "mpu9250.py" }, "ms32006": { @@ -440,6 +488,7 @@ "micropython" ], "__file__": true, + "__size__": 3671, "__name__": "ms32006.py" }, "msa301": { @@ -448,6 +497,7 @@ "micropython" ], "__file__": true, + "__size__": 1994, "__name__": "msa301.py" }, "music": { @@ -456,6 +506,7 @@ "machine" ], "__file__": true, + "__size__": 6726, "__name__": "music.py" }, "mxc6655xa": { @@ -466,6 +517,7 @@ "math" ], "__file__": true, + "__size__": 2818, "__name__": "mxc6655xa.py" }, "ns9300": { @@ -474,6 +526,7 @@ "micropython" ], "__file__": true, + "__size__": 3593, "__name__": "ns9300.py" }, "ntptime": { @@ -485,11 +538,13 @@ "ustruct" ], "__file__": true, + "__size__": 1423, "__name__": "ntptime.py" }, "object_picture": { "__require__": [], "__file__": true, + "__size__": 35094, "__name__": "object_picture.py" }, "oled128x64": { @@ -497,6 +552,7 @@ "ssd1106" ], "__file__": true, + "__size__": 481, "__name__": "oled128x64.py" }, "onenet": { @@ -505,6 +561,7 @@ "umqtt" ], "__file__": true, + "__size__": 1102, "__name__": "onenet.py" }, "pe_g1": { @@ -513,6 +570,7 @@ "micropython" ], "__file__": true, + "__size__": 3574, "__name__": "pe_g1.py" }, "pm2_5": { @@ -520,11 +578,13 @@ "time" ], "__file__": true, + "__size__": 1076, "__name__": "pm2_5.py" }, "progres_picture": { "__require__": [], "__file__": true, + "__size__": 77320, "__name__": "progres_picture.py" }, "ps2": { @@ -534,6 +594,7 @@ "micropython" ], "__file__": true, + "__size__": 3369, "__name__": "ps2.py" }, "qmc5883l": { @@ -543,6 +604,7 @@ "micropython" ], "__file__": true, + "__size__": 7226, "__name__": "qmc5883l.py" }, "qmi8658": { @@ -551,6 +613,7 @@ "micropython" ], "__file__": true, + "__size__": 4410, "__name__": "qmi8658.py" }, "radio": { @@ -561,6 +624,7 @@ "espnow" ], "__file__": true, + "__size__": 4526, "__name__": "radio.py" }, "rc522": { @@ -569,6 +633,7 @@ "micropython" ], "__file__": true, + "__size__": 7526, "__name__": "rc522.py" }, "rfm98": { @@ -579,6 +644,7 @@ "micropython" ], "__file__": true, + "__size__": 8617, "__name__": "rfm98.py" }, "rtctime": { @@ -590,6 +656,7 @@ "ustruct" ], "__file__": true, + "__size__": 1559, "__name__": "rtctime.py" }, "sc7a20": { @@ -600,6 +667,7 @@ "math" ], "__file__": true, + "__size__": 2454, "__name__": "sc7a20.py" }, "sdcard": { @@ -609,6 +677,7 @@ "micropython" ], "__file__": true, + "__size__": 8738, "__name__": "sdcard.py" }, "seniverse_api": { @@ -617,6 +686,7 @@ "urequests" ], "__file__": true, + "__size__": 7264, "__name__": "seniverse_api.py" }, "servo": { @@ -624,6 +694,7 @@ "machine" ], "__file__": true, + "__size__": 1338, "__name__": "servo.py" }, "sht20": { @@ -632,6 +703,7 @@ "time" ], "__file__": true, + "__size__": 1155, "__name__": "sht20.py" }, "shtc3": { @@ -641,6 +713,7 @@ "struct" ], "__file__": true, + "__size__": 3837, "__name__": "shtc3.py" }, "sonar": { @@ -649,6 +722,7 @@ "machine" ], "__file__": true, + "__size__": 1103, "__name__": "sonar.py" }, "spl06_001": { @@ -657,6 +731,7 @@ "micropython" ], "__file__": true, + "__size__": 4309, "__name__": "spl06_001.py" }, "ssd1106": { @@ -665,6 +740,7 @@ "micropython" ], "__file__": true, + "__size__": 4247, "__name__": "ssd1106.py" }, "st7735": { @@ -675,6 +751,7 @@ "micropython" ], "__file__": true, + "__size__": 3670, "__name__": "st7735.py" }, "st7789": { @@ -686,6 +763,7 @@ "ustruct" ], "__file__": true, + "__size__": 10458, "__name__": "st7789.py" }, "syn6288": { @@ -694,6 +772,7 @@ "micropython" ], "__file__": true, + "__size__": 2622, "__name__": "syn6288.py" }, "tm1650": { @@ -702,6 +781,7 @@ "micropython" ], "__file__": true, + "__size__": 2008, "__name__": "tm1650.py" }, "tm1652": { @@ -712,6 +792,7 @@ "micropython" ], "__file__": true, + "__size__": 2222, "__name__": "tm1652.py" }, "tm1680": { @@ -720,6 +801,7 @@ "micropython" ], "__file__": true, + "__size__": 2226, "__name__": "tm1680.py" }, "tm1931": { @@ -730,11 +812,13 @@ "micropython" ], "__file__": true, + "__size__": 1916, "__name__": "tm1931.py" }, "uart_com": { "__require__": [], "__file__": true, + "__size__": 588, "__name__": "uart_com.py" }, "ucs12071": { @@ -743,6 +827,7 @@ "micropython" ], "__file__": true, + "__size__": 2378, "__name__": "ucs12071.py" }, "uframebuf": { @@ -753,6 +838,7 @@ "framebuf" ], "__file__": true, + "__size__": 20598, "__name__": "uframebuf.py" }, "umqtt": { @@ -762,6 +848,7 @@ "ussl" ], "__file__": true, + "__size__": 6687, "__name__": "umqtt.py" }, "urequests": { @@ -772,6 +859,7 @@ "ujson" ], "__file__": true, + "__size__": 4346, "__name__": "urequests.py" }, "vl53l0x": { @@ -781,6 +869,7 @@ "utime" ], "__file__": true, + "__size__": 9639, "__name__": "vl53l0x.py" }, "ws2812": { @@ -789,6 +878,7 @@ "machine" ], "__file__": true, + "__size__": 2374, "__name__": "ws2812.py" }, "ws_lora": { @@ -800,6 +890,7 @@ "hp203x" ], "__file__": true, + "__size__": 4484, "__name__": "ws_lora.py" }, "ws_solo": { @@ -809,6 +900,7 @@ "machine" ], "__file__": true, + "__size__": 3247, "__name__": "ws_solo.py" } } \ No newline at end of file diff --git a/boards/default/micropython_esp32/build/lib/map.json b/boards/default/micropython_esp32/build/lib/map.json index ba6cb605..e8224966 100644 --- a/boards/default/micropython_esp32/build/lib/map.json +++ b/boards/default/micropython_esp32/build/lib/map.json @@ -10,6 +10,7 @@ "matrix16x8" ], "__file__": true, + "__size__": 4507, "__name__": "mixgo.py" }, "mixgo_pe": { @@ -21,6 +22,7 @@ "machine" ], "__file__": true, + "__size__": 1328, "__name__": "mixgo_pe.py" }, "mpython": { @@ -35,6 +37,7 @@ "qmi8658" ], "__file__": true, + "__size__": 3562, "__name__": "mpython.py" } } \ No newline at end of file diff --git a/boards/default/micropython_esp32c2/build/lib/map.json b/boards/default/micropython_esp32c2/build/lib/map.json index fff3376b..b4187249 100644 --- a/boards/default/micropython_esp32c2/build/lib/map.json +++ b/boards/default/micropython_esp32c2/build/lib/map.json @@ -9,6 +9,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 7299, "__name__": "ble_central.py" }, "mini_bot": { @@ -20,6 +21,7 @@ "framebuf" ], "__file__": true, + "__size__": 12529, "__name__": "mini_bot.py" }, "mini_g2": { @@ -29,6 +31,7 @@ "rc522" ], "__file__": true, + "__size__": 544, "__name__": "mini_g2.py" }, "mini_go": { @@ -40,6 +43,7 @@ "machine" ], "__file__": true, + "__size__": 8481, "__name__": "mini_go.py" }, "mixgo_mini": { @@ -55,6 +59,7 @@ "mini_bot" ], "__file__": true, + "__size__": 4611, "__name__": "mixgo_mini.py" }, "musicx": { @@ -62,6 +67,7 @@ "time" ], "__file__": true, + "__size__": 3545, "__name__": "musicx.py" }, "ws2812x": { @@ -70,6 +76,7 @@ "machine" ], "__file__": true, + "__size__": 1881, "__name__": "ws2812x.py" } } \ No newline at end of file diff --git a/boards/default/micropython_esp32c3/build/lib/map.json b/boards/default/micropython_esp32c3/build/lib/map.json index d49b6ed2..92e79887 100644 --- a/boards/default/micropython_esp32c3/build/lib/map.json +++ b/boards/default/micropython_esp32c3/build/lib/map.json @@ -9,6 +9,7 @@ "rc522" ], "__file__": true, + "__size__": 1327, "__name__": "me_g1.py" }, "me_go": { @@ -20,6 +21,7 @@ "machine" ], "__file__": true, + "__size__": 8787, "__name__": "me_go.py" }, "mixgocar_c3": { @@ -32,6 +34,7 @@ "music" ], "__file__": true, + "__size__": 9865, "__name__": "mixgocar_c3.py" }, "mixgo_cc": { @@ -52,6 +55,7 @@ "shtc3" ], "__file__": true, + "__size__": 7436, "__name__": "mixgo_cc.py" }, "mixgo_me": { @@ -67,6 +71,7 @@ "mmc5603" ], "__file__": true, + "__size__": 5363, "__name__": "mixgo_me.py" } } \ No newline at end of file diff --git a/boards/default/micropython_esp32s2/build/lib/map.json b/boards/default/micropython_esp32s2/build/lib/map.json index 0fdccf19..cbcf4a58 100644 --- a/boards/default/micropython_esp32s2/build/lib/map.json +++ b/boards/default/micropython_esp32s2/build/lib/map.json @@ -8,6 +8,7 @@ "machine" ], "__file__": true, + "__size__": 8886, "__name__": "ce_go.py" }, "mixgo_ce": { @@ -23,6 +24,7 @@ "machine" ], "__file__": true, + "__size__": 6730, "__name__": "mixgo_ce.py" } } \ No newline at end of file diff --git a/boards/default/micropython_esp32s3/build/lib/map.json b/boards/default/micropython_esp32s3/build/lib/map.json index 3455ab17..e842c354 100644 --- a/boards/default/micropython_esp32s3/build/lib/map.json +++ b/boards/default/micropython_esp32s3/build/lib/map.json @@ -5,6 +5,7 @@ "micropython" ], "__file__": true, + "__size__": 7908, "__name__": "es8374.py" }, "mixgo_nova": { @@ -27,6 +28,7 @@ "machine" ], "__file__": true, + "__size__": 9577, "__name__": "mixgo_nova.py" }, "mixgo_nova_voice": { @@ -40,6 +42,7 @@ "urequests" ], "__file__": true, + "__size__": 3175, "__name__": "mixgo_nova_voice.py" }, "mixgo_zero": { @@ -61,6 +64,7 @@ "machine" ], "__file__": true, + "__size__": 8017, "__name__": "mixgo_zero.py" }, "mixgo_zero_voice": { @@ -74,6 +78,7 @@ "urequests" ], "__file__": true, + "__size__": 3173, "__name__": "mixgo_zero_voice.py" }, "music_spk": { @@ -84,6 +89,7 @@ "struct" ], "__file__": true, + "__size__": 6541, "__name__": "music_spk.py" }, "nova_g1": { @@ -92,6 +98,7 @@ "mixgo_nova" ], "__file__": true, + "__size__": 3269, "__name__": "nova_g1.py" }, "sdcard": { @@ -101,6 +108,7 @@ "micropython" ], "__file__": true, + "__size__": 8557, "__name__": "sdcard.py" }, "st7789_bf": { @@ -111,6 +119,7 @@ "micropython" ], "__file__": true, + "__size__": 3191, "__name__": "st7789_bf.py" } } \ No newline at end of file diff --git a/boards/default/micropython_k210_mixgoai/build/lib/map.json b/boards/default/micropython_k210_mixgoai/build/lib/map.json index 949a7207..3236b20c 100644 --- a/boards/default/micropython_k210_mixgoai/build/lib/map.json +++ b/boards/default/micropython_k210_mixgoai/build/lib/map.json @@ -6,6 +6,7 @@ "ustruct" ], "__file__": true, + "__size__": 2467, "__name__": "adxl345.py" }, "aionenet": { @@ -20,6 +21,7 @@ "machine" ], "__file__": true, + "__size__": 4362, "__name__": "aionenet.py" }, "ai_face": { @@ -31,6 +33,7 @@ "board" ], "__file__": true, + "__size__": 3905, "__name__": "ai_face.py" }, "base64": { @@ -44,6 +47,7 @@ "getopt" ], "__file__": true, + "__size__": 8087, "__name__": "base64.py" }, "bmp280": { @@ -53,11 +57,13 @@ "machine" ], "__file__": true, + "__size__": 6271, "__name__": "bmp280.py" }, "ce_com": { "__require__": [], "__file__": true, + "__size__": 628, "__name__": "ce_com.py" }, "dht11": { @@ -66,6 +72,7 @@ "board" ], "__file__": true, + "__size__": 1851, "__name__": "dht11.py" }, "hcr04": { @@ -74,6 +81,7 @@ "board" ], "__file__": true, + "__size__": 790, "__name__": "hcr04.py" }, "irremote": { @@ -82,11 +90,13 @@ "board" ], "__file__": true, + "__size__": 999, "__name__": "irremote.py" }, "matcher": { "__require__": [], "__file__": true, + "__size__": 3336, "__name__": "matcher.py" }, "miot_no": { @@ -101,6 +111,7 @@ "ussl" ], "__file__": true, + "__size__": 8532, "__name__": "miot_no.py" }, "mixiot": { @@ -116,6 +127,7 @@ "ussl" ], "__file__": true, + "__size__": 11091, "__name__": "mixiot.py" }, "mixly_tool": { @@ -125,6 +137,7 @@ "sys" ], "__file__": true, + "__size__": 688, "__name__": "mixly_tool.py" }, "mixpy": { @@ -132,6 +145,7 @@ "math" ], "__file__": true, + "__size__": 2689, "__name__": "mixpy.py" }, "mpu9250": { @@ -146,6 +160,7 @@ "compass_cfg" ], "__file__": true, + "__size__": 17641, "__name__": "mpu9250.py" }, "ms32006": { @@ -154,6 +169,7 @@ "micropython" ], "__file__": true, + "__size__": 4382, "__name__": "ms32006.py" }, "net_espat": { @@ -165,6 +181,7 @@ "time" ], "__file__": true, + "__size__": 1364, "__name__": "net_espat.py" }, "pid": { @@ -173,6 +190,7 @@ "math" ], "__file__": true, + "__size__": 1789, "__name__": "pid.py" }, "player": { @@ -187,6 +205,7 @@ "lcd" ], "__file__": true, + "__size__": 4103, "__name__": "player.py" }, "reset": { @@ -199,6 +218,7 @@ "gc" ], "__file__": true, + "__size__": 968, "__name__": "reset.py" }, "servo": { @@ -208,6 +228,7 @@ "time" ], "__file__": true, + "__size__": 3159, "__name__": "servo.py" }, "sht20": { @@ -216,6 +237,7 @@ "time" ], "__file__": true, + "__size__": 1096, "__name__": "sht20.py" } } \ No newline at end of file diff --git a/boards/default/micropython_nrf51822_microbit/build/lib/map.json b/boards/default/micropython_nrf51822_microbit/build/lib/map.json index 92d29c90..be07c2b0 100644 --- a/boards/default/micropython_nrf51822_microbit/build/lib/map.json +++ b/boards/default/micropython_nrf51822_microbit/build/lib/map.json @@ -4,6 +4,7 @@ "microbit" ], "__file__": true, + "__size__": 1988, "__name__": "lcd1602.py" }, "mixpy": { @@ -11,6 +12,7 @@ "math" ], "__file__": true, + "__size__": 1949, "__name__": "mixpy.py" }, "motor_control": { @@ -18,6 +20,7 @@ "microbit" ], "__file__": true, + "__size__": 2230, "__name__": "motor_control.py" }, "MP3": { @@ -25,6 +28,7 @@ "microbit" ], "__file__": true, + "__size__": 1984, "__name__": "MP3.py" }, "ntc": { @@ -33,6 +37,7 @@ "math" ], "__file__": true, + "__size__": 567, "__name__": "ntc.py" }, "oled": { @@ -40,6 +45,7 @@ "microbit" ], "__file__": true, + "__size__": 3778, "__name__": "oled.py" }, "rgb": { @@ -47,6 +53,7 @@ "microbit" ], "__file__": true, + "__size__": 109, "__name__": "rgb.py" }, "RTC": { @@ -54,6 +61,7 @@ "microbit" ], "__file__": true, + "__size__": 4141, "__name__": "RTC.py" }, "Servo": { @@ -61,6 +69,7 @@ "microbit" ], "__file__": true, + "__size__": 168, "__name__": "Servo.py" }, "TCS": { @@ -68,6 +77,7 @@ "microbit" ], "__file__": true, + "__size__": 7877, "__name__": "TCS.py" }, "ultrasonic": { @@ -75,6 +85,7 @@ "microbit" ], "__file__": true, + "__size__": 1055, "__name__": "ultrasonic.py" } } \ No newline at end of file diff --git a/boards/default/micropython_nrf51822_mithoncc/build/lib/map.json b/boards/default/micropython_nrf51822_mithoncc/build/lib/map.json index ab9bc0b4..c3054b77 100644 --- a/boards/default/micropython_nrf51822_mithoncc/build/lib/map.json +++ b/boards/default/micropython_nrf51822_mithoncc/build/lib/map.json @@ -4,6 +4,7 @@ "math" ], "__file__": true, + "__size__": 1949, "__name__": "mixpy.py" }, "motor_control": { @@ -11,6 +12,7 @@ "microbit" ], "__file__": true, + "__size__": 993, "__name__": "motor_control.py" }, "rgb_show": { @@ -19,6 +21,7 @@ "neopixel" ], "__file__": true, + "__size__": 264, "__name__": "rgb_show.py" } } \ No newline at end of file diff --git a/boards/default/micropython_robot/build/lib/map.json b/boards/default/micropython_robot/build/lib/map.json index 1ea531cf..bbf7f6e0 100644 --- a/boards/default/micropython_robot/build/lib/map.json +++ b/boards/default/micropython_robot/build/lib/map.json @@ -5,6 +5,7 @@ "micropython" ], "__file__": true, + "__size__": 10425, "__name__": "bot51.py" }, "feiyi": { @@ -21,6 +22,7 @@ "mmc5603" ], "__file__": true, + "__size__": 3586, "__name__": "feiyi.py" }, "mixbot": { @@ -36,6 +38,7 @@ "icm42670" ], "__file__": true, + "__size__": 10967, "__name__": "mixbot.py" }, "mixbot_ext": { @@ -44,6 +47,7 @@ "mixbot" ], "__file__": true, + "__size__": 993, "__name__": "mixbot_ext.py" }, "rm_e1": { @@ -54,6 +58,7 @@ "ws2812" ], "__file__": true, + "__size__": 4138, "__name__": "rm_e1.py" } } \ No newline at end of file diff --git a/boards/default_src/arduino/package.json b/boards/default_src/arduino/package.json index 9e4d5d6d..50cfecf3 100644 --- a/boards/default_src/arduino/package.json +++ b/boards/default_src/arduino/package.json @@ -4,7 +4,7 @@ "description": "适用于mixly的arduino模块", "scripts": { "build:dev": "webpack --config=webpack.dev.js", - "build:prod": "npm run build:examples && webpack --config=webpack.prod.js", + "build:prod": "npm run build:examples & webpack --config=webpack.prod.js", "build:examples": "node ../../../scripts/build-examples.js -t special", "build:examples:ob": "node ../../../scripts/build-examples.js -t special --obfuscate", "publish:board": "npm publish --registry https://registry.npmjs.org/" diff --git a/boards/default_src/micropython/origin/build/lib/map.json b/boards/default_src/micropython/origin/build/lib/map.json index 5a038f77..6b3aa50c 100644 --- a/boards/default_src/micropython/origin/build/lib/map.json +++ b/boards/default_src/micropython/origin/build/lib/map.json @@ -6,6 +6,7 @@ "micropython" ], "__file__": true, + "__size__": 1644, "__name__": "adxl345.py" }, "ahtx0": { @@ -14,6 +15,7 @@ "micropython" ], "__file__": true, + "__size__": 3204, "__name__": "ahtx0.py" }, "ap3216c": { @@ -22,6 +24,7 @@ "micropython" ], "__file__": true, + "__size__": 1786, "__name__": "ap3216c.py" }, "apds9960": { @@ -30,6 +33,7 @@ "micropython" ], "__file__": true, + "__size__": 12718, "__name__": "apds9960.py" }, "baidu_speech": { @@ -42,6 +46,7 @@ "machine" ], "__file__": true, + "__size__": 3703, "__name__": "baidu_speech.py" }, "ble_advertising": { @@ -51,6 +56,7 @@ "bluetooth" ], "__file__": true, + "__size__": 2492, "__name__": "ble_advertising.py" }, "ble_central": { @@ -63,6 +69,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 7312, "__name__": "ble_central.py" }, "ble_handle": { @@ -70,6 +77,7 @@ "ble_peripheral" ], "__file__": true, + "__size__": 1034, "__name__": "ble_handle.py" }, "ble_hid_keyboard": { @@ -84,6 +92,7 @@ "ble_hid_key" ], "__file__": true, + "__size__": 9698, "__name__": "ble_hid_keyboard.py" }, "ble_hid_mouse": { @@ -98,6 +107,7 @@ "ble_hid_key" ], "__file__": true, + "__size__": 8209, "__name__": "ble_hid_mouse.py" }, "ble_peripheral": { @@ -108,6 +118,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 2919, "__name__": "ble_peripheral.py" }, "ble_uart_peripheral": { @@ -117,6 +128,7 @@ "micropython" ], "__file__": true, + "__size__": 2846, "__name__": "ble_uart_peripheral.py" }, "ble_uart_repl": { @@ -128,6 +140,7 @@ "ble_uart_peripheral" ], "__file__": true, + "__size__": 1824, "__name__": "ble_uart_repl.py" }, "blynklib": { @@ -139,6 +152,7 @@ "micropython" ], "__file__": true, + "__size__": 14064, "__name__": "blynklib.py" }, "blynktimer": { @@ -149,6 +163,7 @@ "uselect" ], "__file__": true, + "__size__": 4600, "__name__": "blynktimer.py" }, "bmp280": { @@ -157,6 +172,7 @@ "utime" ], "__file__": true, + "__size__": 6037, "__name__": "bmp280.py" }, "cbr817": { @@ -166,6 +182,7 @@ "micropython" ], "__file__": true, + "__size__": 3913, "__name__": "cbr817.py" }, "cc_g1": { @@ -174,6 +191,7 @@ "machine" ], "__file__": true, + "__size__": 2474, "__name__": "cc_g1.py" }, "ch914x_at": { @@ -182,6 +200,7 @@ "time" ], "__file__": true, + "__size__": 4131, "__name__": "ch914x_at.py" }, "ci130x": { @@ -191,6 +210,7 @@ "micropython" ], "__file__": true, + "__size__": 2484, "__name__": "ci130x.py" }, "debugnet": { @@ -206,6 +226,7 @@ "ujson" ], "__file__": true, + "__size__": 5719, "__name__": "debugnet.py" }, "dhtx": { @@ -216,6 +237,7 @@ "machine" ], "__file__": true, + "__size__": 1627, "__name__": "dhtx.py" }, "ds18b20": { @@ -225,16 +247,19 @@ "micropython" ], "__file__": true, + "__size__": 2129, "__name__": "ds18b20.py" }, "expression_picture": { "__require__": [], "__file__": true, + "__size__": 31406, "__name__": "expression_picture.py" }, "eye_picture": { "__require__": [], "__file__": true, + "__size__": 82105, "__name__": "eye_picture.py" }, "gnss": { @@ -243,6 +268,7 @@ "ubinascii" ], "__file__": true, + "__size__": 3335, "__name__": "gnss.py" }, "hp203x": { @@ -251,6 +277,7 @@ "micropython" ], "__file__": true, + "__size__": 2574, "__name__": "hp203x.py" }, "ht16k33": { @@ -259,6 +286,7 @@ "micropython" ], "__file__": true, + "__size__": 1834, "__name__": "ht16k33.py" }, "huskylens": { @@ -267,6 +295,7 @@ "ubinascii" ], "__file__": true, + "__size__": 9047, "__name__": "huskylens.py" }, "i2cdevice": { @@ -275,6 +304,7 @@ "machine" ], "__file__": true, + "__size__": 9852, "__name__": "i2cdevice.py" }, "i2clcd": { @@ -283,6 +313,7 @@ "micropython" ], "__file__": true, + "__size__": 2839, "__name__": "i2clcd.py" }, "icm42670": { @@ -292,11 +323,13 @@ "math" ], "__file__": true, + "__size__": 3049, "__name__": "icm42670.py" }, "informatio_picture": { "__require__": [], "__file__": true, + "__size__": 39510, "__name__": "informatio_picture.py" }, "irremote": { @@ -308,6 +341,7 @@ "machine" ], "__file__": true, + "__size__": 6243, "__name__": "irremote.py" }, "ltr308al": { @@ -316,6 +350,7 @@ "micropython" ], "__file__": true, + "__size__": 2049, "__name__": "ltr308al.py" }, "ltr381rgb": { @@ -324,6 +359,7 @@ "micropython" ], "__file__": true, + "__size__": 2344, "__name__": "ltr381rgb.py" }, "ltr390uv": { @@ -332,6 +368,7 @@ "micropython" ], "__file__": true, + "__size__": 2258, "__name__": "ltr390uv.py" }, "ltr553als": { @@ -340,11 +377,13 @@ "micropython" ], "__file__": true, + "__size__": 3221, "__name__": "ltr553als.py" }, "matcher": { "__require__": [], "__file__": true, + "__size__": 3336, "__name__": "matcher.py" }, "matrix16x8": { @@ -352,6 +391,7 @@ "ht16k33" ], "__file__": true, + "__size__": 4053, "__name__": "matrix16x8.py" }, "matrix32x12": { @@ -359,6 +399,7 @@ "tm1680" ], "__file__": true, + "__size__": 9947, "__name__": "matrix32x12.py" }, "matrix8x5": { @@ -366,6 +407,7 @@ "tm1652" ], "__file__": true, + "__size__": 1966, "__name__": "matrix8x5.py" }, "max30102": { @@ -374,6 +416,7 @@ "micropython" ], "__file__": true, + "__size__": 11529, "__name__": "max30102.py" }, "mixgo_ai": { @@ -382,6 +425,7 @@ "gc" ], "__file__": true, + "__size__": 5832, "__name__": "mixgo_ai.py" }, "mixiot": { @@ -397,6 +441,7 @@ "ussl" ], "__file__": true, + "__size__": 11930, "__name__": "mixiot.py" }, "mixpy": { @@ -406,6 +451,7 @@ "json" ], "__file__": true, + "__size__": 2892, "__name__": "mixpy.py" }, "mmc5603": { @@ -416,6 +462,7 @@ "magnetic_cal" ], "__file__": true, + "__size__": 5888, "__name__": "mmc5603.py" }, "mpu9250": { @@ -432,6 +479,7 @@ "compass_cfg" ], "__file__": true, + "__size__": 15746, "__name__": "mpu9250.py" }, "ms32006": { @@ -440,6 +488,7 @@ "micropython" ], "__file__": true, + "__size__": 3671, "__name__": "ms32006.py" }, "msa301": { @@ -448,6 +497,7 @@ "micropython" ], "__file__": true, + "__size__": 1994, "__name__": "msa301.py" }, "music": { @@ -456,6 +506,7 @@ "machine" ], "__file__": true, + "__size__": 6726, "__name__": "music.py" }, "mxc6655xa": { @@ -466,6 +517,7 @@ "math" ], "__file__": true, + "__size__": 2818, "__name__": "mxc6655xa.py" }, "ns9300": { @@ -474,6 +526,7 @@ "micropython" ], "__file__": true, + "__size__": 3593, "__name__": "ns9300.py" }, "ntptime": { @@ -485,11 +538,13 @@ "ustruct" ], "__file__": true, + "__size__": 1423, "__name__": "ntptime.py" }, "object_picture": { "__require__": [], "__file__": true, + "__size__": 35094, "__name__": "object_picture.py" }, "oled128x64": { @@ -497,6 +552,7 @@ "ssd1106" ], "__file__": true, + "__size__": 481, "__name__": "oled128x64.py" }, "onenet": { @@ -505,6 +561,7 @@ "umqtt" ], "__file__": true, + "__size__": 1102, "__name__": "onenet.py" }, "pe_g1": { @@ -513,6 +570,7 @@ "micropython" ], "__file__": true, + "__size__": 3574, "__name__": "pe_g1.py" }, "pm2_5": { @@ -520,11 +578,13 @@ "time" ], "__file__": true, + "__size__": 1076, "__name__": "pm2_5.py" }, "progres_picture": { "__require__": [], "__file__": true, + "__size__": 77320, "__name__": "progres_picture.py" }, "ps2": { @@ -534,6 +594,7 @@ "micropython" ], "__file__": true, + "__size__": 3369, "__name__": "ps2.py" }, "qmc5883l": { @@ -543,6 +604,7 @@ "micropython" ], "__file__": true, + "__size__": 7226, "__name__": "qmc5883l.py" }, "qmi8658": { @@ -551,6 +613,7 @@ "micropython" ], "__file__": true, + "__size__": 4410, "__name__": "qmi8658.py" }, "radio": { @@ -561,6 +624,7 @@ "espnow" ], "__file__": true, + "__size__": 4526, "__name__": "radio.py" }, "rc522": { @@ -569,6 +633,7 @@ "micropython" ], "__file__": true, + "__size__": 7526, "__name__": "rc522.py" }, "rfm98": { @@ -579,6 +644,7 @@ "micropython" ], "__file__": true, + "__size__": 8617, "__name__": "rfm98.py" }, "rtctime": { @@ -590,6 +656,7 @@ "ustruct" ], "__file__": true, + "__size__": 1559, "__name__": "rtctime.py" }, "sc7a20": { @@ -600,6 +667,7 @@ "math" ], "__file__": true, + "__size__": 2454, "__name__": "sc7a20.py" }, "sdcard": { @@ -609,6 +677,7 @@ "micropython" ], "__file__": true, + "__size__": 8738, "__name__": "sdcard.py" }, "seniverse_api": { @@ -617,6 +686,7 @@ "urequests" ], "__file__": true, + "__size__": 7264, "__name__": "seniverse_api.py" }, "servo": { @@ -624,6 +694,7 @@ "machine" ], "__file__": true, + "__size__": 1338, "__name__": "servo.py" }, "sht20": { @@ -632,6 +703,7 @@ "time" ], "__file__": true, + "__size__": 1155, "__name__": "sht20.py" }, "shtc3": { @@ -641,6 +713,7 @@ "struct" ], "__file__": true, + "__size__": 3837, "__name__": "shtc3.py" }, "sonar": { @@ -649,6 +722,7 @@ "machine" ], "__file__": true, + "__size__": 1103, "__name__": "sonar.py" }, "spl06_001": { @@ -657,6 +731,7 @@ "micropython" ], "__file__": true, + "__size__": 4309, "__name__": "spl06_001.py" }, "ssd1106": { @@ -665,6 +740,7 @@ "micropython" ], "__file__": true, + "__size__": 4247, "__name__": "ssd1106.py" }, "st7735": { @@ -675,6 +751,7 @@ "micropython" ], "__file__": true, + "__size__": 3670, "__name__": "st7735.py" }, "st7789": { @@ -686,6 +763,7 @@ "ustruct" ], "__file__": true, + "__size__": 10458, "__name__": "st7789.py" }, "syn6288": { @@ -694,6 +772,7 @@ "micropython" ], "__file__": true, + "__size__": 2622, "__name__": "syn6288.py" }, "tm1650": { @@ -702,6 +781,7 @@ "micropython" ], "__file__": true, + "__size__": 2008, "__name__": "tm1650.py" }, "tm1652": { @@ -712,6 +792,7 @@ "micropython" ], "__file__": true, + "__size__": 2222, "__name__": "tm1652.py" }, "tm1680": { @@ -720,6 +801,7 @@ "micropython" ], "__file__": true, + "__size__": 2226, "__name__": "tm1680.py" }, "tm1931": { @@ -730,11 +812,13 @@ "micropython" ], "__file__": true, + "__size__": 1916, "__name__": "tm1931.py" }, "uart_com": { "__require__": [], "__file__": true, + "__size__": 588, "__name__": "uart_com.py" }, "ucs12071": { @@ -743,6 +827,7 @@ "micropython" ], "__file__": true, + "__size__": 2378, "__name__": "ucs12071.py" }, "uframebuf": { @@ -753,6 +838,7 @@ "framebuf" ], "__file__": true, + "__size__": 20598, "__name__": "uframebuf.py" }, "umqtt": { @@ -762,6 +848,7 @@ "ussl" ], "__file__": true, + "__size__": 6687, "__name__": "umqtt.py" }, "urequests": { @@ -772,6 +859,7 @@ "ujson" ], "__file__": true, + "__size__": 4346, "__name__": "urequests.py" }, "vl53l0x": { @@ -781,6 +869,7 @@ "utime" ], "__file__": true, + "__size__": 9639, "__name__": "vl53l0x.py" }, "ws2812": { @@ -789,6 +878,7 @@ "machine" ], "__file__": true, + "__size__": 2374, "__name__": "ws2812.py" }, "ws_lora": { @@ -800,6 +890,7 @@ "hp203x" ], "__file__": true, + "__size__": 4484, "__name__": "ws_lora.py" }, "ws_solo": { @@ -809,6 +900,7 @@ "machine" ], "__file__": true, + "__size__": 3247, "__name__": "ws_solo.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_esp32/origin/build/lib/map.json b/boards/default_src/micropython_esp32/origin/build/lib/map.json index ba6cb605..e8224966 100644 --- a/boards/default_src/micropython_esp32/origin/build/lib/map.json +++ b/boards/default_src/micropython_esp32/origin/build/lib/map.json @@ -10,6 +10,7 @@ "matrix16x8" ], "__file__": true, + "__size__": 4507, "__name__": "mixgo.py" }, "mixgo_pe": { @@ -21,6 +22,7 @@ "machine" ], "__file__": true, + "__size__": 1328, "__name__": "mixgo_pe.py" }, "mpython": { @@ -35,6 +37,7 @@ "qmi8658" ], "__file__": true, + "__size__": 3562, "__name__": "mpython.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_esp32c2/origin/build/lib/map.json b/boards/default_src/micropython_esp32c2/origin/build/lib/map.json index fff3376b..b4187249 100644 --- a/boards/default_src/micropython_esp32c2/origin/build/lib/map.json +++ b/boards/default_src/micropython_esp32c2/origin/build/lib/map.json @@ -9,6 +9,7 @@ "ble_advertising" ], "__file__": true, + "__size__": 7299, "__name__": "ble_central.py" }, "mini_bot": { @@ -20,6 +21,7 @@ "framebuf" ], "__file__": true, + "__size__": 12529, "__name__": "mini_bot.py" }, "mini_g2": { @@ -29,6 +31,7 @@ "rc522" ], "__file__": true, + "__size__": 544, "__name__": "mini_g2.py" }, "mini_go": { @@ -40,6 +43,7 @@ "machine" ], "__file__": true, + "__size__": 8481, "__name__": "mini_go.py" }, "mixgo_mini": { @@ -55,6 +59,7 @@ "mini_bot" ], "__file__": true, + "__size__": 4611, "__name__": "mixgo_mini.py" }, "musicx": { @@ -62,6 +67,7 @@ "time" ], "__file__": true, + "__size__": 3545, "__name__": "musicx.py" }, "ws2812x": { @@ -70,6 +76,7 @@ "machine" ], "__file__": true, + "__size__": 1881, "__name__": "ws2812x.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_esp32c3/origin/build/lib/map.json b/boards/default_src/micropython_esp32c3/origin/build/lib/map.json index d49b6ed2..92e79887 100644 --- a/boards/default_src/micropython_esp32c3/origin/build/lib/map.json +++ b/boards/default_src/micropython_esp32c3/origin/build/lib/map.json @@ -9,6 +9,7 @@ "rc522" ], "__file__": true, + "__size__": 1327, "__name__": "me_g1.py" }, "me_go": { @@ -20,6 +21,7 @@ "machine" ], "__file__": true, + "__size__": 8787, "__name__": "me_go.py" }, "mixgocar_c3": { @@ -32,6 +34,7 @@ "music" ], "__file__": true, + "__size__": 9865, "__name__": "mixgocar_c3.py" }, "mixgo_cc": { @@ -52,6 +55,7 @@ "shtc3" ], "__file__": true, + "__size__": 7436, "__name__": "mixgo_cc.py" }, "mixgo_me": { @@ -67,6 +71,7 @@ "mmc5603" ], "__file__": true, + "__size__": 5363, "__name__": "mixgo_me.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_esp32s2/origin/build/lib/map.json b/boards/default_src/micropython_esp32s2/origin/build/lib/map.json index 0fdccf19..cbcf4a58 100644 --- a/boards/default_src/micropython_esp32s2/origin/build/lib/map.json +++ b/boards/default_src/micropython_esp32s2/origin/build/lib/map.json @@ -8,6 +8,7 @@ "machine" ], "__file__": true, + "__size__": 8886, "__name__": "ce_go.py" }, "mixgo_ce": { @@ -23,6 +24,7 @@ "machine" ], "__file__": true, + "__size__": 6730, "__name__": "mixgo_ce.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_esp32s3/origin/build/lib/map.json b/boards/default_src/micropython_esp32s3/origin/build/lib/map.json index 3455ab17..e842c354 100644 --- a/boards/default_src/micropython_esp32s3/origin/build/lib/map.json +++ b/boards/default_src/micropython_esp32s3/origin/build/lib/map.json @@ -5,6 +5,7 @@ "micropython" ], "__file__": true, + "__size__": 7908, "__name__": "es8374.py" }, "mixgo_nova": { @@ -27,6 +28,7 @@ "machine" ], "__file__": true, + "__size__": 9577, "__name__": "mixgo_nova.py" }, "mixgo_nova_voice": { @@ -40,6 +42,7 @@ "urequests" ], "__file__": true, + "__size__": 3175, "__name__": "mixgo_nova_voice.py" }, "mixgo_zero": { @@ -61,6 +64,7 @@ "machine" ], "__file__": true, + "__size__": 8017, "__name__": "mixgo_zero.py" }, "mixgo_zero_voice": { @@ -74,6 +78,7 @@ "urequests" ], "__file__": true, + "__size__": 3173, "__name__": "mixgo_zero_voice.py" }, "music_spk": { @@ -84,6 +89,7 @@ "struct" ], "__file__": true, + "__size__": 6541, "__name__": "music_spk.py" }, "nova_g1": { @@ -92,6 +98,7 @@ "mixgo_nova" ], "__file__": true, + "__size__": 3269, "__name__": "nova_g1.py" }, "sdcard": { @@ -101,6 +108,7 @@ "micropython" ], "__file__": true, + "__size__": 8557, "__name__": "sdcard.py" }, "st7789_bf": { @@ -111,6 +119,7 @@ "micropython" ], "__file__": true, + "__size__": 3191, "__name__": "st7789_bf.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json b/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json index 949a7207..3236b20c 100644 --- a/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json +++ b/boards/default_src/micropython_k210_mixgoai/origin/build/lib/map.json @@ -6,6 +6,7 @@ "ustruct" ], "__file__": true, + "__size__": 2467, "__name__": "adxl345.py" }, "aionenet": { @@ -20,6 +21,7 @@ "machine" ], "__file__": true, + "__size__": 4362, "__name__": "aionenet.py" }, "ai_face": { @@ -31,6 +33,7 @@ "board" ], "__file__": true, + "__size__": 3905, "__name__": "ai_face.py" }, "base64": { @@ -44,6 +47,7 @@ "getopt" ], "__file__": true, + "__size__": 8087, "__name__": "base64.py" }, "bmp280": { @@ -53,11 +57,13 @@ "machine" ], "__file__": true, + "__size__": 6271, "__name__": "bmp280.py" }, "ce_com": { "__require__": [], "__file__": true, + "__size__": 628, "__name__": "ce_com.py" }, "dht11": { @@ -66,6 +72,7 @@ "board" ], "__file__": true, + "__size__": 1851, "__name__": "dht11.py" }, "hcr04": { @@ -74,6 +81,7 @@ "board" ], "__file__": true, + "__size__": 790, "__name__": "hcr04.py" }, "irremote": { @@ -82,11 +90,13 @@ "board" ], "__file__": true, + "__size__": 999, "__name__": "irremote.py" }, "matcher": { "__require__": [], "__file__": true, + "__size__": 3336, "__name__": "matcher.py" }, "miot_no": { @@ -101,6 +111,7 @@ "ussl" ], "__file__": true, + "__size__": 8532, "__name__": "miot_no.py" }, "mixiot": { @@ -116,6 +127,7 @@ "ussl" ], "__file__": true, + "__size__": 11091, "__name__": "mixiot.py" }, "mixly_tool": { @@ -125,6 +137,7 @@ "sys" ], "__file__": true, + "__size__": 688, "__name__": "mixly_tool.py" }, "mixpy": { @@ -132,6 +145,7 @@ "math" ], "__file__": true, + "__size__": 2689, "__name__": "mixpy.py" }, "mpu9250": { @@ -146,6 +160,7 @@ "compass_cfg" ], "__file__": true, + "__size__": 17641, "__name__": "mpu9250.py" }, "ms32006": { @@ -154,6 +169,7 @@ "micropython" ], "__file__": true, + "__size__": 4382, "__name__": "ms32006.py" }, "net_espat": { @@ -165,6 +181,7 @@ "time" ], "__file__": true, + "__size__": 1364, "__name__": "net_espat.py" }, "pid": { @@ -173,6 +190,7 @@ "math" ], "__file__": true, + "__size__": 1789, "__name__": "pid.py" }, "player": { @@ -187,6 +205,7 @@ "lcd" ], "__file__": true, + "__size__": 4103, "__name__": "player.py" }, "reset": { @@ -199,6 +218,7 @@ "gc" ], "__file__": true, + "__size__": 968, "__name__": "reset.py" }, "servo": { @@ -208,6 +228,7 @@ "time" ], "__file__": true, + "__size__": 3159, "__name__": "servo.py" }, "sht20": { @@ -216,6 +237,7 @@ "time" ], "__file__": true, + "__size__": 1096, "__name__": "sht20.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json b/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json index 92d29c90..be07c2b0 100644 --- a/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json +++ b/boards/default_src/micropython_nrf51822_microbit/origin/build/lib/map.json @@ -4,6 +4,7 @@ "microbit" ], "__file__": true, + "__size__": 1988, "__name__": "lcd1602.py" }, "mixpy": { @@ -11,6 +12,7 @@ "math" ], "__file__": true, + "__size__": 1949, "__name__": "mixpy.py" }, "motor_control": { @@ -18,6 +20,7 @@ "microbit" ], "__file__": true, + "__size__": 2230, "__name__": "motor_control.py" }, "MP3": { @@ -25,6 +28,7 @@ "microbit" ], "__file__": true, + "__size__": 1984, "__name__": "MP3.py" }, "ntc": { @@ -33,6 +37,7 @@ "math" ], "__file__": true, + "__size__": 567, "__name__": "ntc.py" }, "oled": { @@ -40,6 +45,7 @@ "microbit" ], "__file__": true, + "__size__": 3778, "__name__": "oled.py" }, "rgb": { @@ -47,6 +53,7 @@ "microbit" ], "__file__": true, + "__size__": 109, "__name__": "rgb.py" }, "RTC": { @@ -54,6 +61,7 @@ "microbit" ], "__file__": true, + "__size__": 4141, "__name__": "RTC.py" }, "Servo": { @@ -61,6 +69,7 @@ "microbit" ], "__file__": true, + "__size__": 168, "__name__": "Servo.py" }, "TCS": { @@ -68,6 +77,7 @@ "microbit" ], "__file__": true, + "__size__": 7877, "__name__": "TCS.py" }, "ultrasonic": { @@ -75,6 +85,7 @@ "microbit" ], "__file__": true, + "__size__": 1055, "__name__": "ultrasonic.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json b/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json index ab9bc0b4..c3054b77 100644 --- a/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json +++ b/boards/default_src/micropython_nrf51822_mithoncc/origin/build/lib/map.json @@ -4,6 +4,7 @@ "math" ], "__file__": true, + "__size__": 1949, "__name__": "mixpy.py" }, "motor_control": { @@ -11,6 +12,7 @@ "microbit" ], "__file__": true, + "__size__": 993, "__name__": "motor_control.py" }, "rgb_show": { @@ -19,6 +21,7 @@ "neopixel" ], "__file__": true, + "__size__": 264, "__name__": "rgb_show.py" } } \ No newline at end of file diff --git a/boards/default_src/micropython_robot/origin/build/lib/map.json b/boards/default_src/micropython_robot/origin/build/lib/map.json index 1ea531cf..bbf7f6e0 100644 --- a/boards/default_src/micropython_robot/origin/build/lib/map.json +++ b/boards/default_src/micropython_robot/origin/build/lib/map.json @@ -5,6 +5,7 @@ "micropython" ], "__file__": true, + "__size__": 10425, "__name__": "bot51.py" }, "feiyi": { @@ -21,6 +22,7 @@ "mmc5603" ], "__file__": true, + "__size__": 3586, "__name__": "feiyi.py" }, "mixbot": { @@ -36,6 +38,7 @@ "icm42670" ], "__file__": true, + "__size__": 10967, "__name__": "mixbot.py" }, "mixbot_ext": { @@ -44,6 +47,7 @@ "mixbot" ], "__file__": true, + "__size__": 993, "__name__": "mixbot_ext.py" }, "rm_e1": { @@ -54,6 +58,7 @@ "ws2812" ], "__file__": true, + "__size__": 4138, "__name__": "rm_e1.py" } } \ No newline at end of file diff --git a/common/modules/mixly-modules/deps.json b/common/modules/mixly-modules/deps.json index 75cd666d..b09d337b 100644 --- a/common/modules/mixly-modules/deps.json +++ b/common/modules/mixly-modules/deps.json @@ -1565,6 +1565,7 @@ "Mixly.Workspace", "Mixly.Debug", "Mixly.HTMLTemplate", + "Mixly.MString", "Mixly.Web.Serial", "Mixly.Web.USB", "Mixly.Web.Ampy" diff --git a/package.json b/package.json index ff6a6491..68e5f14e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "start": "npm run test", "static": "node ./static-server/server.js", - "test": "npm run deps && npm run static", + "test": "npm run deps & npm run static", "deps": "node scripts/deps-gen.js", "build:boards:all": "node scripts/build-boards.js --type all", "build:boards:arduino": "node scripts/build-boards.js --type arduino", diff --git a/scripts/build-libraries.py b/scripts/build-libraries.py index 0d933172..25bb9404 100644 --- a/scripts/build-libraries.py +++ b/scripts/build-libraries.py @@ -41,8 +41,11 @@ if __name__ == "__main__": if path.isfile(file_path) and extname == ".py": output[name]["__require__"] = extract_imports(file_path) output[name]["__file__"] = True + output[name]["__size__"] = os.path.getsize(file_path) else: + output[name]["__require__"] = [] output[name]["__file__"] = False + output[name]["__size__"] = 0 output[name]["__name__"] = i fw = open(path.join(target_path, "map.json"), "w", encoding="utf-8") json.dump(output, fw, indent=4, ensure_ascii=False)