【模块名_概率】简要描述: when including header files, if the dependent header file is across different repository, then relative path shouldn't be used. Need to include that path in build files.
example:
diff --git a/kal/cmsis/cmsis_os2.h b/kal/cmsis/cmsis_os2.h
index b149eba..8810167 100644
--- a/kal/cmsis/cmsis_os2.h
+++ b/kal/cmsis/cmsis_os2.h
@@ -29,4 +29,4 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "../../../../third_party/cmsis/CMSIS/RTOS2/Include/cmsis_os2.h"
+#include "CMSIS/RTOS2/Include/cmsis_os2.h"
【环境信息】:
【预置条件】:
【测试步骤】:
【预期结果】:
【实际结果】:
【恢复手段】:
【出现概率】:问题出现次数/实际测试次数
【定位信息】:
this is not a technical issue but a historical issue, the existence of this file is only for some old projects that includes this file (cmsis_os2.h
) but not add CMSIS/RTOS2/Include
to their include pathes, this file just do a redirection for them, if they are willing to modify their makefile scripts, then this file could be removed.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论