mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
zephyr: Remove defaulting to newlib.
Remove CONFIG_NEWLIB_LIBC=y, as it seems it is now unecessary. Signed-off-by: Vdragon <mail@massdriver.space>
This commit is contained in:
@@ -61,7 +61,6 @@
|
||||
#define MICROPY_PY_BUILTINS_HELP_TEXT zephyr_help_text
|
||||
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
|
||||
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
|
||||
#define MICROPY_PY_MATH_POW_FIX_NAN (1)
|
||||
#define MICROPY_PY_MACHINE (1)
|
||||
#define MICROPY_PY_MACHINE_INCLUDEFILE "ports/zephyr/modmachine.c"
|
||||
#define MICROPY_PY_MACHINE_I2C (1)
|
||||
@@ -173,3 +172,9 @@ typedef long mp_off_t;
|
||||
k_msleep(1); \
|
||||
} while (0);
|
||||
#endif
|
||||
|
||||
// Compatibility switches
|
||||
|
||||
#ifdef CONFIG_NEWLIB_LIBC
|
||||
#define MICROPY_PY_MATH_POW_FIX_NAN (1)
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG)
|
||||
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
|
||||
#define MICROPY_PY_BUILTINS_COMPLEX (0)
|
||||
#define MICROPY_PY_MATH_POW_FIX_NAN (1)
|
||||
|
||||
// These features are enabled to get the test suite passing.
|
||||
#define MICROPY_FULL_CHECKS (1)
|
||||
@@ -80,3 +79,9 @@ typedef long mp_off_t;
|
||||
#define MP_STATE_PORT MP_STATE_VM
|
||||
|
||||
#define MICROPY_EVENT_POLL_HOOK
|
||||
|
||||
// Compatibility switches
|
||||
|
||||
#ifdef CONFIG_NEWLIB_LIBC
|
||||
#define MICROPY_PY_MATH_POW_FIX_NAN (1)
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,6 @@ CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_CONSOLE_HANDLER=y
|
||||
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
|
||||
|
||||
CONFIG_NEWLIB_LIBC=y
|
||||
CONFIG_FPU=y
|
||||
CONFIG_MAIN_STACK_SIZE=4736
|
||||
CONFIG_POLL=y
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
CONFIG_NEWLIB_LIBC=y
|
||||
CONFIG_FPU=y
|
||||
CONFIG_MAIN_STACK_SIZE=4096
|
||||
CONFIG_POLL=y
|
||||
|
||||
Reference in New Issue
Block a user