Skip to content

Commit

Permalink
circuitpy_mpconfig: enable 3-arg pow() with CIRCUITPY_FULL_BUILD
Browse files Browse the repository at this point in the history
This is needed for a port of python3's decimal.py module.
  • Loading branch information
jepler committed Sep 6, 2020
1 parent 20c2dd0 commit 73858ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/circuitpy_mpconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ typedef long mp_off_t;
// Turning off FULL_BUILD removes some functionality to reduce flash size on tiny SAMD21s
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)
#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_POW3 (CIRCUITPY_FULL_BUILD)
#define MICROPY_COMP_FSTRING_LITERAL (MICROPY_CPYTHON_COMPAT)
#define MICROPY_MODULE_WEAK_LINKS (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)
Expand Down

0 comments on commit 73858ea

Please sign in to comment.