csb337 compile problem

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Nov 2 21:58:28 UTC 2004


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)


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list