Forum: Mikrocontroller und Digitale Elektronik GRBL für ct JogPad


von Andreas R. (andreas_r984)


Angehängte Dateien:

Lesenswert?

Hallo @all,
da ich neu hier bin möchte ich mich mal kurz vorstellen.
Ich bin 51 Jahr alt und habe mal Radio und Fernsehtechniker gelernt das 
war zu einer Zeit als die Fernseher noch Röhren hatten und gerade das 
Vormittagsprogramm eingeführt wurde. :-)
Danach habe ich Automatisierungstechnik studiert und arbeite bei einer 
Chemie Firma und automatisiere dort die Prozesse.
Meine Erfahrung mit dem compilieren von Controllern ist schon ein 
1/4Jahrhundert her daher bitte um Nachsicht wenn ich mich hier etwas 
ungeschickt ausdrücke.

So jetzt zu meinem eigentlichen Problem, ich habe mir aus der c´t die 
Holzfräse nachgebaut sowie das JogPad mit dem ATmeaga644.
Den Mega habe ich dann die Software aus dem github für die Fräse 
erstellen und in den AVR flashen können.
https://github.com/heise/GRBL-JOG

Da aber es hier Problem gibt und ich die Maschine so nicht nutzen kann 
wollte ich diese Version probieren
https://github.com/morres83/grbl/tree/GRBL-JOG_edge
Dazu habe ich das makefile angepasst. Wenn ich jetzt make starte erhalte 
ich eine Fehlermeldung die ich nicht interpretieren kann.

Bitte gebt mir mal einen Rat was hier falsch läuft.
Danke schon im voraus
Andreas
1
D:\Projekte\ct Fräse\grbl-GRBL-JOG_edge>make
2
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
3
-MP -c grbl/main.c -o build/main.o
4
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
5
-MP -c grbl/motion_control.c -o build/motion_control.o
6
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
7
-MP -c grbl/gcode.c -o build/gcode.o
8
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
9
-MP -c grbl/spindle_control.c -o build/spindle_control.o
10
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
11
-MP -c grbl/coolant_control.c -o build/coolant_control.o
12
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
13
-MP -c grbl/serial.c -o build/serial.o
14
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
15
-MP -c grbl/protocol.c -o build/protocol.o
16
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
17
-MP -c grbl/stepper.c -o build/stepper.o
18
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
19
-MP -c grbl/eeprom.c -o build/eeprom.o
20
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
21
-MP -c grbl/settings.c -o build/settings.o
22
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
23
-MP -c grbl/planner.c -o build/planner.o
24
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
25
-MP -c grbl/nuts_bolts.c -o build/nuts_bolts.o
26
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
27
-MP -c grbl/limits.c -o build/limits.o
28
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
29
-MP -c grbl/print.c -o build/print.o
30
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
31
-MP -c grbl/probe.c -o build/probe.o
32
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
33
-MP -c grbl/report.c -o build/report.o
34
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -MMD
35
-MP -c grbl/system.c -o build/system.o
36
avr-gcc -Wall -Os -DF_CPU=16000000 -mmcu=atmega644 -I. -ffunction-sections -o bu
37
ild/main.elf build/main.o build/motion_control.o build/gcode.o build/spindle_con
38
trol.o build/coolant_control.o build/serial.o build/protocol.o build/stepper.o b
39
uild/eeprom.o build/settings.o build/planner.o build/nuts_bolts.o build/limits.o
40
 build/print.o build/probe.o build/report.o build/system.o -lm -Wl,--gc-sections
41
42
build/main.o: In function `main':
43
main.c:(.text.main+0x46): undefined reference to `jog_init'
44
build/protocol.o: In function `protocol_main_loop':
45
protocol.c:(.text.protocol_main_loop+0x50): undefined reference to `jogging'
46
make: *** [build/main.elf] Error 1

von hp-freund (Gast)


Lesenswert?

Hi,
das liegt daran das in der zweiten git - GRBL-JOG_edge - die jog 
Unterstützung fehlt. Keine jogging.c jogging.h .
Vermutlich muss auch noch anderes angepasst werden...

von Andreas R. (andreas_r984)


Lesenswert?

Hallo,
danke für den Tip, habe jogging.c mit in den makefile eingetragen und 
siehe da... ich konnte es compilieren.
Danke und Gruß
Andreas

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.