# HG changeset patch # User Mychaela Falconia # Date 1541571485 0 # Node ID 225e396523872604660e08daadf2eccf4512dd55 # Parent e67bbb9b1fb93654c2e87fed4600ae5cef2fe035 TMS470 build system: added m0-to-bin-c155 diff -r e67bbb9b1fb9 -r 225e39652387 configure-tms470.sh --- a/configure-tms470.sh Wed Nov 07 06:03:02 2018 +0000 +++ b/configure-tms470.sh Wed Nov 07 06:18:05 2018 +0000 @@ -373,12 +373,17 @@ cat tms470/makefile-frags/link-steps >> $BUILD_DIR/Makefile -if [ "$TARGET" != c139 -a "$TARGET" != c11x ] -then - cat tms470/makefile-frags/m0-to-bin-std >> $BUILD_DIR/Makefile -else - cat tms470/makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile -fi +case "$TARGET" in + c11x|c139) + cat tms470/makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile + ;; + c155) + cat tms470/makefile-frags/m0-to-bin-c155 >> $BUILD_DIR/Makefile + ;; + *) + cat tms470/makefile-frags/m0-to-bin-std >> $BUILD_DIR/Makefile + ;; +esac cat tms470/makefile-frags/flash-script-gen >> $BUILD_DIR/Makefile diff -r e67bbb9b1fb9 -r 225e39652387 tms470/makefile-frags/m0-to-bin-c155 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tms470/makefile-frags/m0-to-bin-c155 Wed Nov 07 06:18:05 2018 +0000 @@ -0,0 +1,6 @@ +fwimage.intbin: fwimage.m0 + ../helpers/mokosrec2bin $< $@ FF + +fwimage.bin: fwimage.intbin + dd if=$< of=$@ bs=65536 skip=2 +