
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name '__forceinline' 167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected 'volatile', 'inline', 'goto', or '(' 170 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name '__forceinline' 178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected 'volatile', 'inline', 'goto', or '(' 183 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name '__forceinline' 193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected 'volatile', 'inline', 'goto', or '(' 196 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name '__forceinline' 205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ';' after top level declarator 205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void ) | ^ | ; ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name '__forceinline' 223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ';' after top level declarator 223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void ) | ^ | ; 10 errors generated. compiling freertos.c... ../Core/Src/main.c(21): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2\cmsis_os.h(126): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name '__forceinline' 167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected 'volatile', 'inline', 'goto', or '(' 170 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name '__forceinline' 178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected 'volatile', 'inline', 'goto', or '(' 183 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name '__forceinline' 193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected 'volatile', 'inline', 'goto', or '(' 196 | { | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name '__forceinline' 205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ';' after top level declarator 205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void ) | ^ | ; ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name '__forceinline' 223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ';' after top level declarator 223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void ) | ^ | ; 10 errors generated. compiling main.c... compiling stm32f1xx_hal.c... compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal_rcc.c... assembling startup_stm32f103xb.s... compiling stm32f1xx_hal_gpio.c... compiling stm32f1xx_hal_flash.c... compiling system_stm32f1xx.c... compiling stm32f1xx_hal_flash_ex.c... compiling stm32f1xx_hal_exti.c... compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_tim_ex.c... ../Middlewares/Third_Party/FreeRTOS/Source/croutine.c(28): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): warning: In file included from... ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name '__forceinline' 167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI ) | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro 'portFORCE_INLINE' 162 | #define portFORCE_INLINE __forceinline | ^ ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected 'volatile', 'inline', 'goto', or '(' 170 | { | ^ |
STM32F103长时间运行,串口发送失败
STM32G474 BOOST电路双环PID的用法
foc2.0函数SVPWM_3ShuntCalcDutyCycles看不明白
stm32f103c8t6:没有对flash进行任何操作,flash的内容发生变化了。具体是哪些原因?如何调试排查原因。
STM32F103C8T6 TIM1 CH2输入捕获触发DMA的问题
STM32会存在单个IO口坏掉的情况吗?
STM32F103RET6 FLASH擦除失败问题
6.28周六签到打卡
请问有stm32f103驱动无刷电机的学习资料吗,找了很久都没有找到
stm32编码器模式计数问题