Skip to content

Commit a1fbb19

Browse files
committed
extmod/modtimeq: Remove timeq module.
This is a MicroPython-specific module that existed to support the old version of uasyncio. It's undocumented and not enabled on all ports and takes up code size unnecessarily. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 8211d56 commit a1fbb19

File tree

27 files changed

+4
-439
lines changed

27 files changed

+4
-439
lines changed

extmod/extmod.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ set(MICROPY_SOURCE_EXTMOD
3434
${MICROPY_EXTMOD_DIR}/modssl_axtls.c
3535
${MICROPY_EXTMOD_DIR}/modssl_mbedtls.c
3636
${MICROPY_EXTMOD_DIR}/modtime.c
37-
${MICROPY_EXTMOD_DIR}/modtimeq.c
3837
${MICROPY_EXTMOD_DIR}/modwebsocket.c
3938
${MICROPY_EXTMOD_DIR}/modzlib.c
4039
${MICROPY_EXTMOD_DIR}/modwebrepl.c

extmod/extmod.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ SRC_EXTMOD_C += \
3131
extmod/modssl_axtls.c \
3232
extmod/modssl_mbedtls.c \
3333
extmod/modtime.c \
34-
extmod/modtimeq.c \
3534
extmod/moduasyncio.c \
3635
extmod/moductypes.c \
3736
extmod/modwebrepl.c \

extmod/modtimeq.c

Lines changed: 0 additions & 235 deletions
This file was deleted.

ports/esp32/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
#define MICROPY_BLUETOOTH_NIMBLE (1)
8484
#define MICROPY_BLUETOOTH_NIMBLE_BINDINGS_ONLY (1)
8585
#endif
86-
#define MICROPY_PY_TIMEQ (1)
8786
#define MICROPY_PY_HASHLIB_SHA1 (1)
8887
#define MICROPY_PY_HASHLIB_SHA256 (1)
8988
#define MICROPY_PY_CRYPTOLIB (1)

ports/renesas-ra/boards/EK_RA4M1/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MICROPY_PY_GENERATOR_PEND_THROW (0)
1212
#define MICROPY_PY_MATH (0)
1313
#define MICROPY_PY_HEAPQ (0)
14-
#define MICROPY_PY_TIMEQ (0)
1514
#define MICROPY_PY_THREAD (0)
1615

1716
// peripheral config

ports/renesas-ra/boards/EK_RA4W1/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MICROPY_PY_GENERATOR_PEND_THROW (1)
1212
#define MICROPY_PY_MATH (1)
1313
#define MICROPY_PY_HEAPQ (1)
14-
#define MICROPY_PY_TIMEQ (1)
1514
#define MICROPY_PY_THREAD (0) // disable ARM_THUMB_FP using vldr due to RA has single float only
1615

1716
// peripheral config

ports/renesas-ra/boards/EK_RA6M1/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MICROPY_PY_GENERATOR_PEND_THROW (1)
1212
#define MICROPY_PY_MATH (1)
1313
#define MICROPY_PY_HEAPQ (1)
14-
#define MICROPY_PY_TIMEQ (1)
1514
#define MICROPY_PY_THREAD (0) // disable ARM_THUMB_FP using vldr due to RA has single float only
1615

1716
// peripheral config

ports/renesas-ra/boards/EK_RA6M2/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MICROPY_PY_GENERATOR_PEND_THROW (1)
1212
#define MICROPY_PY_MATH (1)
1313
#define MICROPY_PY_HEAPQ (1)
14-
#define MICROPY_PY_TIMEQ (1)
1514
#define MICROPY_PY_THREAD (0) // disable ARM_THUMB_FP using vldr due to RA has single float only
1615

1716
// peripheral config

ports/renesas-ra/boards/RA4M1_CLICKER/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MICROPY_PY_GENERATOR_PEND_THROW (0)
1212
#define MICROPY_PY_MATH (0)
1313
#define MICROPY_PY_HEAPQ (0)
14-
#define MICROPY_PY_TIMEQ (0)
1514
#define MICROPY_PY_THREAD (0)
1615

1716
// peripheral config

ports/renesas-ra/mpconfigport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
#define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1)
103103
#define MICROPY_PY_TIME_TIME_TIME_NS (1)
104104
#define MICROPY_PY_TIME_INCLUDEFILE "ports/renesas-ra/modtime.c"
105-
#ifndef MICROPY_PY_TIMEQ
106-
#define MICROPY_PY_TIMEQ (1)
107-
#endif
108105
#ifndef MICROPY_PY_MACHINE
109106
#define MICROPY_PY_MACHINE (1)
110107
#ifndef MICROPY_PY_MACHINE_BITSTREAM

0 commit comments

Comments
 (0)