STM32cube自动生成的工程忽然就报bug了,好像在Windows上也出现过,莫名其妙,现在公司的Linux上也出现了
Description Resource Path Location Type
Field '__HAL_RCC_GPIOA_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Field '__HAL_RCC_GPIOA_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Field '__HAL_RCC_GPIOB_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Field '__HAL_RCC_GPIOB_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'GPIO_CRL_MODE0_1' could not be resolved main.c /Hub_of_park_dispatch/Src line 189 Semantic Error
Symbol 'GPIOB' could not be resolved main.c /Hub_of_park_dispatch/Src line 183 Semantic Error
Symbol 'GPIOB' could not be resolved main.c /Hub_of_park_dispatch/Src line 190 Semantic Error
Symbol 'RCC_APB2ENR_IOPAEN' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'RCC_APB2ENR_IOPAEN' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'RCC_APB2ENR_IOPBEN' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'RCC_APB2ENR_IOPBEN' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'RCC_CFGR_HPRE_DIV1' could not be resolved main.c /Hub_of_park_dispatch/Src line 141 Semantic Error
Symbol 'RCC_CFGR_PPRE1_DIV1' could not be resolved main.c /Hub_of_park_dispatch/Src line 142 Semantic Error
Symbol 'RCC_CFGR_PPRE1_DIV1' could not be resolved main.c /Hub_of_park_dispatch/Src line 143 Semantic Error
Symbol 'RCC_CFGR_SW_HSI' could not be resolved main.c /Hub_of_park_dispatch/Src line 140 Semantic Error
Symbol 'RCC_CR_HSION' could not be resolved main.c /Hub_of_park_dispatch/Src line 127 Semantic Error
Symbol 'RCC' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'RCC' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'RCC' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'RCC' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'SysTick_IRQn' could not be resolved main.c /Hub_of_park_dispatch/Src line 163 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Symbol 'tmpreg' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Type '__HAL_RCC_GPIOA_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 179 Semantic Error
Type '__HAL_RCC_GPIOB_CLK_ENABLE()' could not be resolved main.c /Hub_of_park_dispatch/Src line 180 Semantic Error
Invalid project path: Include path not found (/media/allen/CP/SW4STM32/Project/Hub_of_park_dispatch/Drivers/CMSIS/Include). Hub_of_park_dispatch pathentry Path Entry Problem
Invalid project path: Missing project folder or file: /Hub_of_park_dispatch/startup for Source path. Hub_of_park_dispatch pathentry Path Entry Problem
Statement has no effect '__HAL_RCC_GPIOA_CLK_ENABLE()' main.c /Hub_of_park_dispatch/Src line 179 Code Analysis Problem
Statement has no effect '__HAL_RCC_GPIOB_CLK_ENABLE()' main.c /Hub_of_park_dispatch/Src line 180 Code Analysis Problem