Skip to content

编译PY32F003报错,是不支持003吗 #8

Description

@chen70854022

C:\Users\Administrator\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.3\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1275:44: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
1275 | RCC_OscInitStruct->PLL.PLLSource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
| ^~~~~~~
| CFGR
C:\Users\Administrator\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.3\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1275:54: error: 'RCC_PLLCFGR_PLLSRC' undeclared (first use in this function)
1275 | RCC_OscInitStruct->PLL.PLLSource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
| ^~~~~~~~~~~~~~~~~~
exit status 1

Compilation error: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions