Unable to run the coap-client sample


li_paige@...
 

Hello,

I'm trying the Networking samples and demos with Zephyr.
I successfully compile and run some samples but I have some difficulty in the networking samples.
I am following the instructions here: https://docs.zephyrproject.org/latest/samples/net/coap_client/README.html calling

cmake -GNinja -DBOARD=qemu_riscv32 ..
ninja

The 'ninja' step is failing and I am getting this error message:
zephyr/drivers/console/uart_pipe.c: In function ‘uart_pipe_register’: zephyr/drivers/console/uart_pipe.c:94:37: error: ‘CONFIG_UART_PIPE_ON_DEV_NAME’ undeclared (first use in this function) uart_pipe_dev = device_get_binding(CONFIG_UART_PIPE_ON_DEV_NAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Any idea how I can properly set it?

Thanks,
Paige

Join users@lists.zephyrproject.org to automatically receive all group messages.