Skip to content

Commit 8282834

Browse files
committed
ports: Enable ucollections.deque on relevant ports.
These ports are all capable of running uasyncio.
1 parent 6c3faf6 commit 8282834

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

ports/esp32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
9191
#define MICROPY_PY_ATTRTUPLE (1)
9292
#define MICROPY_PY_COLLECTIONS (1)
93+
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
9394
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
9495
#define MICROPY_PY_MATH (1)
9596
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)

ports/esp8266/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
#define MICROPY_PY_ARRAY (1)
5050
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
5151
#define MICROPY_PY_COLLECTIONS (1)
52+
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
5253
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
5354
#define MICROPY_PY_MATH (1)
5455
#define MICROPY_PY_CMATH (0)

ports/stm32/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
9898
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
9999
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
100+
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
100101
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
101102
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
102103
#define MICROPY_PY_CMATH (1)

ports/unix/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
#define MICROPY_PY_SYS_MAXSIZE (1)
9898
#define MICROPY_PY_SYS_STDFILES (1)
9999
#define MICROPY_PY_SYS_EXC_INFO (1)
100+
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
100101
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
101102
#ifndef MICROPY_PY_MATH_SPECIAL_FUNCTIONS
102103
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)

ports/windows/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
#define MICROPY_PY_SYS_MAXSIZE (1)
8484
#define MICROPY_PY_SYS_STDFILES (1)
8585
#define MICROPY_PY_SYS_EXC_INFO (1)
86+
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
8687
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
8788
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
8889
#define MICROPY_PY_CMATH (1)

0 commit comments

Comments
 (0)