OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 6940|回复: 4

用cubeMX生成stm32U5的代码,编译报错:ArmClang: fatal error: no target architecture given; use --target=arm-arm-none-e...

[复制链接]

7

主题

20

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2022-1-17
在线时间
18 小时
发表于 2022-6-17 13:56:58 | 显示全部楼层 |阅读模式
1金钱
keil版本是536 有没有大佬遇到过这种情况,怎么解决呀

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

7

主题

20

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2022-1-17
在线时间
18 小时
 楼主| 发表于 2022-6-17 14:59:04 | 显示全部楼层
回复

使用道具 举报

4

主题

896

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
4303
金钱
4303
注册时间
2019-9-4
在线时间
896 小时
发表于 2022-6-17 15:36:46 | 显示全部楼层
没遇到过,帮顶  
回复

使用道具 举报

7

主题

20

帖子

0

精华

初级会员

Rank: 2

积分
124
金钱
124
注册时间
2022-1-17
在线时间
18 小时
 楼主| 发表于 2022-6-17 17:43:57 | 显示全部楼层
找了一些帖子改动之后变成这样了:

compiling system_stm32u5xx.c...
ArmClang: error: Your installation could be misconfigured or corrupted.
ArmClang: note: Check that your licensing and toolkit configuration is set up correctly, using the information available at: https://developer.arm.com/tools- ... lkit-configuration.
ArmClang: note: Information about this error is available at: http://ds.arm.com/support/lic86
General licensing information is available at: http://ds.arm.com/support/licensing/
If you need further help, provide this complete error report to your supplier or license.support@arm.com.
- ARMLMD_LICENSE_FILE: unset
- LM_LICENSE_FILE: unset
- ARM_PRODUCT_DEF: unset
- ARM_PRODUCT_PATH: unset
- ARM_TOOL_VARIANT: unset
- Product location: product not found
- Toolchain location: D:\Program Files\Keil_v5\ARM\ARMCLANG\Bin
- Selected tool variant: product
Product: unknown
Component: ARM Compiler 6.16
Tool: armclang [5dfeb700]
回复

使用道具 举报

16

主题

45

帖子

0

精华

初级会员

Rank: 2

积分
125
金钱
125
注册时间
2017-7-21
在线时间
47 小时
发表于 2023-9-6 16:58:35 | 显示全部楼层
麻烦问一下博主用的什么烧录器,为什么我用jlink连不上STM32U5   是不支持吗  STLINK可以连上
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-2-24 18:00

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表