µVision Build Log

Tool Versions:

IDE-Version: ¦ÌVision V5.40.0.0 Copyright (C) 2024 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: xx xx, xx, LIC=IC93N-YXR8M-INAA7-E6ZYE-UPX1P-FSZZI Tool Versions: Toolchain: MDK-ARM Professional Version: 5.40.0.3 Toolchain Path: D:\apps\keil5\keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.22 Assembler: Armasm.exe V6.22 Linker/Locator: ArmLink.exe V6.22 Library Manager: ArmAr.exe V6.22 Hex Converter: FromElf.exe V6.22 CPU DLL: SARMCM3.DLL V5.40.0.3 Dialog DLL: DCM.DLL V1.17.5.0 Target DLL: Segger\JL2CM3.dll V2.99.44.0 Dialog DLL: TCM.DLL V1.56.4.0

Project:

D:\CUBEMX\hero\god-yuan-hero\MDK-ARM\hero_DM02.uvprojx Project File Date: 01/26/2026

Output:

*** Using Compiler 'V6.22', folder: 'D:\apps\keil5\keil_v5\ARM\ARMCLANG\Bin' Build target 'hero_DM02' Note: source file '..\User\bsp\fdcan.c' - object file renamed from 'hero_DM02\fdcan.o' to 'hero_DM02\fdcan_1.o'. Note: source file '..\User\bsp\gpio.c' - object file renamed from 'hero_DM02\gpio.o' to 'hero_DM02\gpio_1.o'. Note: source file '..\User\bsp\spi.c' - object file renamed from 'hero_DM02\spi.o' to 'hero_DM02\spi_1.o'. Note: source file '..\User\task\cmd.c' - object file renamed from 'hero_DM02\cmd.o' to 'hero_DM02\cmd_1.o'. Note: source file '..\User\task\supercap.c' - object file renamed from 'hero_DM02\supercap.o' to 'hero_DM02\supercap_1.o'. compiling gpio.c... compiling stm32h7xx_hal_spi.c... compiling stm32h7xx_hal_spi_ex.c... compiling stm32h7xx_hal_rcc.c... compiling stm32h7xx_hal_uart_ex.c... compiling system_stm32h7xx.c... compiling stm32h7xx_hal_uart.c... ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c(28): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling croutine.c... ../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c(37): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling event_groups.c... ../Middlewares/Third_Party/FreeRTOS/Source/list.c(30): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling list.c... ../Middlewares/Third_Party/FreeRTOS/Source/queue.c(36): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling queue.c... ../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c(38): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling stream_buffer.c... ../Middlewares/Third_Party/FreeRTOS/Source/tasks.c(38): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling tasks.c... ../Middlewares/Third_Party/FreeRTOS/Source/timers.c(36): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling timers.c... ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c(43): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling heap_4.c... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(28): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmsis_os2.c... armclang: error: no such file or directory: '../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F/port.c' armclang: error: no input files compiling port.c... ../User/bsp/fdcan.c(2): warning: In file included from... ../User/bsp\fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling fdcan.c... compiling gpio.c... ../User/bsp/mm.c(4): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling mm.c... compiling pwm.c... compiling spi.c... ../User/bsp/time.c(6): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling time.c... compiling uart.c... compiling AT9S_Pro.c... compiling bmi088.c... compiling dr16.c... compiling motor.c... ../User/device/motor_dm.c(7): warning: In file included from... ../User\device/motor_dm.h(10): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling motor_dm.c... ../User/device/motor_rm.c(5): warning: In file included from... ../User/device\motor_rm.h(11): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling motor_rm.c... ../User/device/supercap.c(1): warning: In file included from... ../User\device/supercap.h(7): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling supercap.c... compiling vt13.c... compiling crc16.c... compiling mixer.c... compiling pid.c... compiling user_math.c... compiling PowerControl.c... compiling ahrs.c... compiling filter.c... ../User/module/chassis.c(8): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling chassis.c... ../User/module/config.c(6): warning: In file included from... ../User\module/config.h(14): warning: In file included from... ../User\device/motor_rm.h(11): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling config.c... ../User/module/gimbal.c(6): warning: In file included from... ../User/module\gimbal.h(16): warning: In file included from... ../User\device/motor_dm.h(10): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling gimbal.c... ../User/module/shoot.c(36): warning: In file included from... ../User/module\shoot.h(14): warning: In file included from... ../User\device/motor_rm.h(11): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling shoot.c... ../User/module/track.c(10): warning: In file included from... ../User/module\track.h(16): warning: In file included from... ../User\device/motor_dm.h(10): warning: In file included from... ../User\bsp/fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling track.c... ../User/module/cmd/cmd.c(4): warning: In file included from... ../User/module/cmd\cmd.h(8): warning: In file included from... ../User/module/cmd\cmd_adapter.h(95): warning: In file included from... ../User\module/vision_bridge.h(8): warning: In file included from... ../User\bsp\fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmd.c... ../User/module/cmd/cmd_behavior.c(5): warning: In file included from... ../User/module/cmd\cmd.h(8): warning: In file included from... ../User/module/cmd\cmd_adapter.h(95): warning: In file included from... ../User\module/vision_bridge.h(8): warning: In file included from... ../User\bsp\fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmd_behavior.c... ../User/module/cmd/cmd_adapter.c(4): warning: In file included from... ../User/module/cmd\cmd_adapter.h(95): warning: In file included from... ../User\module/vision_bridge.h(8): warning: In file included from... ../User\bsp\fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmd_adapter.c... ../User/module/cmd/cmd_example.c(6): warning: In file included from... ../User/module/cmd\cmd.h(8): warning: In file included from... ../User/module/cmd\cmd_adapter.h(95): warning: In file included from... ../User\module/vision_bridge.h(8): warning: In file included from... ../User\bsp\fdcan.h(12): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmd_example.c... ../User/task/atti_esti.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling atti_esti.c... ../User/task/blink.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling blink.c... ../User/task/cmd.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling cmd.c... ../User/task/ctrl_chassis.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling ctrl_chassis.c... ../User/task/ctrl_gimbal.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling ctrl_gimbal.c... ../User/task/ctrl_shoot.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling ctrl_shoot.c... ../User/task/init.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling init.c... compiling stm32h7xx_hal_cortex.c... compiling stm32h7xx_hal_timebase_tim.c... ../User/task/rc.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling rc.c... compiling stm32h7xx_hal_i2c_ex.c... compiling stm32h7xx_hal_msp.c... compiling stm32h7xx_hal.c... compiling stm32h7xx_it.c... compiling dma.c... compiling usart.c... compiling stm32h7xx_hal_flash.c... ../Core/Src/main.c(21): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling main.c... compiling spi.c... compiling stm32h7xx_hal_gpio.c... compiling stm32h7xx_hal_pwr_ex.c... compiling stm32h7xx_hal_exti.c... compiling stm32h7xx_hal_dma.c... compiling stm32h7xx_hal_flash_ex.c... ../User/task/user_task.c(1): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling user_task.c... compiling stm32h7xx_hal_mdma.c... compiling stm32h7xx_hal_dma_ex.c... ../Core/Src/freertos.c(21): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling freertos.c... ../User/task/supercap.c(7): warning: In file included from... ../User\task/user_task.h(8): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): error: 'portmacro.h' file not found 52 | #include "portmacro.h" | ^~~~~~~~~~~~~ 1 error generated. compiling supercap.c... compiling stm32h7xx_hal_hsem.c... compiling fdcan.c... compiling stm32h7xx_hal_pwr.c... compiling tim.c... compiling stm32h7xx_hal_tim_ex.c... compiling stm32h7xx_hal_rcc_ex.c... assembling startup_stm32h723xx.s... compiling stm32h7xx_hal_fdcan.c... compiling stm32h7xx_hal_tim.c... compiling stm32h7xx_hal_i2c.c... "hero_DM02\hero_DM02.axf" - 38 Error(s), 0 Warning(s).

Software Packages used:

Package Vendor: ARM https://www.keil.com/pack/ARM.CMSIS.6.1.0.pack ARM::CMSIS@6.1.0 CMSIS (Common Microcontroller Software Interface Standard) * Component: CORE Version: 6.1.0 Package Vendor: Keil https://www.keil.com/pack/Keil.STM32H7xx_DFP.4.1.3.pack Keil::STM32H7xx_DFP@4.1.3 STMicroelectronics STM32H7 Series Device Support

Collection of Component include folders:

./RTE/_hero_DM02 D:/apps/keil5/Arm/Packs/ARM/CMSIS/6.1.0/CMSIS/Core/Include

Collection of Component Files used:

* Component: ARM::CMSIS:CORE@6.1.0 Include file: CMSIS/Core/Include/tz_context.h Target not created. Build Time Elapsed: 00:00:37