-
Thread
ihex -> binary converter für Win Kommandozeile
allzu verwirrend! :-) Demzufolge war ich froh zu lesen, dass ich ja auch gleich ein Bin-File mit der make.exe erzeugen kann. Nur wie ist die Frage?!? Habs daraufhin mit dem Eintrag: # Default target. all: begin gccversion sizebefore build sizeafter finished end build: elf bin lss sym elf: $(TARGET).elf bin: $(TARGET).bin lss: $(TARGET).lss sym: $(TARGET).sym (bin statt hex) Aber es kam nur folgende Fehlermeldung: C:\WinAVR\utils\bin\make.exe: *** No rule to make target `main.bin', needed
-
Thread
Peter Danneggers Bootloader (fastboot) für AVR-GCC-Toolchain
studio in den ordner kopiert 3. MCU = atmega8, ATMEL_INC = m8def.inc im makefile definiert 4. --> make all makefile:118: atmel_def.mak: No such file or directory gawk '{ printf "%s = %s\n", $2, $3 }' atmel_def.h > atmel_def.mak make.exe: *** No rule to make target `all'. Stop. aber in dem ordner
sie includet. Das hat nichts damit zu tun: > make.exe: *** No rule to make target `all'. Stop. Der Grund: Du musst einfach 'make' aufrufen, ohne Argumente (wie 'all').
-
Thread
avr-eclipse source in subfolder
lcd.d" -c -o "lib/lcd.o" "../lib/lcd.c" Finished building: ../lib/lcd.c dann mault aber der make : make: *** No rule to make target `lcd.o', needed by `SPMC_m644P.elf'. Stop. **** Build Finished **** Kann mir mal jemand einen Tipp geben. Ju
>dann mault aber der make : >make: *** No rule to make target `lcd.o', needed by `SPMC_m644P.elf'. Dann hast du evtl. irgendwo im Projekt oder makefile ein lcd.c angegeben was nicht mehr existiert. >Habt Ihr alle immer
-
Thread
Eclipse kompiliert Code nicht wer findet den Fehler?
WinAVR (bzw der zugehörigen Toolchain) kompilieren kann ... das klappt aber nicht: Ein "[WinAVR] Make all" im Progammers Notepad liefert nur: "make.exe: No rule to make target "all". Stop" Danach habe ich es unter Eclipse ausprobiert. Auch da klappt das Compilieren nicht (Neues C-Projekt erstellt
Progammers Notepad liefert nur: "make.exe: No rule to make target "all". > Stop" Ich wuerde sagen du hast kein Makefile White Rabbit schrieb im Beitrag #4292217: > Neues C-Projekt erstellt Hast du in eclipse das AVR Plugin installiert
-
Thread
AVR Studio 4.07
-Wa,-ahlms=test.lst test.c -o test.o test.c: In function `main': test.c:3: warning: control reaches end of non-void function test.c:3:2: warning: no newline at end of file make: *** No rule to make target `foo.o', needed by `test.elf'. Stop. > Process Exit
-Wa,-ahlms= --output test.elf -Wl,-Map=test.map,--cref -Wl,-u,vfprintf -lprintf_flt -lm C:\WINAVR\BIN\..\lib\gcc-lib\avr\3.3\..\..\..\..\avr\lib\crts4433.o(.init9+0x0): undefined reference to `main' make: *** [test.elf] Error
-
Thread
make all ???
mal WinAVR installiert, Makefile erstellt und nen C Code geschrieben...versucht zu compilieren mit make all und dann kam folgende meldung make.exe: *** No rule to make target `main.o', needed by `main.elf'. Stop. Was haut da nich hin...hab im Forum nix auf anhieb gefunden...kanns an irgendwelchen
> Er braucht doch scheinbar die main.elf...woher soll er denn die > kriegen??? Nein. Er braucht main.o, um main.elf zu erstellen, aber er findet nichts, aus dem er main.o bauen kann. PS: Deine ?-Taste prellt.
-
Thread
make.exe : *** No rule to make target `foo.o'
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 `foo.o', needed by `main.elf'. Stop. --------------------------- Jetzt habe ich die main.c einfach mal im ProgrammersNotepad geladen und Compile gedrückt und bekomme selbe ausgabe. Die paths sind richtig gesetzt. Habe ich etwas übersehen oder an was liegt es? Habe schon in einigen dokus
-
Thread
OpenOcd.cfg starten
c=.lst) $(DEFS) LDFLAGS = $(MCFLAGS) -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR) # Generate dependency information CPFLAGS += -MD -MP -MF .dep/$(@F).d # # makefile rules # all: $(OBJS) $(PROJECT).elf $(PROJECT).hex %o : %c $(CC) -c $(CPFLAGS
: ifeq ($(RUN_MODE),RAM_RUN) $(OPENOCD) & $(INSIGHT) $(TARGET).elf -ex "target remote localhost:3333" -ex "monitor arm7_9 sw_bkpts enable" -ex "load" $(KILLALL) $(OPENOCD) else $(OPENOCD) & $(INSIGHT) $(TARGET).elf -ex "target remote localhost:3333" -ex
-
Thread
Problem mit Make File (WinAVR in AVR Studio 4.13)
Directory auf meinen Projektordner, wo sich main.c befindet einstelle, findet der compilier das Makefile und .elf(zum debuggen) nicht mehr. Makefile wird zwar im Projektordner angelegt, aber dann kommt nur eine Fehlermeldung: "no rule to make a target
@ size: ${TARGET} @echo @avr-size -C --mcu=${MCU} ${TARGET} ## Clean target .PHONY: clean clean: -rm -rf $(OBJECTS) main.elf dep/* main.hex main.eep main.lss main.map ## Other dependencies -include
-
Thread
ARM-GCC: makefile
finden), ist dass die Source-Dateien im interordner src liegen. *MAKEFILE* # put your *.o targets here, make should handle the rest! SRCS = delay_taster.c system_stm32f4xx.c # all the files will be generated with this name (main.elf, main.bin, main.hex, etc) PROJ_NAME=main # that's
CFLAGS += -Ilib/inc/core -Ilib/inc/peripherals SRCS += lib/startup_stm32f4xx.s # add startup file to build OBJS = $(SRCS:.c=.o) ################################################### .PHONY: lib proj all: lib proj lib: $(MAKE) -C lib proj: $(PROJ_NAME).elf $(PROJ_NAME).elf: $(
-
Thread
Kompilieren mit Xcode
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 `usart.o', needed by `Hexfiles/Webserver_MEGA644.elf'. Stop. Command /usr/
Stefan S. schrieb im Beitrag #2023018: > make: *** No rule to make target `usart.o', needed by > `Hexfiles/Webserver_MEGA644.elf'. Stop. Bist Du sicher, dass er das richtige Makefile ausführt? Vielleicht mal eine Kontrollmeldung anzeigen
-
Thread
AVR STudio geht nicht mehr!! brauche dringend hilfe
.eeprom=0 -O ihex Prog.elf Prog.eep c:\WinAVR-20070525\bin\avr-objcopy.exe: there are no sections to be copied! c:\WinAVR-20070525\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used make: *** [Prog.eep
#################################### ## General Flags PROJECT = calibration MCU = atmega16 TARGET = calibration.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
-
Thread
[gesucht] Olimex SAM7-EX256 Minimalbeispiel
Running 'make all' ----- 13:06:11: Located c:\ethernut-4.2.1\nut\tools\win32\make.exe make: *** No rule to make target `all'. Stop. 13:06:11: ----- 'make all' failed with error 2 ----- 13:06:12: ----- Running 'make install' ----- 13:06:12: Located c:\ethernut-4.2.1\nut\tools\win32\make.exe make: *** No rule to make target `install'. Stop. 13:06:12: ----- 'make install' failed with error 2 ----- [/pre]
-
Thread
Winavr, Fehlermeldung "No rule to make Target." - Fehler tritt erst nach "make clean" auf
Problem: Beim Versuch, ein C-Programm in Winavr zu kompilieren, erscheint folgende Fehlermeldung: make.exe: *** No rule to make target `main.elf', needed by `elf'. Stop. Das Problem existiert, seit ich "make clean" ausgeführt habe (aus der Programmer's Notepad-Toolbar), davor war das Programm ohne
Und das main.c Gruß
-
Thread
Interupt programmierung eines Atmega8 mit AVR Std. 4.18
-> Habe neuen Projektpfad angelegt -> neues Projekt angelegt -> Compiliert und den Fehler: Make: *** No rule to make Target ´../../Dokumente', needed by ´Kreisel.o'. Stop. Was bedeutet dieser Fehler und iwas kann man tun um diesen zu beheben?
Upps, sorry, mein Fehler. Mach das makefile im Editor mal auf und ändere die Zeile ># Target file name (without extension). >TARGET = main.c in ># Target file name (without extension). >TARGET = main (ohne das .c hintendran) Speichern, und dann nochmal make aufrufen. Oliver
-
Thread
LCD.h geht nicht AVR Studio
#warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" make: *** No rule to make target `..//C/Programme/WinAVR-20080610/doc/avr-libc/examples/stdiodemo/hd44780.c', needed by `hd44780.o'. Stop. Build failed with 1 errors and 1 warnings...
designed" http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial#Warteschleifen_.28delay.h.29 > make: *** No rule to make target `..//C/Programme/WinAVR-20080610/doc/avr-libc/examples/stdiodemo/hd44780.c', > needed by `hd44780.o'. Stop. > Build failed with 1 errors and 1 warnings... Ja, hast
-
Thread
Anfänger Problem mit dem Makefile
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.elf', needed by `elf'. Stop. > Process Exit Code: 2 > Time Taken: 00:00
Dateien. Mach deine Änderung wieder rückgängig. Das geänderte Makefile sorgt für das Übersetzen von main.c und lcd.c sowie für das Zusammenlinken zum main.elf
-
Thread
Winavr, Fehlermeldung "No rule to make Target." - Fehler tritt erst nach "make clean" auf
Problem: Beim Versuch, ein C-Programm in Winavr zu kompilieren, erscheint folgende Fehlermeldung: make.exe: *** No rule to make target `main.elf', needed by `elf'. Stop. Das Problem existiert, seit ich "make clean" ausgeführt habe (aus der Programmer's Notepad-Toolbar), davor war das Programm ohne
Und hier noch das main.c Gruß
-
Thread
ASM und C (makefile/Einbindung)?
ist wirklich gut beschrieben. Muß ich zugeben. Jetzt stehe ich aber nochmal vor einem Problem: NO RULE TO MAKE TARGET 'ATA.o' NEEDED BY 'test.elf' STOP! Kenn mich da nicht aus. # WinAVR Sample makefile written by Eric B. Weddington, Jörg Wunsch, et al. # Released to the Public Domain
line: # # make all = Make software. # # make clean = Clean out built project files. # # make coff = Convert ELF to AVR COFF (for use with AVR Studio 3.x or VMLAB). # # make extcoff = Convert ELF to AVR Extended
-
Thread
Hilfe bei AVR Studio + WinAVR
) 6_usb.c), möchte ich nun den Code compilieren. Dabei bekomme ich nun folgende Fehlermeldung: make: *** No rule to make target `..//G/AVR/Evaboard/demo/AVR-P40-USB/mega16_usb.c', needed by `mega16_usb.o'. Stop. Was mache ich falsch bzw. welche Einstellungen bzgl. des make-Files muss ich noch
Nach deren Angabe und anschließenden Build erscheint folgende Meldung: rm -rf mega16_usb.o test.elf dep/* test.hex test.eep test.lss test.map Build succeeded with 0 Warnings... make: *** No rule to make target `..//G/AVR/Evaboard/demo/AVR-P40-USB/mega16_usb.c', needed by `mega16_usb.o'. Stop.
-
Thread
WinAVR makefile Fehler
ich. Den Fehler scheinen mehrere Probanden zu haben und ich habe immer wieder kontrolliert ob das Target auch meine main.c ist aber ich kann nichts gegenteiliges feststellen. Vielleicht sieht jemand von euch wo ein pfad oder anderes falsch eingestellt ist. THX! Fehlermeldung: > "make.exe"
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.elf', needed by `elf'. Stop. > Process Exit Code: 2 > Time Taken: 00:00
-
Thread
Analog eingang bsp.
make\make.exe all make: *** No rule to make target `Batteriepr├╝fer.o', needed by `Batteriepr├╝fer.elf'. Stop. Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild"
Steven S. schrieb im Beitrag #2940975: > No rule to make target `Batteriepr├╝fer.o' ...
-
Thread
Problem mit Makefile
das Tutorial "reingezogen"! Nun habe ich folgendes Problem wenn ich in "Programmers Notepad" auf Make All gehe kommt folgender Fehler: [c]make.exe: *** No rule to make target `superprog.elf', needed by `elf'. Stop.[/c] Makefile habe ich nach Tutorial mit Mfile bearbeitet(siehe Dateianhang!).
In Zeile 545 des Makefile steht [pre] %.elf: $(OBJ) [/pre] Das geht so nicht, zumindest nicht mit der aktuellen Version von Make. Statt dessen sollte da stehen: [pre] $(TARGET).elf: $(OBJ) [/pre] Ich kenne mich mit MFile nicht aus, und
-
Thread
Make
-Wa,-adhlns=obj/1wire.lst -std=gnu99 -Wundef -MD -MP -MF .dep/1wire.o.d 1wire.c -o obj/1wire.o make.exe: *** No rule to make target `obj/main.o', needed by `1wire.elf'. Stop. Weiß nicht mehr was ich tun soll habe alle mein Wissen eingesetzt um alle Source files in Objektfiles zu compilieren.
Hallo, wie heist den die Datei die du compilieren möchtest... ich kenne diese Meldung wenn du z.B. MAIN.c statt main.c hast. wäre das eine Möglichkeit? Gruss, Gary
-
Thread
Eclipse Linux STM32
acknowledgment received, but no packet pending undefined debug reason 6 - target needs reset Error: Target not halted Error: failed erasing sectors 0 to 0 Error: flash_erase returned -304 Info : dropped 'gdb' connection Was
acknowledgment received, but no packet pending undefined debug reason 6 - target needs reset Error: Target not halted Error: failed erasing sectors 0 to 0 Error: flash_erase returned -304 Info : dropped 'gdb' connection Info
-
Thread
GCC makefile Problem
"make all" ausführe. [code] make: *** No rule to make target `ARMEMF32.elf', needed by `all'. Stop. [/code] Ich habe nicht wirklich viel Ahnung von makefiles und will mich da auch eigtl nicht weiter
über include eingezogen z. B.: ../makefile.init ../makefile.defs gibt es diese Files auch? Make wird sich nicht über das Fehlen beschweren weil sie mit -include eingezogen werden. In einem dieser Files müsste es ein Target für ARMEMF32.elf geben. Also ARMEMF32.elf: (Abhängigkeiten)
-
Thread
Komischer Fehler, wenn die Optimierung auf O0 gestellt wird
bischen Zeit :-) Irgendwie mache ich mit Deinem makefile etwas falsch. Ich bekomme da immer: make: *** No rule to make target `main.elf', needed by `elf'. Stop. Build failed with 1 errors and 0 warnings... Ich muss zugeben, dass ich mich mit makefiles nicht wirklich auskenne. Vielleicht hänge
Ah, du arbeitest aus AVR Studio heraus. Ich nicht ;-) Bei mir steht obiger Quelltext als Datei main.c im gleichen Verzeichnis wie das Makefile. Und ich mache das ELF-Programm dann durch die Eingabe von *make* auf der Kommandozeile. Das Makefile in deinem AVR Studio Projekt enthält die Mathelibrary
-
Thread
Include funktioniert beim AVRStudio nicht
ausgewählt. Dateinae ist Vorlagen.c Allerdings bekomme ich dann folgende Fehlermeldung: make: *** No rule to make target `../Vorlagen.c', needed by `Vorlagen.o'. Stop. dieser fehler taucht aber nicht auf wenn ich ein externes Makefile nehme welches ich über WINAVR [MFILE] erzeugt habe
to make target.elf...needed by bla.o Mich würde auch mal interessieren ob man das beheben kann. Weißt du was ich meine Julien?
-
Thread
MegaLoad für avr-gcc
wohl ein Anfängerproblem. Wo stelle ich denn ein welche CPU ich nutzen möchte? Bekomme beim Befehl make all immer die Meldung "No rule to make target".
wohl ein Anfängerproblem. Wo stelle ich denn ein welche CPU ich nutzen möchte? Bekomme beim Befehl "make all" immer die Meldung "No rule to make target".Habe das letzte ZIP in ein Verzeichnis entpackt und rufe da das MAKE ALL auf. Ich wäre für eine kurze Hilfe dankbar, brenne zur Zeit immer mit ISP meinen
-
Thread
makefile Suffixregeln
.SUFFIXES: > .o .c .s definieren? Du kannst gleich linken oder getrennt, dazu hast du ja die rules. .SUFFIXES sind schon vordefiniert, du brauchst normalerweise keine eigenen. s. eg. https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html RTFM leo
compiliert werden indem CC aufgerufen wird. Das erzeugt aber: $ cd .. jv@JamesWebb:~/testprojekt/fw$ make -B arm-none-eabi-as -gdwarf-2 -mcpu=cortex-m3 -mthumb -oo/startup_stm32f10x_ld.o ./startup_stm32f10x_ld.s make: *** No rule to make target 'o/cpuinit.o', needed by 'o/out.elf'. Stop.
-
Thread
STM32 GCC Compilereinstellungen für Minimum Size -Os
arm-none-eabi-objcopy -O binary -S build/EBiCS_Firmware.elf build/EBiCS_Firmware.bin make --no-print-directory post-build code size in flash: stat "build/EBiCS_Firmware.bin" File: build/EBiCS_Firmware.bin Size: 25824 Blocks: 56 IO Block
Wl,-Map=output.map -Wl,--gc-sections -o "build/EBiCS_Firmware.elf" @"objects.list" -larm_cortexM3l_math -lm arm-none-eabi-gcc: error: build/startup_stm32f103x6.o: No such file or directory make: *** [makefile:39: LishuiFOC_01.elf] Error 1 Error: Process completed
-
Thread
Makefile kann nicht erstellt werden
geschrieben, nur komme ich nicht dazu es auszuprobieren, da mir kein Makefile erstellt wird. Exit Code: make.exe: *** No rule to make target `ld_flash.cmd', needed by `main.elf'. Stop. Kann mir jemand sagen was ich falsch mache? Anbei findet ihr die Dateien, die das Programm umfasst. Vielen Dank
Dein target "main.elf" ist von LDSCRIPT abhängig, somit sucht make das im aktuellen Verzeichnis und versucht es zu bauen, falls es nicht da ist.... Ändere mal: [pre]main.elf: $(OBJECTS) $(LDSCRIPT)[/pre]
-
Thread
UltraEdit-32
Scrennshoot 1:1 übernommen. Was mache ich falsch es kommt folgende fehlermeldung: C:\AVRGCC\BIN\MAKE.EXE: *** No targets specified and no makefile found. Stop. Das make file ist dem verzeichnis wo auch das andere file liegt. Wäre für jede Hilfe dankbar. Peter
der Datei wo sich dei Cdatei drin ist ist auch das Makefile. Aber trotzdem kommt folgende meldung: make: *** No rule to make target `all'. Stop. > Process Exit Code: 2 Wäre um jeden Tip dankbar. Peter
-
Thread
Warum keine anständige Fehlermeldung
"make.exe: *** No rule to make target `main.o', needed by `main.elf'" Das _ist_ eine anständige Fehlermeldung. Aber keine, die sich auf Dein C-Programm bezieht, sondern eine, die sich auf das Makefile
File nur dazu da ist damit der Compiler weiss für welchen mc er Compilieren muss? Ich habe das MakeFile erstellt und ins gleiche Verzeichnis kompiert meines Projekt kompiert. Warum braucht der das Main.o und was soll main.elf sein? Gruss MidasX
-
Thread
Atmel/Microchip Studio7: Projekt auf Netz-LW -° Build failed
Program Files (x86)\Atmel\Studio\7.0\shellUtils C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 2 --output-sync make: stat: .././main.c: Invalid argument make: *** No rule to make target '.././main.c', needed by 'main.o'. Stop. Done executing task "RunCompilerTask" -- FAILED. Done building target "CoreBuild" in project "ATtiny85Blink.cproj" -- FAILED. Done building project "ATtiny85Blink.cproj" -- FAILED. Build FAILED. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==
-
Thread
irsnd Callback function
########################################## ## General Flags PROJECT = irsnd MCU = attiny45 TARGET = irsnd.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 = irsnd-main-avr.o irsnd.o ## Objects explicitly added by the user LINKONLYOBJECTS = ## Build all: $(TARGET) irsnd.hex
-
Thread
Problem mit dem AVR Studio und der avrlib
fehler, er nutzt kein AVR Studio sondern macht es nur mit makefiles, da komm ich aber garnicht weit: make: *** No rule to make target `main.elf', needed by `elf'. Stop. Wie gesagt, bei ihm funktioniert alles, er hat die avrlib im gleichen Verzeichnis.. kann mir da jemand weiterhelfen? Ich glaub zwar
main.o: In function `main': E:\Projekte\AVRProjekte\Ätzanlage\default/../main.c:16: undefined reference to `i2cInit' io.o: In function `lm75_init': E:\Projekte\AVRProjekte\Ätzanlage\default/../io.c:36
-
Thread
Makefile Syntax
make: *** No rule to make target `uC_FG/TARGET', needed by `elf'. Stop. und wenn ich mit folgendem Code probiere: C_SRCS += \ inb_lcd_4Zeilen.c \ keypad_lcd.c \ timerInit.c dann habe ich dise Fehlermeldung: undefined reference to `main' Was soll ich tun? Anhang das Makefile Danke MfG Christian
-
Thread
Gefährlicher Compiler
ich da aber keine Quelldatei als Parameter hinten dran. Und make ohne Target und ohne Makefile liefert die bekannte Meldung, dass es ohne Target nicht weiter weiß. make quellcodedatei ist für mich höchst unüblich. Vor allem wenn man noch zu mit TAB zu test.c
in meinem Beitrag: https://www.mikrocontroller.net/topic/537805?goto=7085366#7085340 > Und make ohne Target und ohne Makefile liefert die bekannte Meldung, > dass es ohne Target nicht weiter weiß. > > make quellcodedatei > ist für mich höchst unüblich. Und ist in diesem Fall auch falsch
-
Thread
ATtiny85 (AVR Atmel 8bit), Linux, Microcontroller, C/C++
$(OBJDUMP) -h -S $< > $@ # Rules for building the .hex rom image hex: $(PRG).hex %.hex: %.elf $(OBJCOPY) -j .text -j .data -O ihex $< $@ [/code]
Danke. Habe nun ein simples C programm gebaut, geflasht. [code] avr-gcc -mmcu=attiny85 -Os -c main.c -o main.o avr-gcc main.o -o main.elf avr-objcopy -O ihex -j .text -j .data main.elf main.hex avr-size --mcu=attiny85 -C main.elf avrdude -p attiny85 -c usbasp -U flash:w:main.hex:a [/code]
-
Thread
avrasmeditor
wenn ich es dann in ein hex file umwandeln will kommt folgende meldung: > "make.exe" all make.exe: *** No rule to make target `all'. Stop. > Process Exit Code: 2 dies ist mein programm code: .INCLUDE "C:\WinAVR\examples\demo\bla\inc\m8def.inc" .CSEG .LDI r16,0xFF
----------------------------------------------------------------------- # On command line: # # make all = Make software. # # make clean = Clean out built project files. # # make coff = Convert ELF to AVR COFF. # # make extcoff = Convert ELF to AVR Extended COFF. # # make program = Download
-
Thread
Probleme mit WinAVR-Programmierung (ATmega8)
WinAVR versucht, bin auch ein Stück weiter, er fängt an mit -----begin-------- bla bla bla make.exe: ***No rule to make target 'main.o', needed by 'main.elf'. stop. Process Exit Code: 2 Was ist denn jetzt noch falsch?!?!
' . . . . . make.exe*** [main.o] Error 1 Process Exit Code: 2
-
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