simbit18 commented on PR #18622:
URL: https://github.com/apache/nuttx/pull/18622#issuecomment-4141706777
Hi @JianyuWang0623 please fix
```
====================================================================================
Configuration/Tool: esp32-devkitc/i2schar
2026-03-27 09:49:36
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
common/espressif/esp_i2s.c: In function 'i2s_rxdma_start':
Error: common/espressif/esp_i2s.c:940:10: error: variable 'eof_nbytes' set
but not used [-Werror=unused-but-set-variable]
940 | size_t eof_nbytes;
| ^~~~~~~~~~
In file included from common/espressif/esp_i2s.c:30:
common/espressif/esp_i2s.c: In function 'i2s_receive':
Error: common/espressif/esp_i2s.c:3071:15: error: format '%d' expects
argument of type 'int', but argument 4 has type 'uint32_t' {aka 'long unsigned
int'} [-Werror=format=]
3071 | i2sinfo("i2s_receive: nmaxbytes=%lu ch=%d dw=%d "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
3074 | priv->channels, priv->data_width,
| ~~~~~~~~~~~~~~
| |
| uint32_t {aka long unsigned int}
common/espressif/esp_i2s.c:3071:47: note: format string is defined here
3071 | i2sinfo("i2s_receive: nmaxbytes=%lu ch=%d dw=%d "
| ~^
| |
| int
| %ld
Error: common/espressif/esp_i2s.c:3071:15: error: format '%d' expects
argument of type 'int', but argument 5 has type 'uint32_t' {aka 'long unsigned
int'} [-Werror=format=]
3071 | i2sinfo("i2s_receive: nmaxbytes=%lu ch=%d dw=%d "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
3074 | priv->channels, priv->data_width,
| ~~~~~~~~~~~~~~~~
| |
| uint32_t {aka long unsigned int}
common/espressif/esp_i2s.c:3071:53: note: format string is defined here
3071 | i2sinfo("i2s_receive: nmaxbytes=%lu ch=%d dw=%d "
| ~^
| |
| int
| %ld
cc1: all warnings being treated as errors
make[1]: *** [Makefile:146: esp_i2s.o] Error 1
make[1]: Target 'libarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:170: arch/xtensa/src/libarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385:
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or
directory
[1/1] Normalize esp32-devkitc/i2schar
====================================================================================
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]