../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汇编求助
报错Could not determine GDB version using command: arm-none-eabi-gdb --version
stm32f107vct6配RTL8201例程
STM32F103VGT6 能代替 STM32F103VFT6 吗?
STM32 读取DHT20,跑的官方的例程一直读取失败,初学者,各位大佬能指点一下不
向各位大佬请教一个问题
STM32CubeMX 使用"FW_F1 V1.8.6"生成FreeRTOS代码缺少"freertos_mpool.h"?
STM32F103中一直提示 "RTC_InitTypeDef" is undefined
CUbeIde如何禁止使用最新的固件包
FOC2.0母线电流如何计算