关闭 mcanes 打开了这个问题 2012 年 4 月 18 日 · 1条评论 关闭 运行 make grbl.hex 时出错#89 mcanes 打开了这个问题 2012 年 4 月 18 日 · 1条评论 注释 麦克斯 评论了 2012 年 4 月 18 日 运行 make clean;make grbl.hex 我遇到了这个错误: $ make grbl.hex avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c main.c -o main.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c motion_control.c -o motion_control.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c gcode.c -o gcode.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c spindle_control.c -o spindle_control.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c serial.c -o serial.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c protocol.c -o protocol.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c stepper.c -o stepper.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c eeprom.c -o eeprom.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c settings.c -o settings.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c planner.c -o planner.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c nuts_bolts.c -o nuts_bolts.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c limits.c -o limits.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c print.c -o print.o avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -o main.elf main.o motion_control.o gcode.o spindle_control.o serial.o protocol.o stepper.o eeprom.o settings.o planner.o nuts_bolts.o limits.o print.o -lm -Wl ,–gc-sections rm -f grbl.hex avr-objcopy -j .text -j .data -O ihex main.elf grbl.hex avr-size –mcu=atmega328p main.elf avr-size: 无法识别option ‘–mcu=atmega328p’ Usage: avr-size [option(s)] [file(s)] 显示二进制文件中各部分的大小 如果未指定输入文件,则假定为 a.out 选项是: -A|-B –format={sysv|berkeley} 选择输出样式(默认为 berkeley) -o|-d|-x –radix={8|10|16} 以八进制、十进制或十六进制显示数字 -t –totals 显示总大小(仅限伯克利) –common 显示COM syms的总大小 – -target= 设置二进制文件格式 @ Read options from -h –help Display this information -v –version Display the program’s version avr-size:支持的目标:elf32-avr elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex make:*** [grbl.hex] 错误 1 avrdude 信息 avrdude 版本 5.11.1 $ avr-size –version GNU size (GNU Binutils) 2.22.0.20120323 我能做什么? 作者 麦克斯 评论了 2012 年 4 月 18 日 固定在主人身上。对不起! mcanes已完成 关闭 2012 年 4 月 18 日 喜欢 (0) 在项目“多轴步进协处理器”方面需要一些帮助 #53 关于G4的问题 #54 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭 无法在 gsender 1.2.0 中打开 .gcode 文件 #367 RaspberryPi 运行 gsender 时出现问题 #89 向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭无法在 gsender 1.2.0 中打开 .gcode 文件 #367RaspberryPi 运行 gsender 时出现问题 #89向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473功能请求:抑制发送到机器的 gcode 中的 gcode 注释。 #444 关闭通过网络连接进行连接 #171操纵杆运动的剩余问题 #204 关闭新版本认为我的机器一直处于锁定状态 #474 关闭
运行 make clean;make grbl.hex 我遇到了这个错误:
$ make grbl.hex
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c main.c -o main.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c motion_control.c -o motion_control.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c gcode.c -o gcode.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c spindle_control.c -o spindle_control.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c serial.c -o serial.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c protocol.c -o protocol.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c stepper.c -o stepper.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c eeprom.c -o eeprom.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c settings.c -o settings.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c planner.c -o planner.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c nuts_bolts.c -o nuts_bolts.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c limits.c -o limits.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -c print.c -o print.o
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega328p -I. -ffunction-sections -o main.elf main.o motion_control.o gcode.o spindle_control.o serial.o protocol.o stepper.o eeprom.o settings.o planner.o nuts_bolts.o limits.o print.o -lm -Wl ,–gc-sections
rm -f grbl.hex
avr-objcopy -j .text -j .data -O ihex main.elf grbl.hex
avr-size –mcu=atmega328p main.elf
avr-size: 无法识别option ‘–mcu=atmega328p’
Usage: avr-size [option(s)] [file(s)]
显示二进制文件中各部分的大小
如果未指定输入文件,则假定为 a.out
选项是:
-A|-B –format={sysv|berkeley} 选择输出样式(默认为 berkeley)
-o|-d|-x –radix={8|10|16} 以八进制、十进制或十六进制显示数字
-t –totals 显示总大小(仅限伯克利)
–common 显示COM syms的总大小
– -target= 设置二进制文件格式
@ Read options from
-h –help Display this information
-v –version Display the program’s version
avr-size:支持的目标:elf32-avr elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
make:*** [grbl.hex] 错误 1
avrdude 信息
avrdude 版本 5.11.1
$ avr-size –version
GNU size (GNU Binutils) 2.22.0.20120323
我能做什么?