2019-05-28 10:55 AM
19:39:08 **** Incremental Build of configuration Debug for project NucleoTST ****
make -j8 all
arm-none-eabi-gcc "../Src/main.c" -mcpu=cortex-m7 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32H743xx -DDEBUG -c -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32H7xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H7xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32H7xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Src/main.d" -MT"Src/main.o" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -o "Src/main.o"
../Src/main.c: In function 'main':
../Src/main.c:154:4: warning: implicit declaration of function 'USBD_HID_SendReport'; did you mean 'USB_ID_GPIO_Port'? [-Wimplicit-function-declaration]
USBD_HID_SendReport(&hUsbDeviceFS, &mouseHID, sizeof(struct mouseHID_t));
^~~~~~~~~~~~~~~~~~~
USB_ID_GPIO_Port
../Src/main.c:154:25: error: 'hUsbDeviceFS' undeclared (first use in this function)
USBD_HID_SendReport(&hUsbDeviceFS, &mouseHID, sizeof(struct mouseHID_t));
^~~~~~~~~~~~
../Src/main.c:154:25: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Src/subdir.mk:47: Src/main.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
19:39:09 Build Failed. 2 errors, 1 warnings. (took 768ms)
Does anyone has a workaround ?
2019-05-28 11:01 AM
Also, I'm aware of this issue:
But I still need a workaround.