You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
472 B
19 lines
472 B
3 years ago
|
idf_component_register(
|
||
|
INCLUDE_DIRS "libconsole/include"
|
||
|
)
|
||
|
|
||
|
set(CONSOLE_FILE_SUPPORT OFF)
|
||
|
set(CONSOLE_USE_FILE_IO_STREAMS OFF)
|
||
|
set(CONSOLE_USE_TERMIOS OFF)
|
||
|
set(CONSOLE_USE_MEMSTREAM OFF)
|
||
|
set(CONSOLE_MAX_NUM_ARGS 16)
|
||
|
set(CONSOLE_LINE_BUF_LEN 128)
|
||
|
set(CONSOLE_PROMPT_MAX_LEN 24)
|
||
|
set(CONSOLE_HISTORY_LEN 8)
|
||
|
set(CONSOLE_HAVE_CSP OFF)
|
||
|
set(CONSOLE_USE_CSP_COMMANDS OFF)
|
||
|
|
||
|
add_subdirectory(libconsole)
|
||
|
|
||
|
target_link_libraries(${COMPONENT_LIB} INTERFACE console argtable3)
|