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

Build error #1

Open
ANH2018 opened this issue May 20, 2024 · 0 comments
Open

Build error #1

ANH2018 opened this issue May 20, 2024 · 0 comments

Comments

@ANH2018
Copy link

ANH2018 commented May 20, 2024

Dear addmin, im new!
im have issue then build arduini ide py32:
File -> example -> basic -> bink -> complie and have issue
Thanks for help !
IMAGE ISSUE:
Uploading issu.png…

TEXT ISSUE.

In file included from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_def.h:35,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:32,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/PY32F0xx/py32f0xx_hal_conf_default.h:208,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/PY32F0xx/py32f0xx_hal_conf.h:13,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal.h:33,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:57,
                 from C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\libraries\SrcWrapper\src\HAL\py32yyxx_hal_rcc.c:8:
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c: In function 'HAL_RCC_DeInit':
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:251:28: error: 'RCC_CR_PLLRDY' undeclared (first use in this function); did you mean 'RCC_IT_PLLRDY'?
  251 |   while (READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
      |                            ^~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:174:41: note: in definition of macro 'READ_BIT'
  174 | #define READ_BIT(REG, BIT)    ((REG) & (BIT))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:251:28: note: each undeclared identifier is reported only once for each function it appears in
  251 |   while (READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
      |                            ^~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:174:41: note: in definition of macro 'READ_BIT'
  174 | #define READ_BIT(REG, BIT)    ((REG) & (BIT))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:260:8: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
  260 |   RCC->PLLCFGR = 0x00000000u;
      |        ^~~~~~~
      |        CFGR
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c: In function 'HAL_RCC_OscConfig':
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1514:56: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
 1514 | #define __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC))
      |                                                        ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:322:21: note: in expansion of macro '__HAL_RCC_GET_PLL_OSCSOURCE'
  322 |     temp_pllckcfg = __HAL_RCC_GET_PLL_OSCSOURCE();
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1514:66: error: 'RCC_PLLCFGR_PLLSRC' undeclared (first use in this function)
 1514 | #define __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC))
      |                                                                  ^~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:322:21: note: in expansion of macro '__HAL_RCC_GET_PLL_OSCSOURCE'
  322 |     temp_pllckcfg = __HAL_RCC_GET_PLL_OSCSOURCE();
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:325:29: error: 'RCC_CFGR_SWS_PLL' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_Pos'?
  325 |     if (((temp_sysclksrc == RCC_CFGR_SWS_PLL) && (temp_pllckcfg == RCC_PLLSOURCE_HSE)) || (temp_sysclksrc == RCC_CFGR_SWS_HSE))
      |                             ^~~~~~~~~~~~~~~~
      |                             RCC_CFGR_SWS_Pos
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:408:40: error: 'RCC_PLLCFGR_PLLSRC_HSE' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_HSE'?
  408 | #define RCC_PLLSOURCE_HSE              RCC_PLLCFGR_PLLSRC_HSE  /*!< HSE clock selected as PLL entry clock source */
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:325:68: note: in expansion of macro 'RCC_PLLSOURCE_HSE'
  325 |     if (((temp_sysclksrc == RCC_CFGR_SWS_PLL) && (temp_pllckcfg == RCC_PLLSOURCE_HSE)) || (temp_sysclksrc == RCC_CFGR_SWS_HSE))
      |                                                                    ^~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1514:56: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
 1514 | #define __HAL_RCC_GET_PLL_OSCSOURCE() ((uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC))
      |                                                        ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:398:21: note: in expansion of macro '__HAL_RCC_GET_PLL_OSCSOURCE'
  398 |     temp_pllckcfg = __HAL_RCC_GET_PLL_OSCSOURCE();
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:407:40: error: 'RCC_PLLCFGR_PLLSRC_HSI' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_HSI'?
  407 | #define RCC_PLLSOURCE_HSI              RCC_PLLCFGR_PLLSRC_HSI  /*!< HSI clock selected as PLL entry clock source */
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:399:68: note: in expansion of macro 'RCC_PLLSOURCE_HSI'
  399 |     if (((temp_sysclksrc == RCC_CFGR_SWS_PLL) && (temp_pllckcfg == RCC_PLLSOURCE_HSI)) || (temp_sysclksrc == RCC_CFGR_SWS_HSI))
      |                                                                    ^~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1492:59: error: 'RCC_CR_PLLON' undeclared (first use in this function); did you mean 'RCC_CR_HSION'?
 1492 | #define __HAL_RCC_PLL_DISABLE()        CLEAR_BIT(RCC->CR, RCC_CR_PLLON)
      |                                                           ^~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:172:43: note: in definition of macro 'CLEAR_BIT'
  172 | #define CLEAR_BIT(REG, BIT)   ((REG) &= ~(BIT))
      |                                           ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:656:9: note: in expansion of macro '__HAL_RCC_PLL_DISABLE'
  656 |         __HAL_RCC_PLL_DISABLE();
      |         ^~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:662:34: error: 'RCC_CR_PLLRDY' undeclared (first use in this function); did you mean 'RCC_IT_PLLRDY'?
  662 |         while (READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
      |                                  ^~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:174:41: note: in definition of macro 'READ_BIT'
  174 | #define READ_BIT(REG, BIT)    ((REG) & (BIT))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1505:35: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
 1505 |                   MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, (__PLLSOURCE__))
      |                                   ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:178:33: note: in definition of macro 'WRITE_REG'
  178 | #define WRITE_REG(REG, VAL)   ((REG) = (VAL))
      |                                 ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1505:19: note: in expansion of macro 'MODIFY_REG'
 1505 |                   MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, (__PLLSOURCE__))
      |                   ^~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:679:9: note: in expansion of macro '__HAL_RCC_PLL_PLLSOURCE_CONFIG'
  679 |         __HAL_RCC_PLL_PLLSOURCE_CONFIG(RCC_OscInitStruct->PLL.PLLSource);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1505:35: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
 1505 |                   MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, (__PLLSOURCE__))
      |                                   ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:178:41: note: in definition of macro 'WRITE_REG'
  178 | #define WRITE_REG(REG, VAL)   ((REG) = (VAL))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:182:66: note: in expansion of macro 'READ_REG'
  182 | #define MODIFY_REG(REG, CLEARMASK, SETMASK)  WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
      |                                                                  ^~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:1505:19: note: in expansion of macro 'MODIFY_REG'
 1505 |                   MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, (__PLLSOURCE__))
      |                   ^~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:679:9: note: in expansion of macro '__HAL_RCC_PLL_PLLSOURCE_CONFIG'
  679 |         __HAL_RCC_PLL_PLLSOURCE_CONFIG(RCC_OscInitStruct->PLL.PLLSource);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:702:25: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
  702 |         MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, PLLSOURCE_NONE);
      |                         ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:178:33: note: in definition of macro 'WRITE_REG'
  178 | #define WRITE_REG(REG, VAL)   ((REG) = (VAL))
      |                                 ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:702:9: note: in expansion of macro 'MODIFY_REG'
  702 |         MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, PLLSOURCE_NONE);
      |         ^~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:702:25: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
  702 |         MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, PLLSOURCE_NONE);
      |                         ^~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:178:41: note: in definition of macro 'WRITE_REG'
  178 | #define WRITE_REG(REG, VAL)   ((REG) = (VAL))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:182:66: note: in expansion of macro 'READ_REG'
  182 | #define MODIFY_REG(REG, CLEARMASK, SETMASK)  WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
      |                                                                  ^~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:702:9: note: in expansion of macro 'MODIFY_REG'
  702 |         MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC, PLLSOURCE_NONE);
      |         ^~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:727:30: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
  727 |         temp_pllckcfg = RCC->PLLCFGR;
      |                              ^~~~~~~
      |                              CFGR
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c: In function 'HAL_RCC_ClockConfig':
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:858:29: error: 'RCC_CR_PLLRDY' undeclared (first use in this function); did you mean 'RCC_IT_PLLRDY'?
  858 |       if (READ_BIT(RCC->CR, RCC_CR_PLLRDY) == 0U)
      |                             ^~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/CMSIS/Device/PY32F0xx/Include/py32f0xx.h:174:41: note: in definition of macro 'READ_BIT'
  174 | #define READ_BIT(REG, BIT)    ((REG) & (BIT))
      |                                         ^~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c: In function 'HAL_RCC_GetSysClockFreq':
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1118:45: error: 'RCC_CFGR_SWS_PLL' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_Pos'?
 1118 |   else if (__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL)
      |                                             ^~~~~~~~~~~~~~~~
      |                                             RCC_CFGR_SWS_Pos
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1120:23: error: 'RCC_TypeDef' has no member named 'PLLCFGR'; did you mean 'CFGR'?
 1120 |     pllsource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
      |                       ^~~~~~~
      |                       CFGR
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1120:33: error: 'RCC_PLLCFGR_PLLSRC' undeclared (first use in this function)
 1120 |     pllsource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
      |                                 ^~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:408:40: error: 'RCC_PLLCFGR_PLLSRC_HSE' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_HSE'?
  408 | #define RCC_PLLSOURCE_HSE              RCC_PLLCFGR_PLLSRC_HSE  /*!< HSE clock selected as PLL entry clock source */
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1124:10: note: in expansion of macro 'RCC_PLLSOURCE_HSE'
 1124 |     case RCC_PLLSOURCE_HSE:  /* HSE used as PLL clock source */
      |          ^~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Inc/py32f0xx_hal_rcc.h:407:40: error: 'RCC_PLLCFGR_PLLSRC_HSI' undeclared (first use in this function); did you mean 'RCC_CFGR_SWS_HSI'?
  407 | #define RCC_PLLSOURCE_HSI              RCC_PLLCFGR_PLLSRC_HSI  /*!< HSI clock selected as PLL entry clock source */
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1128:10: note: in expansion of macro 'RCC_PLLSOURCE_HSI'
 1128 |     case RCC_PLLSOURCE_HSI:  /* HSI used as PLL clock source */
      |          ^~~~~~~~~~~~~~~~~
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c: In function 'HAL_RCC_GetOscConfig':
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\system/Arduino-PY32F0xx-Drivers/PY32F0xx_HAL_Driver/Src/py32f0xx_hal_rcc.c:1266:18: error: 'RCC_CR_PLLON' undeclared (first use in this function); did you mean 'RCC_CR_HSION'?
 1266 |   if ((RCC->CR & RCC_CR_PLLON) == RCC_CR_PLLON)
      |                  ^~~~~~~~~~~~
      |                  RCC_CR_HSION
C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\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\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\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);
      |                                                      ^~~~~~~~~~~~~~~~~~

Using library SrcWrapper at version 0.0.1 in folder: C:\Users\youtb\AppData\Local\Arduino15\packages\PY32Duino\hardware\PY32\0.1.2\libraries\SrcWrapper 
exit status 1

Compilation error: exit status 1
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

No branches or pull requests

1 participant