I running this in windows XP. I used magician soft's generator to come up with a design. I then saved that as a c file in minipov3. When I try to compile that into a .hex file I get this:
ask me anything you guys may need to help.
it does end up creating the .hex file but when I try to upload it it doesn't work properly and looks like this:
thanks in advance,
Eliot
problem with compiling
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: problem with compiling
probably a problem with the makefile. perhaps if we could see it.
also a directory listing would be useful. something like "dir eisb.*"
also a directory listing would be useful. something like "dir eisb.*"
-
- Posts: 11
- Joined: Tue Jan 06, 2009 9:33 pm
Re: problem with compiling
your wish is my command.
although I can't imagine it being a problem with the makefile becase it works with everything else.
although I can't imagine it being a problem with the makefile becase it works with everything else.
-
- Posts: 11
- Joined: Tue Jan 06, 2009 9:33 pm
Re: problem with compiling
I know this probably doesn't make any sense but I added eib.hex to the list or "program-whatever: whatever.hex" in the makefile and it loaded onto the attny without any problems.
-
- Posts: 11
- Joined: Tue Jan 06, 2009 9:33 pm
Re: problem with compiling
it still displays the "obsolete header file" warning when I compile the .hex file though. I guess that just isn't an issue.
-
- Posts: 1645
- Joined: Sat Nov 10, 2007 12:59 am
Re: problem with compiling
that would fix it.Eliot89 wrote:I know this probably doesn't make any sense but I added eib.hex to the list or "program-whatever: whatever.hex" in the makefile and it loaded onto the attny without any problems.
it will continue to do this. the use of the header file signal.h has been deprecated but is still supported. the way interrupts are handled has changed. mostly, i think, it's a matter of naming conventions. interrupt names now more closely follow names used in atmel's datasheets. some day you'll upgrade avr-libc and the warnings will become errors.Eliot89 wrote:it still displays the "obsolete header file" warning when I compile the .hex file though. I guess that just isn't an issue.
to avoid this change the following in your code...
Code: Select all
#include <signal.h>
Code: Select all
#include <interrupt.h>
Code: Select all
SIGNAL (SIG_TIMER1_COMPA) {
Code: Select all
ISR (TIMER1_COMPA_vect) {
Please be positive and constructive with your questions and comments.