[rtems commit] tools/cpu/sh/sci.c: Add include of bsp.h to generated file

Joel Sherril joel at rtems.org
Mon Mar 9 21:14:31 UTC 2015


Module:    rtems
Branch:    master
Commit:    41a007422d1ea595fe2b2d9a6a566a17f7f03c69
Changeset: http://git.rtems.org/rtems/commit/?id=41a007422d1ea595fe2b2d9a6a566a17f7f03c69

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Mar  8 14:04:35 2015 -0500

tools/cpu/sh/sci.c: Add include of bsp.h to generated file

---

 tools/cpu/sh/sci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c
index bc7fdd8..a092bce 100644
--- a/tools/cpu/sh/sci.c
+++ b/tools/cpu/sh/sci.c
@@ -117,6 +117,7 @@ int shgen_gensci(
     " *   Hitachi's HW manual recommends bitrates with an error less than 1%%\n"
     " *   We experienced values less than 2%% to be stable\n"
     " */\n\n" );
+  fprintf( file, "#include <bsp.h>\n" );
   fprintf( file, "#include <termios.h>\n\n" );
   fprintf( file,
     "static struct sci_bitrate_t {\n"



More information about the vc mailing list