我正在将实时内核移植到Cortex-M体系结构上,所以我已经安装了Keil并试图构建内核。然而,我面临着意想不到的问题:编译器似乎无法处理inline函数。下面是简单的代码:{}src\appl\main.c(17): warning: #260-D: explicit type is missing ("int" assumed)src\appl\main.<em
我使用armcc在Keil 5中编译:我得到了以下错误:
compiling softdevice_handler.c...\components\softdevice\common\softdevice_handler\softdevice_handler.c": No such file or direc
我在带有keil ide和arm编译器版本6和g++17的stm32f407上使用freeRTOS,我不喜欢使用freeRTOS线程API。相反,我希望使用std::thread c++本机库。但是当我包含#include <thread>时,keil抛出这个错误:error: <thread> is not supported on this single threaded system。当我使用freeRTOS时,这意味着我的平台不是单线程的,那么为什么keil抛出这个错误呢?