3 # This script can be used to recreate the device library files from
6 # mkdir temp && cd temp && ../recreate.sh
8 # You will need to adjust the paths to SDCC and gputils before running!
10 GPUTILS=$HOME/svn/gputils
13 for i in ../pic*.h; do
14 if [ ! "$i" = "../pic14regs.h" ]; then
15 DEV=`echo "$i" | sed -e "s:../pic::;s/\.h//"`;
16 echo "Creating ${DEV}...";
17 "${SDCC}/support/scripts/inc2h.pl" "${DEV}" "${GPUTILS}";