d120859857
And ctrl-C can now interrupt a time.sleep call. This uses Zephyr's k_poll API to wait efficiently for an event signal, and an optional semaphore. Signed-off-by: Damien George <damien@micropython.org>
14 lines
353 B
Plaintext
14 lines
353 B
Plaintext
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_FPU=y
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
CONFIG_POLL=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_CONSOLE_SUBSYS=y
|
|
CONFIG_CONSOLE_GETCHAR=y
|
|
CONFIG_CONSOLE_GETCHAR_BUFSIZE=32
|
|
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=32
|
|
# TODO: Disable once https://github.com/zephyrproject-rtos/zephyr/pull/13731 is merged
|
|
#CONFIG_CONSOLE=n
|
|
#CONFIG_UART_CONSOLE=n
|