kernelgurumeditation opened a new issue #2314:
URL: https://github.com/apache/incubator-nuttx/issues/2314
tested with master version:
In file included from chip/stm32_otghost.c:73:0:
chip/stm32_otg.h:135:34: warning: 'struct usbdev_s' declared inside
parameter list
void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume);
^
chip/stm32_otg.h:135:34: warning: its scope is only this definition or
declaration, which is probably not what you want
chip/stm32_otghost.c:78:2: warning: #warning OTG host not tested for
STM32H7! [-Wcpp]
#warning OTG host not tested for STM32H7!
^
chip/stm32_otghost.c:1235:33: error: expected ';', ',' or ')' before
'uint8_t'
uint8_t speed,
^
chip/stm32_otghost.c: In function 'stm32_epfree':
chip/stm32_otghost.c:4245:3: error: 'ret' undeclared (first use in this
function)
ret = stm32_takesem_noncancelable(&priv->exclsem);
^
chip/stm32_otghost.c:4245:3: note: each undeclared identifier is reported
only once for each function it appears in
chip/stm32_otghost.c: At top level:
chip/stm32_otghost.c:348:12: warning: 'stm32_ctrlchan_alloc' used but never
defined
static int stm32_ctrlchan_alloc(FAR struct stm32_usbhost_s *priv,
^
chip/stm32_otghost.c: In function 'stm32_epfree':
chip/stm32_otghost.c:4275:1: warning: control reaches end of non-void
function [-Wreturn-type]
}
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]