
../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 | { | ^ |
stm32编码器模式计数问题
关于ASM330LHH TR调试中的问题
STM32会存在单个IO口坏掉的情况吗?
STM32的DCode bus是连接到bus matrix的吗?参考手册描述和图片是不符吗?
stm32ide怎么正确的导出项目
STM32F105RBT6 2025年 ROSH REACH 报告
STM32CubeMX 使用"FW_F1 V1.8.6"生成FreeRTOS代码缺少"freertos_mpool.h"?
你好,我的setting里面设置都没有问题。但是显示failed download cortexm3
STM32F103C8出現找不到'STM32100B_EVAL/stm32100b_eval.h' file not found
stm32f407无法配置定时器2为全部dma