zephyr: Enable some core features to get more thread tests passing.
All these features are enabled at the `MICROPY_CONFIG_ROM_LEVEL_CORE_FEATURES` level, and are required to get more of the thread tests passing. Signed-off-by: danicampora <danicampora@gmail.com>
This commit is contained in:
parent
d68d8fcf90
commit
7009c75f23
@ -43,17 +43,13 @@
|
|||||||
#define MICROPY_HELPER_REPL (1)
|
#define MICROPY_HELPER_REPL (1)
|
||||||
#define MICROPY_REPL_AUTO_INDENT (1)
|
#define MICROPY_REPL_AUTO_INDENT (1)
|
||||||
#define MICROPY_KBD_EXCEPTION (1)
|
#define MICROPY_KBD_EXCEPTION (1)
|
||||||
#define MICROPY_CPYTHON_COMPAT (0)
|
|
||||||
#define MICROPY_PY_ASYNC_AWAIT (0)
|
#define MICROPY_PY_ASYNC_AWAIT (0)
|
||||||
#define MICROPY_PY_ATTRTUPLE (0)
|
|
||||||
#define MICROPY_PY_BUILTINS_BYTES_HEX (1)
|
#define MICROPY_PY_BUILTINS_BYTES_HEX (1)
|
||||||
#define MICROPY_PY_BUILTINS_ENUMERATE (0)
|
|
||||||
#define MICROPY_PY_BUILTINS_FILTER (0)
|
#define MICROPY_PY_BUILTINS_FILTER (0)
|
||||||
#define MICROPY_PY_BUILTINS_MIN_MAX (0)
|
#define MICROPY_PY_BUILTINS_MIN_MAX (0)
|
||||||
#define MICROPY_PY_BUILTINS_PROPERTY (0)
|
#define MICROPY_PY_BUILTINS_PROPERTY (0)
|
||||||
#define MICROPY_PY_BUILTINS_RANGE_ATTRS (0)
|
#define MICROPY_PY_BUILTINS_RANGE_ATTRS (0)
|
||||||
#define MICROPY_PY_BUILTINS_REVERSED (0)
|
#define MICROPY_PY_BUILTINS_REVERSED (0)
|
||||||
#define MICROPY_PY_BUILTINS_SET (0)
|
|
||||||
#define MICROPY_PY_BUILTINS_STR_COUNT (0)
|
#define MICROPY_PY_BUILTINS_STR_COUNT (0)
|
||||||
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
|
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
|
||||||
#define MICROPY_PY_BUILTINS_HELP (1)
|
#define MICROPY_PY_BUILTINS_HELP (1)
|
||||||
|
|||||||
@ -31,8 +31,7 @@ static inline void mp_hal_delay_ms(mp_uint_t delay) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline uint64_t mp_hal_time_ns(void) {
|
static inline uint64_t mp_hal_time_ns(void) {
|
||||||
// Not currently implemented.
|
return k_ticks_to_ns_near64(k_uptime_ticks());
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define mp_hal_delay_us_fast(us) (mp_hal_delay_us(us))
|
#define mp_hal_delay_us_fast(us) (mp_hal_delay_us(us))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user