C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include\arm_math.h(329): error: #35: #error directive: "Define according the used Cortex core A
时间: 2023-10-05 19:09:02 浏览: 140
引表示在cmsis_armclang_ltm.h文件中修复了编译问题,版本为5.5.0。引用表示CMSIS-Core版本为4.00,增加了Cortex-M7的支持,并修正了核心头文件中的C包含保护。引用提供了CMSIS DSP软件库的文档和概述链接。根据引用内容,C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include\arm_math.h文件的第329行出现了一个错误,错误信息是#error directive: "Define according the used Cortex core A。根据错误信息,可能是未正确定义使用的Cortex核心的错误。
相关问题
D:\keil5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include
回答: 在D:\keil5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include目录下,你可以找到CMSIS提供的头文件。这些头文件包含了一些宏定义和函数声明,用于支持ARM Cortex-M处理器的开发。其中,引用[1]提到了一种推荐的宏句法,用于替代在ARM Compiler 5中使用的typedef __packed struct {}X;句法。引用[2]提到了FreeRTOS的移植层文件的路径变化,从..\FreeRTOS\Source\portable\RVDS\ARM_CM3目录下的port.c和portmacro.h文件改为..\FreeRTOS\Source\portable\GCC\ARM_CM3目录下的port.c和portmacro.h文件。引用[3]给出了一个在ARM Compiler 5中的示例代码,用于获取Flash的基地址。
c:\keil_v5\arm\armcc\bin\..\in
引用:编译完成的工程出错 *** Error: CreateProcess failed, Command: 'C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\Output\w5500_gateway_17_5_18.bin .\Output\w5500_gateway_17_5_18.axf' 。 引用:MDK中自动转BIN文件的简化程序,转换通常要配置 ……Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o ./Debug/led.bin ./Debug/led.axf这样一串的长数据,通过这个程序就只需要,配置为,如:C:\Program Files\Hex2Bin\...。
根据引用,这个错误是由于在编译完成的工程中创建进程的过程中产生了错误。具体错误命令为'C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\Output\w5500_gateway_17_5_18.bin .\Output\w5500_gateway_17_5_18.axf'。而根据引用,这是一个用于自动转换BIN文件的程序,并且需要进行相应的配置。所以,可能的解决方法是检查并确保路径配置正确,包括fromelf.exe和输入输出文件的路径。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\Output\w5500_gateway_17_5_18.bin .\Output\w5500](https://blog.csdn.net/xiaohu1996/article/details/82711202)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Hex2Bin.zip](https://download.csdn.net/download/neo_wordsworth/11612149)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [MDK错误:After Build - User command #1: C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\..\..\Output](https://blog.csdn.net/weixin_42362528/article/details/124338727)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]