Skip to content

Commit ebdf339

Browse files
committed
turn off ulab.numpy.random, which is large
1 parent d777cd7 commit ebdf339

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

py/circuitpy_mpconfig.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ extern const struct _mp_obj_module_t nvm_module;
360360
#define ULAB_SUPPORTS_COMPLEX (0)
361361
#endif
362362

363+
// The random module is fairly large.
364+
#ifndef ULAB_NUMPY_HAS_RANDOM_MODULE
365+
#define ULAB_NUMPY_HAS_RANDOM_MODULE (0)
366+
#endif
367+
363368
#if CIRCUITPY_ULAB
364369
// ulab requires reverse special methods
365370
#if defined(MICROPY_PY_REVERSE_SPECIAL_METHODS) && !MICROPY_PY_REVERSE_SPECIAL_METHODS

0 commit comments

Comments
 (0)