소스 검색

[utest][Kconfig] adjust RT_CONSOLEBUF_SIZE when utest is enabled

Meco Man 1 년 전
부모
커밋
a406c8fce8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Kconfig

+ 1 - 0
src/Kconfig

@@ -456,6 +456,7 @@ config RT_USING_CONSOLE
 if RT_USING_CONSOLE
 if RT_USING_CONSOLE
     config RT_CONSOLEBUF_SIZE
     config RT_CONSOLEBUF_SIZE
         int "the buffer size for console log printf"
         int "the buffer size for console log printf"
+        default 256 if RT_USING_UTEST
         default 128
         default 128
 
 
     config RT_CONSOLE_DEVICE_NAME
     config RT_CONSOLE_DEVICE_NAME