Jelajahi Sumber

add more mp lib

SummerGift 8 tahun lalu
induk
melakukan
a0db733d54
2 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 3 3
      Quick Start Guide.md
  2. 3 3
      port/mpconfigport.h

+ 3 - 3
Quick Start Guide.md

@@ -137,16 +137,16 @@ GC:
 | ubinascii                        | binary/ASCII conversions                 | yes      |
 | ucollections                     | collection and container types           | yes      |
 | uerrno                           | system error codes                       | no       |
-| uhashlib                         | hashing algorithms                       | no       |
+| uhashlib                         | hashing algorithms                       | yes      |
 | uheapq                           | heap queue algorithm                     | yes      |
 | uio                              | input/output streams                     | yes      |
 | ujson                            | JSON encoding and decoding               | yes      |
 | uos                              | basic “operating system” services        | no       |
-| ure                              | simple regular expressions               | no       |
+| ure                              | simple regular expressions               | yes      |
 | uselect                          | wait for events on a set of streams      | no       |
 | usocket                          | socket module                            | no       |
 | ustruct                          | pack and unpack primitive data types     | no       |
-| uzlib                            | zlib decompression                       | no       |
+| uzlib                            | zlib decompression                       | yes      |
 | _thread                          | multithreading support                   | no       |
 
 | micropython-specific libraries | 简介                                       | 当前版本是否支持 |

+ 3 - 3
port/mpconfigport.h

@@ -121,11 +121,11 @@
 
 // extended modules
 #define MICROPY_PY_UCTYPES          (1)
-#define MICROPY_PY_UZLIB            (0)
+#define MICROPY_PY_UZLIB            (1)
 #define MICROPY_PY_UJSON            (1)
-#define MICROPY_PY_URE              (0)
+#define MICROPY_PY_URE              (1)
 #define MICROPY_PY_UHEAPQ           (1)
-#define MICROPY_PY_UHASHLIB         (0)
+#define MICROPY_PY_UHASHLIB         (1)
 #define MICROPY_PY_UBINASCII        (1)
 #define MICROPY_PY_UTIME            (1)
 #define MICROPY_PY_UTIME_MP_HAL     (1)