File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6161#define MICROPY_PY_BUILTINS_HELP_TEXT zephyr_help_text
6262#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
6363#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
64- #define MICROPY_PY_MATH_POW_FIX_NAN (1)
6564#define MICROPY_PY_MACHINE (1)
6665#define MICROPY_PY_MACHINE_INCLUDEFILE "ports/zephyr/modmachine.c"
6766#define MICROPY_PY_MACHINE_I2C (1)
@@ -173,3 +172,9 @@ typedef long mp_off_t;
173172 k_msleep(1); \
174173 } while (0);
175174#endif
175+
176+ // Compatibility switches
177+
178+ #ifdef CONFIG_NEWLIB_LIBC
179+ #define MICROPY_PY_MATH_POW_FIX_NAN (1)
180+ #endif
Original file line number Diff line number Diff line change 5050#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG)
5151#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
5252#define MICROPY_PY_BUILTINS_COMPLEX (0)
53- #define MICROPY_PY_MATH_POW_FIX_NAN (1)
5453
5554// These features are enabled to get the test suite passing.
5655#define MICROPY_FULL_CHECKS (1)
@@ -80,3 +79,9 @@ typedef long mp_off_t;
8079#define MP_STATE_PORT MP_STATE_VM
8180
8281#define MICROPY_EVENT_POLL_HOOK
82+
83+ // Compatibility switches
84+
85+ #ifdef CONFIG_NEWLIB_LIBC
86+ #define MICROPY_PY_MATH_POW_FIX_NAN (1)
87+ #endif
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ CONFIG_STDOUT_CONSOLE=y
66CONFIG_CONSOLE_HANDLER=y
77CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
88
9- CONFIG_NEWLIB_LIBC=y
109CONFIG_FPU=y
1110CONFIG_MAIN_STACK_SIZE=4736
1211CONFIG_POLL=y
Original file line number Diff line number Diff line change 1- CONFIG_NEWLIB_LIBC=y
21CONFIG_FPU=y
32CONFIG_MAIN_STACK_SIZE=4096
43CONFIG_POLL=y
You can’t perform that action at this time.
0 commit comments