Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Compilation error at system_stm32f1xx.o (__STATIC_INLINE problem) #15

Open
ArturNadolski opened this issue Apr 24, 2019 · 2 comments
Open

Comments

@ArturNadolski
Copy link

Compiling .pioenvs\BIGTREE_TFT35_V1_2\FrameworkCMSISDevice\system_stm32f1xx.o
In file included from C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_ll_utils.c:36:0:
C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Inc/stm32f1xx_ll_rcc.h:760:17: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
__STATIC_INLINE void LL_RCC_HSE_EnableCSS(void)
^~~~
C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Inc/stm32f1xx_ll_rcc.h:770:17: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
__STATIC_INLINE void LL_RCC_HSE_EnableBypass(void)
^~~~
C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Inc/stm32f1xx_ll_rcc.h:780:17: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
__STATIC_INLINE void LL_RCC_HSE_DisableBypass(void)
^~~~
C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Inc/stm32f1xx_ll_rcc.h:790:17: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
__STATIC_INLINE void LL_RCC_HSE_Enable(void)
^~~~
C:\Users\Artur.platformio\packages\framework-stm32cube\f1\Drivers\STM32F1xx_HAL_Driver\Inc/stm32f1xx_ll_rcc.h:800:17: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void'
__STATIC_INLINE void LL_RCC_HSE_Disable(void)
^~~~
compilation terminated due to -fmax-errors=5.
*** [.pioenvs\BIGTREE_TFT35_V1_2\FrameworkHALDriver\Src\stm32f1xx_ll_utils.o] Error 1

@ArturNadolski ArturNadolski changed the title Compilation error at system_stm32f1xx.o Compilation error at system_stm32f1xx.o (__STATIC_INLINE problem) Apr 24, 2019
@ArturNadolski
Copy link
Author

After deleting _STATIC_INLINE from all files I was able to compile project.
Later I will check does new FW will be accepted by TFT35.

@ArturNadolski
Copy link
Author

It's working. I was able to modify code, compile and update device FW.

omarcin96 added a commit to omarcin96/BIGTREETECH-TFT35-V1.2 that referenced this issue Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant