MDK5编译示例程序失败
已完成PSDK包:Payload-SDK-master
编译成功sample/sample_c/platform/rtos_freertos/stm32f4_discovery/project/mdk_bootloader/目录下的工程文件mdk_bootloader.uvprojx
编译失败 sample/sample_c/platform/rtos_freertos/stm32f4_discovery/project/mdk/目录下的工程文件mdk_app.uvprojx
相关环境:
uVision 5.37 + ARMV5.06 + STM32F4xx_DFP.2.10.0 驱动包
编译错误如下:
Rebuild started: Project: mdk_app
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\KEIL\Core\ARM\ARMCC\Bin'
Rebuild target 'mdk_app'
compiling file_binary_array_list_en.c...
compiling dji_config_manager.c...
compiling test_data_transmission.c...
compiling file_binary_array_list_en.c...
compiling test_fc_subscription.c...
compiling test_gimbal_manager.c...
compiling test_payload_collaboration.c...
compiling test_flight_control.c...
..\..\..\..\..\module_sample\flight_control\test_flight_control.c(903): warning: #111-D: statement is unreachable
return DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR;
..\..\..\..\..\module_sample\flight_control\test_flight_control.c: 1 warning, 0 errors
compiling cJSON.c...
compiling test_hms.c...
compiling test_camera_manager.c...
compiling test_power_management.c...
compiling test_payload_gimbal_emu.c...
compiling test_time_sync.c...
compiling test_payload_cam_emu_base.c...
compiling test_payload_xport.c...
compiling test_positioning.c...
compiling test_upgrade.c...
compiling test_upgrade_common_file_transfer.c...
compiling test_upgrade_platform_opt.c...
compiling util_buffer.c...
compiling test_waypoint_v3.c...
compiling test_widget.c...
compiling test_waypoint_v2.c...
compiling test_widget_speaker.c...
compiling test_widget_interaction.c...
compiling util_file.c...
compiling util_time.c...
compiling util_misc.c...
compiling util_link_list.c...
compiling util_md5.c...
compiling osal.c...
compiling dji_ringbuffer.c...
compiling freertos.c...
compiling application.c...
compiling main.c...
compiling hal_uart.c...
compiling apply_high_power.c...
compiling flash_if.c...
assembling startup_stm32f407xx.s...
compiling led.c...
compiling stm32f4xx_hal_timebase_tim.c...
compiling pps.c...
compiling stm32f4xx_hal_msp.c...
compiling stm32f4xx_it.c...
compiling system_stm32f4xx.c...
compiling upgrade_platform_opt_stm32.c...
compiling stm32f4xx_hal.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c(526): error: #20: identifier "SYSCFG_CMPCR_CMP_PD_Pos" is undefined
*(__IO uint32_t *)CMPCR_CMP_PD_BB = (uint32_t)ENABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c(537): error: #20: identifier "SYSCFG_CMPCR_CMP_PD_Pos" is undefined
*(__IO uint32_t *)CMPCR_CMP_PD_BB = (uint32_t)DISABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c(546): error: #20: identifier "UID_BASE" is undefined
return (READ_REG(*((uint32_t *)UID_BASE)));
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c(555): error: #20: identifier "UID_BASE" is undefined
return (READ_REG(*((uint32_t *)(UID_BASE + 4U))));
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c(564): error: #20: identifier "UID_BASE" is undefined
return (READ_REG(*((uint32_t *)(UID_BASE + 8U))));
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c: 0 warnings, 5 errors
compiling uart.c...
compiling usbh_cdc.c...
compiling usbh_ioreq.c...
compiling usbh_ctlreq.c...
compiling usbh_pipes.c...
compiling usbh_core.c...
compiling stm32f4xx_hal_exti.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c(201): error: #20: identifier "SYSCFG_EXTICR1_EXTI1_Pos" is undefined
regval &= ~(SYSCFG_EXTICR1_EXTI0 << (SYSCFG_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c(305): error: #20: identifier "SYSCFG_EXTICR1_EXTI1_Pos" is undefined
pExtiConfig->GPIOSel = ((regval << (SYSCFG_EXTICR1_EXTI1_Pos * (3uL - (linepos & 0x03u)))) >> 24);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c(364): error: #20: identifier "SYSCFG_EXTICR1_EXTI1_Pos" is undefined
regval &= ~(SYSCFG_EXTICR1_EXTI0 << (SYSCFG_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c: 0 warnings, 3 errors
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal_flash_ex.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c(1011): error: #20: identifier "FLASH_CR_SNB_Pos" is undefined
FLASH->CR |= FLASH_CR_SER | (Sector << FLASH_CR_SNB_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c: 0 warnings, 1 error
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling stm32f4xx_hal_pwr.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c(113): error: #20: identifier "PWR_CR_DBP_Pos" is undefined
*(__IO uint32_t *) CR_DBP_BB = (uint32_t)ENABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c(133): error: #20: identifier "PWR_CR_DBP_Pos" is undefined
*(__IO uint32_t *) CR_DBP_BB = (uint32_t)DISABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c(313): error: #20: identifier "PWR_CR_PVDE_Pos" is undefined
*(__IO uint32_t *) CR_PVDE_BB = (uint32_t)ENABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c(322): error: #20: identifier "PWR_CR_PVDE_Pos" is undefined
*(__IO uint32_t *) CR_PVDE_BB = (uint32_t)DISABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c: 0 warnings, 4 errors
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling stm32f4xx_hal_flash.c...
compiling stm32f4xx_hal_gpio.c...
compiling stm32f4xx_hal_pwr_ex.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c(147): error: #20: identifier "PWR_CSR_BRE_Pos" is undefined
*(__IO uint32_t *) CSR_BRE_BB = (uint32_t)ENABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c(171): error: #20: identifier "PWR_CSR_BRE_Pos" is undefined
*(__IO uint32_t *) CSR_BRE_BB = (uint32_t)DISABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c(193): error: #20: identifier "PWR_CR_FPDS_Pos" is undefined
*(__IO uint32_t *) CR_FPDS_BB = (uint32_t)ENABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c(202): error: #20: identifier "PWR_CR_FPDS_Pos" is undefined
*(__IO uint32_t *) CR_FPDS_BB = (uint32_t)DISABLE;
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c: 0 warnings, 4 errors
compiling stm32f4xx_hal_rcc_ex.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c(2556): error: #20: identifier "RCC_PLLI2SCFGR_PLLI2SN_Pos" is undefined
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SR);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c(2556): error: #20: identifier "RCC_PLLI2SCFGR_PLLI2SR_Pos" is undefined
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SR);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c(2651): error: #20: identifier "RCC_PLLI2SCFGR_PLLI2SN_Pos" is undefined
PeriphClkInit->PLLI2S.PLLI2SN = (uint32_t)((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> RCC_PLLI2SCFGR_PLLI2SN_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c(2652): error: #20: identifier "RCC_PLLI2SCFGR_PLLI2SR_Pos" is undefined
PeriphClkInit->PLLI2S.PLLI2SR = (uint32_t)((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c: 0 warnings, 4 errors
compiling stm32f4xx_hal_rcc.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(303): error: #20: identifier "RCC_CR_HSITRIM_Pos" is undefined
__HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(327): error: #20: identifier "RCC_CR_HSITRIM_Pos" is undefined
__HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(494): error: #20: identifier "RCC_PLLCFGR_PLLN_Pos" is undefined
WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource | \
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(494): error: #20: identifier "RCC_PLLCFGR_PLLP_Pos" is undefined
WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource | \
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(494): error: #20: identifier "RCC_PLLCFGR_PLLQ_Pos" is undefined
WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource | \
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(554): error: #20: identifier "RCC_PLLCFGR_PLLM_Pos" is undefined
(READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != (RCC_OscInitStruct->PLL.PLLM) << RCC_PLLCFGR_PLLM_Pos) ||
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(555): error: #20: identifier "RCC_PLLCFGR_PLLN_Pos" is undefined
(READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) ||
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(556): error: #20: identifier "RCC_PLLCFGR_PLLP_Pos" is undefined
(READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) ||
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(557): error: #20: identifier "RCC_PLLCFGR_PLLQ_Pos" is undefined
(READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(683): error: #20: identifier "RCC_CFGR_SWS_Pos" is undefined
while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(721): error: #20: identifier "AHBPrescTable" is undefined
SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CFGR_HPRE_Pos];
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(721): error: #20: identifier "RCC_CFGR_HPRE_Pos" is undefined
SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CFGR_HPRE_Pos];
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(913): error: #20: identifier "RCC_PLLCFGR_PLLN_Pos" is undefined
pllvco = (uint32_t) ((((uint64_t) HSE_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(918): error: #20: identifier "RCC_PLLCFGR_PLLN_Pos" is undefined
pllvco = (uint32_t) ((((uint64_t) HSI_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(920): error: #20: identifier "RCC_PLLCFGR_PLLP_Pos" is undefined
pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(957): error: #20: identifier "APBPrescTable" is undefined
return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1)>> RCC_CFGR_PPRE1_Pos]);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(957): error: #20: identifier "RCC_CFGR_PPRE1_Pos" is undefined
return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1)>> RCC_CFGR_PPRE1_Pos]);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(969): error: #20: identifier "APBPrescTable" is undefined
return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos]);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(969): error: #20: identifier "RCC_CFGR_PPRE2_Pos" is undefined
return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos]);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(1008): error: #20: identifier "RCC_CR_HSITRIM_Pos" is undefined
RCC_OscInitStruct->HSICalibrationValue = (uint32_t)((RCC->CR &RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(1045): error: #20: identifier "RCC_PLLCFGR_PLLN_Pos" is undefined
RCC_OscInitStruct->PLL.PLLN = (uint32_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(1046): error: #20: identifier "RCC_PLLCFGR_PLLP_Pos" is undefined
RCC_OscInitStruct->PLL.PLLP = (uint32_t)((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) + RCC_PLLCFGR_PLLP_0) << 1U) >> RCC_PLLCFGR_PLLP_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c(1047): error: #20: identifier "RCC_PLLCFGR_PLLQ_Pos" is undefined
RCC_OscInitStruct->PLL.PLLQ = (uint32_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos);
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c: 0 warnings, 23 errors
compiling stm32f4xx_hal_hcd.c...
compiling heap_4.c...
compiling cmsis_os.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_ll_usb.c...
compiling croutine.c...
compiling list.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling event_groups.c...
compiling port.c...
compiling timers.c...
compiling stm32f4xx_hal_tim.c...
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(805): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(848): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(928): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1005): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1153): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1234): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1442): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1485): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1564): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1641): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1788): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(1869): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(2727): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(2761): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(2833): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(2872): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6591): warning: #223-D: function "IS_TIM_COUNTER_MODE_SELECT_INSTANCE" declared implicitly
if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6598): warning: #223-D: function "IS_TIM_CLOCK_DIVISION_INSTANCE" declared implicitly
if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6616): warning: #223-D: function "IS_TIM_REPETITION_COUNTER_INSTANCE" declared implicitly
if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6674): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6750): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6824): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c(6887): warning: #223-D: function "IS_TIM_BREAK_INSTANCE" declared implicitly
if (IS_TIM_BREAK_INSTANCE(TIMx))
..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c: 23 warnings, 0 errors
compiling queue.c...
compiling tasks.c...
compiling usb_host.c...
compiling usbh_conf.c...
".\Objects\mdk_app.axf" - 44 Error(s), 24 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03
请先登录再写评论。
评论
2 条评论