野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 128|回复: 1

[求助] 学习过程中的问题-使用c语言和SDK进行点亮LED失败

[复制链接]
发表于 2024-3-21 17:57:56 | 显示全部楼层 |阅读模式
使用c语言和SDK进行点亮LED失败

embedfire@embedfire-VirtualBox:~/workdir/bare_metal/part_3$ sudo make
[sudo] embedfire 的密码:
mkdir -p build
gcc -c source/start.s -o build/start.o -Iinclude
source/start.s: Assembler messages:
source/start.s:6: 错误: no such instruction: `ldr sp,=0X84000000'
source/start.s:9: 错误: no such instruction: `b main'
Makefile:44: recipe for target 'build/start.o' failed
make: *** [build/start.o] Error 1


start.s

start.s
回复

使用道具 举报

发表于 2024-3-30 02:30:51 | 显示全部楼层
测试下例程能不能make,如果能make对比下是不是自己哪里打错了
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-4-28 22:59 , Processed in 0.131363 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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