source: rtems/c/src/lib/libbsp/i386/ts_386ex/tools/coff2bin @ 5c7f274

4.104.114.84.95
Last change on this file since 5c7f274 was 16a384cf, checked in by Joel Sherrill <joel.sherrill@…>, on 04/23/99 at 16:35:11

New BSP from Tony R. Ambardar <tonya@…> from the
University of British Columbia. The BSP is for:

Yes, this is the "entry model" of a series of boards from Technologic
Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
I am letting them know about the availability of this BSP too.

  • Property mode set to 100755
File size: 533 bytes
Line 
1#!/bin/sh
2# Just a Q&D prog to convert a bunch of RTEMS generated COFF files to raw
3# binary images that can be loaded on the TS-1325. The converted files are
4# saved in the current directory.
5#
6# Tony Ambardar
7
8OBJCOPY=/usr/local/rtems/bin/i386-rtems-objcopy
9
10if [ $# = 0 ]
11then
12  echo "Description: Convert RTEMS coff files to raw binary files."
13  echo "Usage: coff2bin <list-of-coff-files>"
14  echo
15  exit 1
16fi
17
18for i in $*
19do
20  OUTFILE=$(basename `echo $i | sed 's/\.[a-zA-Z0-9]*$//g'`.bin)
21  $OBJCOPY -O binary $i $OUTFILE
22done
23
Note: See TracBrowser for help on using the repository browser.