
../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 | { | ^ |
stm32f407无法配置定时器2为全部dma
STM32F103TBU6 封装是VFQFPN36 将PD0和PD1配置成CAN不成功是什么原因
串口DMA + 空闲中断收发 ?
F103RCT6芯片对AFIO->MAPR寄存器写入时出错
使用STM32捕获PWM时同时捕获2个通道时会出现捕获的频率值不准确的问题
WS2812B怎么显示任意字符 / 图案?
STM32F103RCT6 定位孔 镂空,会影响使用吗?
HAL库1.8.4在做破坏性测试的时候出现g_state永远为busy的情况导致串口通信发送卡死
L9663驱动开发
用rt_thread 环境编写,DAP-LINK 下载烧录,每一次空芯片下载之后就无法二次下载。求解