Hi

I'm trying to compile some configs for my spresense board.

"spresense:nsh" runs without problems, but when I try to compile some configurations for the *camera* I have the following error:

CC:  video/v4l2_cap.c In file included from /home/bucher/sviluppo/NUTTX/nuttx/include/nuttx/video/v4l2_cap.h:29,
                 from video/v4l2_cap.c:35:
video/v4l2_cap.c: In function 'start_capture':
video/v4l2_cap.c:802:3: error: pointer/integer type mismatch in conditional expression [-Wint-conversion]
  802 |   IMGDATA_SET_BUF(cmng->imgdata,
      |   ^~~~~~~~~~~~~~~
video/v4l2_cap.c: In function 'complete_capture':
video/v4l2_cap.c:2035:11: error: pointer/integer type mismatch in conditional expression [-Wint-conversion]
 2035 |           IMGDATA_SET_BUF(cmng->imgdata,
      |           ^~~~~~~~~~~~~~~
make[1]: *** [Makefile:109: v4l2_cap.o] Error 1
make: *** [tools/LibTargets.mk:107: drivers/libdrivers.a] Error 2

I tried nuttx from official git and from the spresense sdk, but the results are identical

Roberto

Reply via email to