[En-Nut-Discussion] Nut/OS configuration utility
Lars Andersson
laran at ikp.liu.se
Sun Jul 11 11:30:28 CEST 2004
Hugo,
As Adam pointed out make sure the bug in 3.4.2 release is fixed, it is on line 637 in timer.c. Change "BV(CS20)" to "BV(CS02)". When you change any of the source or any of the make* files you need to reconfigure ethernut source, using the handy config utility, before you make your own code. Also make sure that you uncomment the correct freq. :)
When you reconfigure the ethernut soure, depending on what you choose for compiler the make*.gcc and make*.icc files are overwritten with what is in the corresponding make* files. Therefore there is no use in changing the make*.gcc and make.icc files before reconfiguring.
When this is done you can rebuild your own code and it should work fine.
I hope I didn't miss anything...
/Lars A Andersson
-----Original Message-----
From: Hugo Simon [mailto:hugo.simon at gmx.de]
Sent: Sat 7/10/2004 6:34 PM
To: Ethernut User Chat (English)
Cc:
Subject: Re: [En-Nut-Discussion] Nut/OS configuration utility
I just tried that. I edited the makedefs and makedefs.gcc to uncomment the
NUT_CPU_FREQ line.
Then I did an "make clean" and an "make all". But it doesnot help.
Is that the wrong place to do the definition? I also uncommented the
NUT_DEBUG definition, but the debug messages did not appear.
Then I tried flashing the basemon into my hardware, works fine.
Any furter ideas?
Thanks
Thorsten
----- Original Message -----
From: "Oliver Schulz" <olischulz at web.de>
To: "'Ethernut User Chat (English)'" <en-nut-discussion at egnite.de>
Sent: Saturday, July 10, 2004 5:33 PM
Subject: AW: [En-Nut-Discussion] Nut/OS configuration utility
> Hi,
>
> > > So simple. Can this be true?! :-)
> > I think its not so simple. I tried making the uart sample. It
> > works on a
> > real ethernut but not on my project's board. My board has the
> > same crystal
> > frequency, but it doesn't have a 32kHz crystal and there is
> > no ethernet
> > controller. External RAM is available.
> >
> > Any ideas what goes wrong?
> If you don't have a 32kHz crystal connected to the microcontroller, you
must
> define the NUT_CPU_FREQ macro and set the value to your oscillator
> frequency.
>
> Cheers,
> Oliver.
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5517 bytes
Desc: not available
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040711/5a8ebd45/attachment-0001.bin>
More information about the En-Nut-Discussion
mailing list