csb337 compile problem
Lars Munch
lars at segv.dk
Wed Nov 3 05:44:54 UTC 2004
On Tue, Nov 02, 2004 at 03:58:28PM -0600, Joel Sherrill <joel at OARcorp.com> wrote:
>
> Delete "#include <bsp.h>" in rtc/mc146818a.c. It isn't supposed
> to need that file.
>
> Index: rtc/mc146818a.c
> ===================================================================
> RCS file: /usr1/CVS/rtems/c/src/libchip/rtc/mc146818a.c,v
> retrieving revision 1.3
> diff -u -r1.3 mc146818a.c
> --- rtc/mc146818a.c 21 Oct 2004 13:26:58 -0000 1.3
> +++ rtc/mc146818a.c 2 Nov 2004 21:58:05 -0000
> @@ -25,7 +25,6 @@
> #include <rtems.h>
> #include <libchip/rtc.h>
> #include <libchip/mc146818a.h>
> -#include <bsp.h>
>
> #define From_BCD( _x ) ((((_x) >> 4) * 10) + ((_x) & 0x0F))
> #define To_BCD( _x ) ((((_x) / 10) << 4) + ((_x) % 10)
>
So I guess my quick fix to this problem (see previous post) was valid
enough? I guess you also need to delete it in rtc/mc146818a_ioreg.c
then. Could yo please apply this to cvs?
Thanks
Lars Munch
More information about the users
mailing list