coff2bin

来自「RTEMS (Real-Time Executive for Multiproc」· 代码 · 共 24 行

TXT
24
字号
#!/bin/sh# Just a Q&D prog to convert a bunch of RTEMS generated COFF files to raw# binary images that can be loaded on the TS-1325. The converted files are# saved in the current directory.## Tony AmbardarOBJCOPY=/usr/local/rtems/bin/i386-rtems-objcopyif [ $# = 0 ]then  echo "Description: Convert RTEMS coff files to raw binary files."  echo "Usage: coff2bin <list-of-coff-files>"  echo  exit 1fifor i in $*do  OUTFILE=$(basename `echo $i | sed 's/\.[a-zA-Z0-9]*$//g'`.bin)  $OBJCOPY -O binary $i $OUTFILEdone

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?