Jump to content

.hex file erstellen


rosenholzer
 Share

Recommended Posts

Moin,

ich hab in der setup_6581.asm datei den lcd wert von 5 auf 4 gesetzt und möchte nun ein hexfile mit dieser veränderung generieren.

wenn ich jetzt im command shell "make" eingebe arbeitet er alles durch und erzeugt neue dateien:

...

setup_6581.cod

setup_6581.lst

....

...

aber keine hex dateien... Wie krieg ich die ? :(

Bidde helft mir...

Link to comment
Share on other sites

Wahrscheinlich tritt ein Error auf, wenn er keine HEX Dateien ausspuckt. Öffne mal die Eingabeaufforderung und führe make.bat aus. Lies was make.bat bei der Ausführung schreibt. (Wenn du es von Windows aus ausführst, verschwindet das Fenster ja sofort wieder).

Schau dir auch mal die LST Datei mit Notepad o.ä. an, ganz am Ende steht sowas wie "total errors: 0" oder so.

Link to comment
Share on other sites

  • 2 weeks later...

klinke mich mal hier mit ein.

Gibt ja jetzt die neue RC fürn SID. Hab mir dafür die gputils installiert und posix auf C: entpackt. Path-Variable hab ich wie vorgegeben eingetragen. Die Make-Routine startet, aber er spuckt nix aus. Nicht mal eine Err-Datei. Kann mir jemand sagen was falsch läuft ? Er meckert eine fehlende Rule an. Wo muss die sein ??

MfG  :-\

Link to comment
Share on other sites

Was für ein OS nutzt du denn?

Also wenn du gputils installiert hast, und dann nach der Änderung der Configs mit einem Editor deiner Wahl, in der Shell (command, cmd) im Verzeichnis wo die Konfigurationen liegen "make" eingibst, sollte eigentlich alles klappen oder ein eindeutiger Fehler raus kommen beim kompilieren. Was sagt er denn genau? Was für eine Rule fehlt!?

Link to comment
Share on other sites

Hi,

benutze XP. Da die Make.bat im aktuellen RC18 nicht mehr supported wird hab ich gemacht was hier steht

Currently I'm going to change the project structure (again), so that it's easier to maintain all existing applications. Unfortunately it makes the build step a little bit more complicated for Windows users, because the "make.bat" file won't be supported anymore. Instead, you need to install a POSIX emulation in order to process the same Makefile, that is used by Mac and Linux users.

So, beside of GPUTILS, you need some additional tools which are temporary located here: posix_bin.zip. This directory has been taken from the WinAVR toolchain, it's a reduced variant of MSYS, which can be freely used and distributed.

Just copy it anywhere at your harddisk, e.g. C:\posix_bin

Thereafter open a command shell, and enhance the PATH variable, e.g.:

set PATH=C:\posix_bin;%PATH%

Now you are able to build a new .hex file from the command shell by typing "make" within the downloaded application directory (where "Makefile" is located)

Ansonsten läuft alles wie gehabt. Ich gehe ins Verzeichnis wo mein Source-code steht und gebe make ein. Die Routine läuft kurz an. Löscht alle Tmp-Dateien. Aber endet dann damit: no rule to make target 'setup_6581.hex' ... so ähnlich zumindest. Der Witz ist aber im Verzeichnis steht nix mehr mit setup_6581 nur noch meine Setup-Datei.  ???

Also ich weiß nicht weiter. Muss diese Rule noch irgendwo festgelegt werden ?!

MfG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...