From 755b0b807bc6f390f933372e153d29d5cd7fd7cc Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 25 Feb 2019 12:19:14 +0300 Subject: [PATCH] zephyr/prj_minimal.conf: Switch to CONFIG_STDOUT_CONSOLE. Prompted by code size analysis, after arduino_101 build overflowing ROM. --- ports/zephyr/prj_minimal.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/zephyr/prj_minimal.conf b/ports/zephyr/prj_minimal.conf index 5d6b353ba3..d9c2894e6f 100644 --- a/ports/zephyr/prj_minimal.conf +++ b/ports/zephyr/prj_minimal.conf @@ -1,6 +1,12 @@ -CONFIG_STDOUT_CONSOLE=y -CONFIG_CONSOLE_HANDLER=y -CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y CONFIG_NEWLIB_LIBC=y CONFIG_FLOAT=y CONFIG_MAIN_STACK_SIZE=4096 + +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