Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example build failure #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Example build failure #2

wants to merge 1 commit into from

Conversation

milesfrain
Copy link
Owner

@milesfrain
Copy link
Owner Author

CI log output:

arm-none-eabi-g++ "/github/workspace/common/src/usb_task.cpp" -mcpu=cortex-m4 -std=gnu++14 -DUSE_HAL_DRIVER -DSTM32F413xx -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../USB_DEVICE/App -I../USB_DEVICE/Target -I"/github/workspace/common/inc" -I../custom/inc -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Drivers/STM32F4xx_HAL_Driver/Inc -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Middlewares/Third_Party/FreeRTOS/Source/include -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Drivers/CMSIS/Device/ST/STM32F4xx/Include -I/usr/share/stm_repo/STM32Cube_FW_F4_V1.25.1/Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-use-cxa-atexit -Wall -fstack-usage -MMD -MP -MF"common/src/usb_task.d" -MT"common/src/usb_task.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "common/src/usb_task.o"
In file included from /github/workspace/common/src/uart_tasks.cpp:11:0:
/github/workspace/common/inc/dma_reg.h: In function 'uint32_t dmaFlagCheckAndClear(DMA_TypeDef*, uint32_t, DmaFlag)':
/github/workspace/common/inc/dma_reg.h:44:10: error: 'struct DMA_TypeDef' has no member named 'HIFCR_OOPS'; did you mean 'HIFCR'?
     dma->HIFCR_OOPS = mask;
          ^~~~~~~~~~
          HIFCR
make: *** [common/src/subdir.mk:46: common/src/uart_tasks.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j2 all" terminated with exit code 2. Build might be incomplete.

22:49:26 Build Failed. 3 errors, 0 warnings. (took 1s.283ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant