-
Thread
WIN-AVR Anfänger-Problem AREXX RP6
WIN-AVR und Beispeilprogrammen für den RP6 dabei. Aber damit habe ich ein Problem. Beim Ausführen von Make aus dem Programmers-Notepad heraus kommt gleich eine Fehlermeldung: make.exe: *** No rule to make target `RP6Base_LEDs.elf', needed by `elf'. Stop. Was fehlt da ? Was muss ich da noch machen
:94: undefined reference to `setLEDs' make.exe: *** [RP6Base_LEDs.elf] Error 1 Hat einer ne Idee ? Gruß Gerhard
-
Thread
WINAVR Make Problem
auf mein Programm umgeändert (Name,Verzeichnis, etc.). Nun bekomme ich aber jedesmal den Fehler: make.exe: *** No rule to make target `Test.elf', needed by `elf'. Stop. Das selbe auch wenn ich mit mfile ein makefile erstelle und den Library-Pfad vom RP6 hinzufüge. Kann sich jemand vorstellen
Ich schätze, dass das Makefile fehlerhaft ist. Oder Deine PATH Variable zeigt auf eine falsches make.exe (z.B. von Visual Studio).
-
Thread
Programmers Notepad
Kompilieren trotzdem nicht. Ich bekomme folgende Ausgabe: > "c:\rp6base_examples\Example_01_LEDs\\make_all.bat" c:\RP6BASE_EXAMPLES\Example_01_LEDs>set LANG=C c:\RP6BASE_EXAMPLES\Example_01_LEDs>make all 0 [main] sh 19696 sync_with_child: child 1924(0x20C) died before initialization with
Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make: *** No rule to make target `RP6Base_LEDs.elf', needed by `elf'. Stop. > Prozess beendet. Code:2 > Dauer:00:00
-
Thread
Anfänger Problem WinAVR Einstellungen
Programmers Notepad auf Tools -> AVR Programmieren gehe, bekomme ich folgende Fehlermeldung: > "make.exe" program Das System kann den angegebenen Pfad nicht finden. make.exe: *** No rule to make target `Licht.o', needed by `Licht.elf'. Stop.  Process Exit Code: 2 Tools -> AVR Make
winavr\examples\demo starten will kommt aber die Meldung: "demo.o does not exists - don´t know how to make ist" Liegt das irgendwie am Makefile oder was mache ich falsch
-
Thread
sprintf() Funktion - kleines Problem
######################################### ## General Flags PROJECT = lcd_8 MCU = atmega128 TARGET = lcd_8.elf CC = avr-gcc.exe ## Options common to compile, link and assembly rules COMMON = -mmcu=$(MCU) ## Compile options common for all C compilation units. CFLAGS = $(COMMON) CFLAGS +
$(HEX_EEPROM_FLAGS) -O ihex $< $@ %.lss: $(TARGET) avr-objdump -h -S $< > $@ ## Clean target .PHONY: clean clean: -rm -rf $(OBJECTS) lcd_8.elf dep/* lcd_8.hex lcd_8.eep ## Other dependencies -include $(shell mkdir dep 2>/dev/null) $
-
Thread
AVR Studio - Make
Hallo Leute ich habe heute zum ersten mal vor was mir AVR Studio zu machen, nun bekomme ich beim maken immer folgenden Fehler: rm -rf ADC.o lcd6963.o LCD_Test.o Main.o os.o servo.o T6963.o uart.o Main.elf dep/ Main.hex Main.eep Build succeeded with 0 Warnings... make: *** No rule to make target `..//E/Projekts/Elektronik/AVR-Betriebssysteme/LCD/Main.c', needed by `Main.o'. Stop. Build failed with 1 errors and 0 warnings... Woran kann das liegen oder was muss ich einstellen ?
-
Thread
.c Datei kompilieren (krieg ich einfach nicht hin)
########################################## ## General Flags PROJECT = cdcemu MCU = atmega8 TARGET = cdcemu.elf CC = avr-gcc CPP = avr-g++ ## Options common to compile, link and assembly rules COMMON = -mmcu=$(MCU) ## Compile options common for all C compilation units. CFLAGS = $(COMMON
+= --set-section-flags=.eeprom="alloc,load" HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings ## Objects that must be built in order to link OBJECTS = main.o ## Objects explicitly added by the user LINKONLYOBJECTS = ## Build all: $(TARGET) cdcemu.hex cdcemu.eep
-
Thread
Anfänge in C
############################### ## General Flags PROJECT = Nautiksteuerung MCU = atmega162 TARGET = Nautiksteuerung.elf CC = avr-gcc ## Options common to compile, link and assembly rules COMMON = -mmcu=$(MCU) ## Compile options common for all C compilation units. CFLAGS = $(COMMON) CFLAGS
+= --set-section-flags=.eeprom="alloc,load" HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings ## Objects that must be built in order to link OBJECTS = Nautiksteuerung.o ## Objects explicitly added by the user LINKONLYOBJECTS = ## Build all: $(TARGET) Nautiksteuerung.hex
-
Thread
AVR Eclipse Plugin 2.2
updated to AVR Studio Build 589 (ATXmega MCUs only partially supported -- no fusebytes/Lockbits yet) Fixes: ----------------------------- * Windows: Now the last installed version of winAVR is used when
]To manually fix the file you need to move/delete the ${projectname}.sc file found under ${workspace}/.metadata/.plugins/org.eclipse.cdt.make.core[/pre] Wenn ich es richtig verstanden habe soll der
-
Thread
Probleme mit Array im Flash
Programm, versucht der Compiler die nicht erstellten Dateien zu verlinken, was in einem Fehler endet: No rule to make target `main.o', needed by `main.elf'. Stop.
Ich habe Dich bereits auf den Fehler hingewiesen ;) Main.c != main.c Auszug aus Deinem Makefile: # Target file name (without extension). TARGET = main # List C source files here. SRC = $(TARGET).c uart.c Daraus wird dann: "SRC = main.c
-
Thread
Fehler beim Compilieren von AVR Tutorialprogramm
wollte ich erstmal das Programm vom AVR C Tutorial ausprobiern. Jedoch bekomme ich beim eintippen von make all in der Konsole folgende Fehlermeldung: fatal error: opening dependency file .dep/main.o.d: No such file or directory Es macht keine Unterschied ob ich das Beispiel Makefile oder ein mit dem Makefile
Gerade im WinAVR-Artikel erweitert: http://www.mikrocontroller.net/articles/WinAVR#make.exe:_.2A.2A.2A_No_rule_to_make_target_.60main.elf.27.2C_needed_by_.60elf.27. "Wird VISTA 64 benutzt? Obige Fehlermedung kann als zweite Fehlermeldung nach der eigentlichen VISTA-spezifischen Fehlermeldung
-
Thread
Fompilerfehlermeldung bei 1 Wire Routine
Thread einbauen. http://www.mikrocontroller.net/forum/read-4-84831.html#256725 Wenn ich die Main.c mit Make all compilieren möchte, bekomme ich folgende ( mir nicht verständliche Fehlermeldung ) ! > "make.exe" all -------- begin -------- avr-gcc (GCC) 3.4.3 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `main.o', needed by `main.elf'. Stop. > Process Exit Code: 2 Die make Datei
-
Thread
frage zwecks hex-files
cout << "Number of remaining life:\n" << life << "\n\n"; GetResults(); } } int main () { cout << "** Jackpot game **\n"; cout << "The goal of this game is to guess a number. You will be ask to type\n"; cout << "a number (you have 5 guess)\n"; cout << "Jackpot
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `main.elf', needed by `elf'. Stop. > Process Exit Code: 2 > Time Taken: 00:01
-
Thread
probleme bei kompilierung
Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `obj/main.o', needed by `uarpuf.elf'. Stop. > Process Exit Code: 2 > Time Taken
Compilerinstallation und das Zusammenarbeiten der Toolchain testen kann, könnte so aussehen: [C] int main(void) { return 0; } [/C] Das Makefile (ohne .txt !!!) funktioniert damit, wenn man das make Tool mit der Befehlszeile make all aufruft.
-
Thread
Sprachausgabe mit AVR
Code von Ulrich Radig auseinander und bekomme hier jetzt folgende Meldung : rm -rf usart.o fat.o main.o mmc.o SD_CARD.elf dep/* SD_CARD.hex SD_CARD.eep SD_CARD.lss SD_CARD.map Build succeeded with 0 Warnings... make: *** No rule to make target `../../Eigene', needed by `usart.o'. Stop. Build
>make: *** No rule to make target `../../Eigene', needed by `usart.o'. >Stop. >Build failed with 1 errors and 0 warnings... >wat dat ?? Leerzeichen im Pfad? Leg deine Dateien mal woanders hin.
-
Thread
WinAVR und makefile(mfile)
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `1khz.o', needed by `1khz.elf'. Stop. > Process Exit Code: 2
definition has no type or storage class 1KHZ_C.c:15: warning: return type of 'main' is not `int' make.exe: *** [1KHZ_C.o] Error 1 > Process Exit Code: 2
-
Thread
Makefile wirrwarr
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `obj/main.o', needed by `main.elf'. Stop. > Process Exit Code: 2 > Time Taken: 00:01 Makefile habe ich mit MFile erstellt die dabei bei WinAVR war. Auch mit
ohne extension und dann SRC mit extension. Und da wiederum dachte ich dass eine main.c bei "Make all" irgendwie automatisch erzeugt wird wenn es nicht gleich das ganze mit .c am Ende speichert. Jetzt habe ich es explizit mit .c gespeichert und es ging !
-
Thread
Atmega8L: Warum geht Timer0 Interrupt nicht?
Nachtrag: $(objcopy) -j .text -j .data -I binary -O ihex main.elf main.hex ist das so korrekt? Was mich nocht etwas verwundert ist ... [pre] $ avr-objdump.exe -j .data -d main.elf main.elf: file format elf32-avr [/pre] müsste nicht die volatile
ausprobieren Mit AVR-Studio4 und dem angehängten Makefile lässt sich das erst gar nicht compilieren. > make: *** No rule to make target `main.c', needed by `main'. Stop. mit ordentlichem makefile compiliert der Code. Wobei der aber sinnlos ist, da "toggle" nicht zurückgesetzt wird.
-
Thread
Makefile mit Programmgrößenausgabe
nochmal das Makefile aus dem Quellcode der Artikelsammlung, leicht modifiziert. Gibt den Fehler: make: *** No rule to make target `main.elf', needed by `elf'. Stop.
Makefile ruft den Compiler mit -g auf, so dass Debuginformationen generiert werden. Das macht die ELF-Datei größer, nicht aber den darin enthaltenen Programmcode, der letztendlich auf den Controller hochgeladen wird.
-
Thread
Makefile: mehrere Ordner angeben
schon so [c]EXTRAINCDIRS = "C:\dev\Atmega8\mycode\LCDlib\"[/c] probiert aber es kommt da nur die "No rule to make target"-Fehlermeldung beim kompilieren. Vielen Dank schon mal lg, spyder
c src[/c] eingefügt. Kompilieren funktioniert aber beim Linken hat er glaub ich seine Probleme [c]make.exe: *** [main.elf] Error 1[/c] An was könnte das liegen? Und könntest du mir genau aufschreiben, wie ich mittels vpath dateien aus den anderen ordner einbinden kann. Meine Verzeichnisstruktur sieht
-
Thread
Einrichten einer Entwicklungsumgebung für ARM Cortex M3
Installation probiert zu kompilieren aber ich bekomme bei beiden den selben error und zwar: [code] make: *** No rule to make target `all'. Stop. [/code] Ich hab jetzt mal kurz gegoogelt aber mir ist jetzt nicht ganz klar wieso ich diesen Fehler bekomme. Hab ja 1:1 den Workspace importiert und trotzdem
stm32x unlock 0 monitor stm32x mass_erase 0 monitor reset halt monitor flash write_image Test2.elf 0x08000000 elf tbreak main[/c] Meines erachten müssten die ersten zeilen so bei mir aussehen: [c]monitor reset halt set mem inaccessible-by-default off monitor soft_reset_halt monitor reset
-
Thread
LED_Laufschrift mit Mega 32 und MAX 7219
################################ ## General Flags PROJECT = LED_Laufschrift MCU = atmega32 TARGET = LED_Laufschrift.elf CC = avr-gcc.exe ## Options common to compile, link and assembly rules COMMON = -mmcu=$(MCU) ## Compile options common for all C compilation units. CFLAGS = $(COMMON)
+= --set-section-flags=.eeprom="alloc,load" HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings ## Objects that must be built in order to link OBJECTS = LED_Laufschrift.o ## Objects explicitly added by the user LINKONLYOBJECTS = ## Build all: $(TARGET) LED_Laufschrift.hex
-
Thread
Programmers Notepad 2 problem
umwandeln. habe den quellcode geschrieben und das makefile angelegt. anschließend gehe ich auf den befehl make all, doch da gibt er mir nur die fehlermeldung:" make.exe: *** No rule to make target `main.o', needed by `main.elf'. Stop. " aus. habe ich was vergessen? vielen dank für eure hilfe.
Makefile hier zu posten. Vorab sagt meine Kristallkugel schon einmal: Heißt Dein C-Quellcode auch main.c (in Kleinbuchstaben)?
-
Artikel
ARM-ASM-Tutorial
ability to jump back is the main difference from any other block of assembly code. To make this explicit, such a jump to a function is known as a “call” (as in “calling a function”). The location in code that starts
’s an error, and to make it easier to find, an endless loop with a forced breakpoint is put right after the call to “main”. Calling functions. To call assembly functions from C code and vice-versa, the assembly functions
-
Thread
UART macht probleme
allen anderen Zeichen nichts tun break; } } goto LOOP; } /* end of main */ Leider kriege ich wenn ich auf Build klicke folgende Meldungen: rm -rf uart.o uart.elf dep/ uart.hex uart.eep Build succeeded with 0 Warnings... avr-gcc -mmcu=atmega8 -Wall -gdwarf-2
leider sind da immer noch zwei Build started 30.10.2006 at 20:56:59 makefile:39: /avrfreaks/avr_make: No such file or directory make: *** No rule to make target `/avrfreaks/avr_make'. Stop. Build failed with 2 errors and 0 warnings... Mit denen ich nichts anfangen kann :-(
-
Thread
flash-Fehler mit ATtiny2313, compile ok
Ich wollte auch das von Studio 6 erstellte Makefile benutzen, leider kommt dabei immer die Meldung "Make: No rule to make target 'flash'". Es würde mir sehr helfen, wenn jemand mein Progrämmchen (ohne die Zeilen 1 und 3) mit einem Makefile übersetzen und fehlerfrei auf einen tiny2313 flashen würde
gestartet, aber nur die Meldung "Make: No rule to make target 'flash'" erhalten. Schließlich habe ich noch ein eigenhändig erstelltes Makefile gestartet und die Meldung erhalten: "avrdude: ERROR: address 0x0806 out of range at line
-
Thread
Horizon EDA [War: Neues, halbfertiges Elektronik-CAD-Programm]
Jörg W. schrieb im Beitrag #5620419: > Roland schrieb: : : > >> So vermisse ich ein >> clean-Target um nur die o-Files zu entsorgen jedoch die Executables zu >> behalten. > > "mostlyclean"? Gerne! Wo? [code] .../horizon$ .../horizon$ make mostlyclean make: *** No rule to make target
), Size of downloads: 4 KiB Would you like to merge these packages? [Yes/No] [/c] Soweit kein Problem bei make steigt er aber aus [c]make: *** Keine Regel vorhanden, um das Ziel „.git/HEAD“, benötigt von „src/gitversion.cpp“, zu erstellen
-
Thread
Starterkit ATmega8: Blink-Projekt, Anfänger Problem :(
ich hatte nur kurz Zeit das ganze aus zu probieren mache heute Abend weiter. :) Hab aber noch das make File gestartet da kam zum schluß der Fehler: "make *** no rule to make target all'. stop" ich werd heute noch weiter versuchen. Gruß Nico
Programm zu starten etc.? Ich benutze Atmel Studio 6.1, nach dem Verifying Flash, muss ich da kein make.exe mehr ausführen etc.? Habs auch mit make.exe versucht, bekomme aber den Fehler: avrdude usbdev_open() did not find any usb device usb Ich danke für alle Hilfe, und sorry für den Stress :(
-
Thread
Timer controller
#include <stdint.h> #include <avr/interrupt.h> #include <avr/wdt.h> #define isr(vector) int main(void){ DDRD=0x32; /*pin 5 des Ports D setzen*/ TCNT=0x0000; /*Counter auf null initialisieren*/ OCR1A=0x03EA; /*es wird bis zu 1000 dez
Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. make.exe: *** No rule to make target `main.o', needed by `main.elf'. Stop. > Process Exit Code: 2
-
Thread
EEprom Routine
fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=display.lst -std=gnu99 display.c -o display.o make.exe: *** No rule to make target `ee_rb.s', needed by `main.elf'. Stop. > Process Exit Code: 2
eeprom.h> are not supported on this MCU." Linking: main.elf
-
Thread
Makefile Target/Prerequisite in unterschiedlichen Ordnern
SRC = /A/test1.c /B/test2.c OBJ_FILES = /X/Y/obj/test1.o /X/Y/obj/test2.o VPATH = /A /B main.elf : $(OBJ_FILES) gcc -c $^ -o $@ $(OBJ_FILES) : %.c $gcc -c $< -o $@ [/code] Ausgabe: [code] No rule to make target /X/Y/obj/test1.c needed by /X/Y/obj/test1.o [/code]
-
Thread
RC5_Code läuft nicht auf ATMega32
der Kompiler nichteinmal anfängt. Es kommt folgende Meldung: C:\Programme\Atmel\Atmel Studio 6.0\make\make.exe all make: *** No rule to make target `MAIN.o', needed by `RC5_by_Dannegger.elf'. Stop. Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild" in project
project "RC5_by_Dannegger.cproj" -- FAILED. Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== Es gibt ja 3 Dateien: MAIN.C; MAIN.H und RC5.C Ich gehe ja mal davon aus das ich MAIN.C kompelieren muss oder ? Ich finde es nur komisch das bei der MAIN.C
-
Thread
altes WinAVR gesucht
Hallo Egon! Ich bekomme bei der neuen Version WinAVR 20070122 folgene Fehlermeldung: No rule to make target `main.o' , needed by ´main.elf' . Stop. Ich benutze Win98SE. Was habe ich falsch gemacht? Bei den alten Versionen habe ich kein Problem. Wenn Du Zeit hast, würde ich mich
Aufbau des Makefiles vergleichen. Wenn das "make all" startet und der eigentliche Compilerlauf startet, kann bei Windows98 und ab dieser WinAVR-Version der _spawnv Fehler auftreten, der aber behebbar ist. Dazu mehr hier: http://www.mikrocontroller.net
-
Thread
Atmel libusb CDC software i2c einbinden
die i2cmaster.S von Peter Fleury in die config.mk hinzugefügt habe bekomme ich den Fehler: make: *** No rule to make target `../i2cmaster.s', needed by `STK526-series2-cdc.elf'. Stop. Makfile: # Preprocess & assemble: create object files from assembler source files. %.o: %.s @echo '
OUTPUT)/$(@F) config.mk: # Source files CSRCS = \ ../../../lib_mcu/wdt/wdt_drv.c\ ../main.c\ ../cdc_task.c\ ../i2cmaster.s\ Die i2cmaster.s ist im selben verzeichnis wie die cdc_task und main.c
-
Thread
Fehler beim Erstellen
nach den Bedürfnissen meines Programms umgeändert, erhalte aber dennoch folgenden Fehler wenn ich make all im Programmers Notepad aufrufe: make.exe: *** No rule to make target `C:/Dokumente', needed by `main.elf'. Stop. > Process Exit Code: 2 Was hab ich falsch gemacht?
-
Thread
Fehler beim Builden eines Eclipse-C-Projektes (für ATmega8)
Zweck zu konfigurieren, aber wenn ich das Projekt builden will, erhalte ich die Fehlermeldung: make: *** No rule to make target `main.o', needed by `ErstesTestprojekt.elf' Ich glaube nicht, dass es am Code liegt, aber hier poste ich ihn trotzdem: [c] #include <avr/io.h> int main(void)
-
Thread
Inline Asm
in meinem Makefile erzeugt. Leider bekomme ich dann folgende Meldung: C:\AVR\WinAVR\utils\bin\make.exe: *** No rule to make target `isr.o', needed by `AppMain.elf'. Stop. Hast du eine Ahnung woran das liegt? Grüsse Michael
nicht vertan? Wenn die Datei Isrs.S heißt, wird das make sie nicht finden, wenn es isrs.o bauen soll.
-
Thread
Reset durch Stack overflow?
MAKE.EXE: *** No rule to make target `main.o', needed by `main.elf'. Stop.
Wo ist die main.c ?