diff options
| -rw-r--r-- | ports/esp32/mpconfigport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/esp32/mpconfigport.h b/ports/esp32/mpconfigport.h index b9e53a4fa..3349e56e4 100644 --- a/ports/esp32/mpconfigport.h +++ b/ports/esp32/mpconfigport.h @@ -282,6 +282,10 @@ typedef long mp_off_t; #define MICROPY_PY_MACHINE_BOOTLOADER (0) #endif +// Workaround for upstream bug https://github.com/espressif/esp-idf/issues/14273 +// Can be removed if a fix is available in supported ESP-IDF versions. +#define MICROPY_PY_MATH_GAMMA_FIX_NEGINF (1) + #ifndef MICROPY_BOARD_STARTUP #define MICROPY_BOARD_STARTUP boardctrl_startup #endif |
