21:04:01 **** Incremental Build of configuration Debug for project my_boot **** make -j8 all arm-none-eabi-gcc "../USB_DEVICE/Target/usbd_conf.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"USB_DEVICE/Target/usbd_conf.d" -MT"USB_DEVICE/Target/usbd_conf.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "USB_DEVICE/Target/usbd_conf.o" arm-none-eabi-gcc "../USB_DEVICE/App/usbd_bulk.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"USB_DEVICE/App/usbd_bulk.d" -MT"USB_DEVICE/App/usbd_bulk.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "USB_DEVICE/App/usbd_bulk.o" arm-none-eabi-gcc "../USB_DEVICE/App/usbd_desc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"USB_DEVICE/App/usbd_desc.d" -MT"USB_DEVICE/App/usbd_desc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "USB_DEVICE/App/usbd_desc.o" arm-none-eabi-gcc "../Loader/third_party/fatfs/src/option/ccsbcs.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/third_party/fatfs/src/option/ccsbcs.d" -MT"Loader/third_party/fatfs/src/option/ccsbcs.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/third_party/fatfs/src/option/ccsbcs.o" arm-none-eabi-gcc "../Loader/third_party/fatfs/src/option/syscall.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/third_party/fatfs/src/option/syscall.d" -MT"Loader/third_party/fatfs/src/option/syscall.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/third_party/fatfs/src/option/syscall.o" arm-none-eabi-gcc "../Loader/third_party/fatfs/src/option/unicode.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/third_party/fatfs/src/option/unicode.d" -MT"Loader/third_party/fatfs/src/option/unicode.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/third_party/fatfs/src/option/unicode.o" arm-none-eabi-gcc "../Loader/third_party/fatfs/src/ff.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/third_party/fatfs/src/ff.d" -MT"Loader/third_party/fatfs/src/ff.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/third_party/fatfs/src/ff.o" arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/Keil/cpu_comp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/Keil/cpu_comp.d" -MT"Loader/ARMCM4_STM32F4/Keil/cpu_comp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/Keil/cpu_comp.o" ../USB_DEVICE/Target/usbd_conf.c:72:8: error: unknown type name 'PCD_HandleTypeDef' 72 | extern PCD_HandleTypeDef hpcd_USB_OTG_FS; | ^~~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c:101:33: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 101 | void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:112:35: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 112 | void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:123:34: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 123 | void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:133:26: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 133 | void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:143:28: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 143 | void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:173:30: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 173 | void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:196:29: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 196 | void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:211:39: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 211 | void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:222:38: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 222 | void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:232:30: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 232 | void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:245:33: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 245 | void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_Init': ../USB_DEVICE/Target/usbd_conf.c:267:18: error: request for member 'pData' in something not a structure or union 267 | hpcd_USB_OTG_FS.pData = pdev; | ^ ../USB_DEVICE/Target/usbd_conf.c:270:18: error: request for member 'Instance' in something not a structure or union 270 | hpcd_USB_OTG_FS.Instance = USB_OTG_FS; | ^ ../USB_DEVICE/Target/usbd_conf.c:271:18: error: request for member 'Init' in something not a structure or union 271 | hpcd_USB_OTG_FS.Init.dev_endpoints = 4; | ^ ../USB_DEVICE/Target/usbd_conf.c:272:18: error: request for member 'Init' in something not a structure or union 272 | hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; | ^ ../USB_DEVICE/Target/usbd_conf.c:272:32: error: 'PCD_SPEED_FULL' undeclared (first use in this function); did you mean 'USBD_SPEED_FULL'? 272 | hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; | ^~~~~~~~~~~~~~ | USBD_SPEED_FULL ../USB_DEVICE/Target/usbd_conf.c:272:32: note: each undeclared identifier is reported only once for each function it appears in ../USB_DEVICE/Target/usbd_conf.c:273:18: error: request for member 'Init' in something not a structure or union 273 | hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:274:18: error: request for member 'Init' in something not a structure or union 274 | hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; | ^ ../USB_DEVICE/Target/usbd_conf.c:274:37: error: 'PCD_PHY_EMBEDDED' undeclared (first use in this function) 274 | hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; | ^~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c:275:18: error: request for member 'Init' in something not a structure or union 275 | hpcd_USB_OTG_FS.Init.Sof_enable = ENABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:276:18: error: request for member 'Init' in something not a structure or union 276 | hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:277:18: error: request for member 'Init' in something not a structure or union 277 | hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:278:18: error: request for member 'Init' in something not a structure or union 278 | hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:279:18: error: request for member 'Init' in something not a structure or union 279 | hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; | ^ ../USB_DEVICE/Target/usbd_conf.c:280:7: warning: implicit declaration of function 'HAL_PCD_Init'; did you mean 'HAL_DeInit'? [-Wimplicit-function-declaration] 280 | if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) | ^~~~~~~~~~~~ | HAL_DeInit ../USB_DEVICE/Target/usbd_conf.c:285:3: warning: implicit declaration of function 'HAL_PCDEx_SetRxFiFo'; did you mean 'HAL_PCD_SetRxFiFo'? [-Wimplicit-function-declaration] 285 | HAL_PCDEx_SetRxFiFo(&hpcd_USB_OTG_FS, 0x80); | ^~~~~~~~~~~~~~~~~~~ | HAL_PCD_SetRxFiFo ../USB_DEVICE/Target/usbd_conf.c:286:3: warning: implicit declaration of function 'HAL_PCDEx_SetTxFiFo'; did you mean 'HAL_PCD_SetTxFiFo'? [-Wimplicit-function-declaration] 286 | HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 0, 0x40); | ^~~~~~~~~~~~~~~~~~~ | HAL_PCD_SetTxFiFo ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_DeInit': ../USB_DEVICE/Target/usbd_conf.c:302:16: warning: implicit declaration of function 'HAL_PCD_DeInit'; did you mean 'HAL_PWR_DeInit'? [-Wimplicit-function-declaration] 302 | hal_status = HAL_PCD_DeInit(pdev->pData); | ^~~~~~~~~~~~~~ | HAL_PWR_DeInit ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_Start': ../USB_DEVICE/Target/usbd_conf.c:334:16: warning: implicit declaration of function 'HAL_PCD_Start'; did you mean 'HAL_DMA_Start'? [-Wimplicit-function-declaration] 334 | hal_status = HAL_PCD_Start(pdev->pData); | ^~~~~~~~~~~~~ | HAL_DMA_Start arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/IAR/cpu_comp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/IAR/cpu_comp.d" -MT"Loader/ARMCM4_STM32F4/IAR/cpu_comp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/IAR/cpu_comp.o" ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_Stop': ../USB_DEVICE/Target/usbd_conf.c:366:16: warning: implicit declaration of function 'HAL_PCD_Stop' [-Wimplicit-function-declaration] 366 | hal_status = HAL_PCD_Stop(pdev->pData); | ^~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_OpenEP': ../USB_DEVICE/Target/usbd_conf.c:401:16: warning: implicit declaration of function 'HAL_PCD_EP_Open' [-Wimplicit-function-declaration] 401 | hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); | ^~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_CloseEP': ../USB_DEVICE/Target/usbd_conf.c:434:16: warning: implicit declaration of function 'HAL_PCD_EP_Close' [-Wimplicit-function-declaration] 434 | hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_FlushEP': ../USB_DEVICE/Target/usbd_conf.c:467:16: warning: implicit declaration of function 'HAL_PCD_EP_Flush' [-Wimplicit-function-declaration] 467 | hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~ arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/GCC/cpu_comp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/GCC/cpu_comp.d" -MT"Loader/ARMCM4_STM32F4/GCC/cpu_comp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/GCC/cpu_comp.o" ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_StallEP': ../USB_DEVICE/Target/usbd_conf.c:500:16: warning: implicit declaration of function 'HAL_PCD_EP_SetStall' [-Wimplicit-function-declaration] 500 | hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_ClearStallEP': ../USB_DEVICE/Target/usbd_conf.c:533:16: warning: implicit declaration of function 'HAL_PCD_EP_ClrStall' [-Wimplicit-function-declaration] 533 | hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_IsStallEP': ../USB_DEVICE/Target/usbd_conf.c:563:3: error: unknown type name 'PCD_HandleTypeDef'; did you mean 'USBD_HandleTypeDef'? 563 | PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:563:30: error: 'PCD_HandleTypeDef' undeclared (first use in this function); did you mean 'USBD_HandleTypeDef'? 563 | PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/can.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/can.d" -MT"Loader/ARMCM4_STM32F4/can.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/can.o" ../USB_DEVICE/Target/usbd_conf.c:563:48: error: expected expression before ')' token 563 | PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; | ^ ../USB_DEVICE/Target/usbd_conf.c:567:16: error: request for member 'IN_ep' in something not a structure or union 567 | return hpcd->IN_ep[ep_addr & 0x7F].is_stall; | ^~ ../USB_DEVICE/Target/usbd_conf.c:571:16: error: request for member 'OUT_ep' in something not a structure or union 571 | return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; | ^~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_SetUSBAddress': ../USB_DEVICE/Target/usbd_conf.c:586:16: warning: implicit declaration of function 'HAL_PCD_SetAddress' [-Wimplicit-function-declaration] 586 | hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); | ^~~~~~~~~~~~~~~~~~ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_Transmit': ../USB_DEVICE/Target/usbd_conf.c:621:16: warning: implicit declaration of function 'HAL_PCD_EP_Transmit'; did you mean 'HAL_UART_Transmit'? [-Wimplicit-function-declaration] 621 | hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); | ^~~~~~~~~~~~~~~~~~~ | HAL_UART_Transmit arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/cpu.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/cpu.d" -MT"Loader/ARMCM4_STM32F4/cpu.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/cpu.o" ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_PrepareReceive': ../USB_DEVICE/Target/usbd_conf.c:656:16: warning: implicit declaration of function 'HAL_PCD_EP_Receive'; did you mean 'HAL_UART_Receive'? [-Wimplicit-function-declaration] 656 | hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); | ^~~~~~~~~~~~~~~~~~ | HAL_UART_Receive ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_GetRxDataSize': ../USB_DEVICE/Target/usbd_conf.c:686:10: warning: implicit declaration of function 'HAL_PCD_EP_GetRxCount' [-Wimplicit-function-declaration] 686 | return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~~~~~~ arm-none-eabi-gcc "../Loader/ARMCM4_STM32F4/flash.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DSTM32F405xx -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DDEBUG -c -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../App -I../Library/FatFS -I../Library/STM32_USB_Device_Library/Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../../../../Source -I../../../../Source/ARMCM4_STM32F4 -I../../../../Source/third_party/fatfs/src -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader/ARMCM4_STM32F4" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Loader" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Core/Inc" -I"C:/Users/bjvyhb/OneDrive - PHINIA/Desktop/FastBit/BP/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy" -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Loader/ARMCM4_STM32F4/flash.d" -MT"Loader/ARMCM4_STM32F4/flash.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Loader/ARMCM4_STM32F4/flash.o" ../USB_DEVICE/Target/usbd_conf.c:686:33: error: 'PCD_HandleTypeDef' undeclared (first use in this function); did you mean 'USBD_HandleTypeDef'? 686 | return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); | ^~~~~~~~~~~~~~~~~ | USBD_HandleTypeDef ../USB_DEVICE/Target/usbd_conf.c:686:51: error: expected expression before ')' token 686 | return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); | ^ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_IsStallEP': ../USB_DEVICE/Target/usbd_conf.c:573:1: warning: control reaches end of non-void function [-Wreturn-type] 573 | } | ^ ../USB_DEVICE/Target/usbd_conf.c: In function 'USBD_LL_GetRxDataSize': ../USB_DEVICE/Target/usbd_conf.c:687:1: warning: control reaches end of non-void function [-Wreturn-type] 687 | } | ^ make: *** [USB_DEVICE/Target/subdir.mk:19: USB_DEVICE/Target/usbd_conf.o] Error 1 make: *** Waiting for unfinished jobs.... ../Loader/ARMCM4_STM32F4/IAR/cpu_comp.c:33:10: fatal error: intrinsics.h: No such file or directory 33 | #include /* IAR intrinsics */ | ^~~~~~~~~~~~~~ compilation terminated. make: *** [Loader/ARMCM4_STM32F4/IAR/subdir.mk:19: Loader/ARMCM4_STM32F4/IAR/cpu_comp.o] Error 1 "make -j8 all" terminated with exit code -1. Build might be incomplete.