Skip to content

Commit 73858ea

Browse files
committed
circuitpy_mpconfig: enable 3-arg pow() with CIRCUITPY_FULL_BUILD
This is needed for a port of python3's decimal.py module.
1 parent 20c2dd0 commit 73858ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ typedef long mp_off_t;
185185
// Turning off FULL_BUILD removes some functionality to reduce flash size on tiny SAMD21s
186186
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)
187187
#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
188+
#define MICROPY_PY_BUILTINS_POW3 (CIRCUITPY_FULL_BUILD)
188189
#define MICROPY_COMP_FSTRING_LITERAL (MICROPY_CPYTHON_COMPAT)
189190
#define MICROPY_MODULE_WEAK_LINKS (CIRCUITPY_FULL_BUILD)
190191
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)

0 commit comments

Comments
 (0)