-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: SamplesSamplesSamplesbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32
Description
Describe the bug
The compilation of websocket sample application in #19025 gives this build error:
make[3]: Entering directory '.../zephyr/sanity-out/stm32h747i_disco_m4/samples/net/sockets/websocket_client/samp
le.net.sockets.websocket_client'
[ 62%] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_stm32.c.obj
.../zephyr/drivers/serial/uart_stm32.c:648:12: error: 'uart_stm32_init' defined but not used [-Werror=unused-fun
ction]
static int uart_stm32_init(struct device *dev)
^~~~~~~~~~~~~~~
.../zephyr/drivers/serial/uart_stm32.c:614:37: error: 'uart_stm32_driver_api' defined but not used [-Werror=unus
ed-const-variable=]
static const struct uart_driver_api uart_stm32_driver_api = {
^~~~~~~~~~~~~~~~~~~~~
.../zephyr/drivers/serial/uart_stm32.c:602:13: error: 'uart_stm32_isr' defined but not used [-Werror=unused-func
tion]
static void uart_stm32_isr(void *arg)
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
I do not have anything stm32h747i_disco_m4 related in the sample.
To Reproduce
- Fetch Simple Websocket & HTTP client API support #19025
- sanitycheck -t websocket -p stm32h747i_disco_m4
Current version of #19025 blacklists this board, so in order to reproduce the issue, the sample.yaml files need to be edited and blacklisting removed.
Expected behavior
No error
Impact
Test fails. I will blacklist this board temporarily in order to proceed.
Metadata
Metadata
Assignees
Labels
area: SamplesSamplesSamplesbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32