开源改变世界

H桥步进驱动器问题 #185

推推 grbl 3年前 (2023-01-21) 120次浏览

关闭
offon 开了这个issue 2013 年 2 月 13 日 · 1条评论
关闭

H桥步进驱动器问题#185

offon 开了这个issue 2013 年 2 月 13 日 · 1条评论

注释

H桥步进驱动器问题 #185

当我尝试使用 ardunio2560 制作 hex 文件时遇到一些问题:
有人可以帮我解决这个问题吗?

“make.exe”所有
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I。-ffunction-sections -c main.c -o main.o
main.c: In function ‘main’:
main.c:84: warning: array subscript is above array bounds
main.c:85: warning: 数组下标高于数组边界
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c motion_control.c -o motion_control.o
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c gcode.c -o gcode.o
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c spindle_control.c -o spindle_control.o
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c serial.c -o serial.o
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c protocol.c -o protocol.o
protocol.c: 在函数 ‘protocol_status_report’:
protocol.c:107: warning: array subscript is above array bounds
protocol.c:107: warning: array subscript is above数组边界
avr-gcc -Wall -Os -DF_CPU=20000000 -mmcu=atmega2560 -I. -ffunction-sections -c stepper.c -o stepper.o
stepper.c:37:1: warning: “STEP_MASK” redefined
In file included from stepper.c:25:
stepper.h:29:1: 警告:这是先前定义的位置
stepper.c:38:1: warning: “DIRECTION_MASK” redefined
stepper.h:30:1: warning: this is the location of the previous definition
stepper.c:89: 错误:’st_go_idle’ 的静态声明遵循非静态声明
stepper.h:38: 错误:’st_go_idle’ 的先前声明在这里
stepper.c: 在函数 ‘st_go_home’ 中:
stepper.c:505 :错误:函数“plan_set_current_position”
make.exe 的参数太少:*** [stepper.o] 错误 1

进程退出代码:2
所用时间:00:01

H桥步进驱动器问题 #185
成员

抱歉,Grbl 不支持 H 桥驱动程序,也不是为了处理这些驱动程序而编写的。那里有一些 hack 似乎可以使它们工作,但我不能说它们有多有效,因为我没有玩过它们。请查看有关 H 桥驱动程序的一些已关闭问题及其上的 Wiki 页面(尽管它已过时)以获取更多信息。

喜欢 (0)