3 # This called by genscripts_extra.sh
5 MSP430_NAME
=${EMULATION_NAME}
7 if [ "${MSP430_NAME}" = "msp430x110" ] ; then
10 SCRIPT_NAME
=elf32msp430
11 OUTPUT_FORMAT
="elf32-msp430"
24 if [ "${MSP430_NAME}" = "msp430x1101" ] ; then
27 SCRIPT_NAME
=elf32msp430
28 OUTPUT_FORMAT
="elf32-msp430"
41 if [ "${MSP430_NAME}" = "msp430x1111" ] ; then
44 SCRIPT_NAME
=elf32msp430
45 OUTPUT_FORMAT
="elf32-msp430"
58 if [ "${MSP430_NAME}" = "msp430x112" ] ; then
61 SCRIPT_NAME
=elf32msp430
62 OUTPUT_FORMAT
="elf32-msp430"
75 if [ "${MSP430_NAME}" = "msp430x1121" ] ; then
78 SCRIPT_NAME
=elf32msp430
79 OUTPUT_FORMAT
="elf32-msp430"
92 if [ "${MSP430_NAME}" = "msp430x1122" ] ; then
95 SCRIPT_NAME
=elf32msp430
96 OUTPUT_FORMAT
="elf32-msp430"
109 if [ "${MSP430_NAME}" = "msp430x1132" ] ; then
112 SCRIPT_NAME
=elf32msp430
113 OUTPUT_FORMAT
="elf32-msp430"
116 TEMPLATE_NAME
=generic
126 if [ "${MSP430_NAME}" = "msp430x122" ] ; then
129 SCRIPT_NAME
=elf32msp430
130 OUTPUT_FORMAT
="elf32-msp430"
133 TEMPLATE_NAME
=generic
143 if [ "${MSP430_NAME}" = "msp430x1222" ] ; then
146 SCRIPT_NAME
=elf32msp430
147 OUTPUT_FORMAT
="elf32-msp430"
150 TEMPLATE_NAME
=generic
160 if [ "${MSP430_NAME}" = "msp430x123" ] ; then
163 SCRIPT_NAME
=elf32msp430
164 OUTPUT_FORMAT
="elf32-msp430"
167 TEMPLATE_NAME
=generic
177 if [ "${MSP430_NAME}" = "msp430x1232" ] ; then
180 SCRIPT_NAME
=elf32msp430
181 OUTPUT_FORMAT
="elf32-msp430"
184 TEMPLATE_NAME
=generic
194 if [ "${MSP430_NAME}" = "msp430x133" ] ; then
197 SCRIPT_NAME
=elf32msp430
198 OUTPUT_FORMAT
="elf32-msp430"
201 TEMPLATE_NAME
=generic
211 if [ "${MSP430_NAME}" = "msp430x1331" ] ; then
214 SCRIPT_NAME
=elf32msp430
215 OUTPUT_FORMAT
="elf32-msp430"
218 TEMPLATE_NAME
=generic
228 if [ "${MSP430_NAME}" = "msp430x135" ] ; then
231 SCRIPT_NAME
=elf32msp430
232 OUTPUT_FORMAT
="elf32-msp430"
235 TEMPLATE_NAME
=generic
245 if [ "${MSP430_NAME}" = "msp430x1351" ] ; then
248 SCRIPT_NAME
=elf32msp430
249 OUTPUT_FORMAT
="elf32-msp430"
252 TEMPLATE_NAME
=generic
262 if [ "${MSP430_NAME}" = "msp430x147" ] ; then
265 SCRIPT_NAME
=elf32msp430
266 OUTPUT_FORMAT
="elf32-msp430"
269 TEMPLATE_NAME
=generic
279 if [ "${MSP430_NAME}" = "msp430x148" ] ; then
282 SCRIPT_NAME
=elf32msp430
283 OUTPUT_FORMAT
="elf32-msp430"
286 TEMPLATE_NAME
=generic
296 if [ "${MSP430_NAME}" = "msp430x149" ] ; then
299 SCRIPT_NAME
=elf32msp430
300 OUTPUT_FORMAT
="elf32-msp430"
303 TEMPLATE_NAME
=generic
313 if [ "${MSP430_NAME}" = "msp430x155" ] ; then
316 SCRIPT_NAME
=elf32msp430
317 OUTPUT_FORMAT
="elf32-msp430"
320 TEMPLATE_NAME
=generic
330 if [ "${MSP430_NAME}" = "msp430x156" ] ; then
333 SCRIPT_NAME
=elf32msp430
334 OUTPUT_FORMAT
="elf32-msp430"
337 TEMPLATE_NAME
=generic
347 if [ "${MSP430_NAME}" = "msp430x157" ] ; then
350 SCRIPT_NAME
=elf32msp430
351 OUTPUT_FORMAT
="elf32-msp430"
354 TEMPLATE_NAME
=generic
364 if [ "${MSP430_NAME}" = "msp430x167" ] ; then
367 SCRIPT_NAME
=elf32msp430
368 OUTPUT_FORMAT
="elf32-msp430"
371 TEMPLATE_NAME
=generic
381 if [ "${MSP430_NAME}" = "msp430x168" ] ; then
384 SCRIPT_NAME
=elf32msp430
385 OUTPUT_FORMAT
="elf32-msp430"
388 TEMPLATE_NAME
=generic
398 if [ "${MSP430_NAME}" = "msp430x169" ] ; then
401 SCRIPT_NAME
=elf32msp430
402 OUTPUT_FORMAT
="elf32-msp430"
405 TEMPLATE_NAME
=generic
415 if [ "${MSP430_NAME}" = "msp430x1610" ] ; then
418 SCRIPT_NAME
=elf32msp430
419 OUTPUT_FORMAT
="elf32-msp430"
422 TEMPLATE_NAME
=generic
432 if [ "${MSP430_NAME}" = "msp430x1611" ] ; then
435 SCRIPT_NAME
=elf32msp430
436 OUTPUT_FORMAT
="elf32-msp430"
439 TEMPLATE_NAME
=generic
449 if [ "${MSP430_NAME}" = "msp430x1612" ] ; then
452 SCRIPT_NAME
=elf32msp430
453 OUTPUT_FORMAT
="elf32-msp430"
456 TEMPLATE_NAME
=generic
466 if [ "${MSP430_NAME}" = "msp430x2101" ] ; then
469 SCRIPT_NAME
=elf32msp430
470 OUTPUT_FORMAT
="elf32-msp430"
473 TEMPLATE_NAME
=generic
483 if [ "${MSP430_NAME}" = "msp430x2111" ] ; then
486 SCRIPT_NAME
=elf32msp430
487 OUTPUT_FORMAT
="elf32-msp430"
490 TEMPLATE_NAME
=generic
500 if [ "${MSP430_NAME}" = "msp430x2121" ] ; then
503 SCRIPT_NAME
=elf32msp430
504 OUTPUT_FORMAT
="elf32-msp430"
507 TEMPLATE_NAME
=generic
517 if [ "${MSP430_NAME}" = "msp430x2131" ] ; then
520 SCRIPT_NAME
=elf32msp430
521 OUTPUT_FORMAT
="elf32-msp430"
524 TEMPLATE_NAME
=generic
534 if [ "${MSP430_NAME}" = "msp430x311" ] ; then
537 SCRIPT_NAME
=elf32msp430_3
538 OUTPUT_FORMAT
="elf32-msp430"
541 TEMPLATE_NAME
=generic
551 if [ "${MSP430_NAME}" = "msp430x312" ] ; then
554 SCRIPT_NAME
=elf32msp430_3
555 OUTPUT_FORMAT
="elf32-msp430"
558 TEMPLATE_NAME
=generic
568 if [ "${MSP430_NAME}" = "msp430x313" ] ; then
571 SCRIPT_NAME
=elf32msp430_3
572 OUTPUT_FORMAT
="elf32-msp430"
575 TEMPLATE_NAME
=generic
585 if [ "${MSP430_NAME}" = "msp430x314" ] ; then
588 SCRIPT_NAME
=elf32msp430_3
589 OUTPUT_FORMAT
="elf32-msp430"
592 TEMPLATE_NAME
=generic
602 if [ "${MSP430_NAME}" = "msp430x315" ] ; then
605 SCRIPT_NAME
=elf32msp430_3
606 OUTPUT_FORMAT
="elf32-msp430"
609 TEMPLATE_NAME
=generic
619 if [ "${MSP430_NAME}" = "msp430x323" ] ; then
622 SCRIPT_NAME
=elf32msp430_3
623 OUTPUT_FORMAT
="elf32-msp430"
626 TEMPLATE_NAME
=generic
636 if [ "${MSP430_NAME}" = "msp430x325" ] ; then
639 SCRIPT_NAME
=elf32msp430_3
640 OUTPUT_FORMAT
="elf32-msp430"
643 TEMPLATE_NAME
=generic
653 if [ "${MSP430_NAME}" = "msp430x336" ] ; then
656 SCRIPT_NAME
=elf32msp430_3
657 OUTPUT_FORMAT
="elf32-msp430"
660 TEMPLATE_NAME
=generic
670 if [ "${MSP430_NAME}" = "msp430x337" ] ; then
673 SCRIPT_NAME
=elf32msp430_3
674 OUTPUT_FORMAT
="elf32-msp430"
677 TEMPLATE_NAME
=generic
687 if [ "${MSP430_NAME}" = "msp430x412" ] ; then
690 SCRIPT_NAME
=elf32msp430
691 OUTPUT_FORMAT
="elf32-msp430"
694 TEMPLATE_NAME
=generic
704 if [ "${MSP430_NAME}" = "msp430x413" ] ; then
707 SCRIPT_NAME
=elf32msp430
708 OUTPUT_FORMAT
="elf32-msp430"
711 TEMPLATE_NAME
=generic
721 if [ "${MSP430_NAME}" = "msp430x415" ] ; then
724 SCRIPT_NAME
=elf32msp430
725 OUTPUT_FORMAT
="elf32-msp430"
728 TEMPLATE_NAME
=generic
738 if [ "${MSP430_NAME}" = "msp430x417" ] ; then
741 SCRIPT_NAME
=elf32msp430
742 OUTPUT_FORMAT
="elf32-msp430"
745 TEMPLATE_NAME
=generic
755 if [ "${MSP430_NAME}" = "msp430x435" ] ; then
758 SCRIPT_NAME
=elf32msp430
759 OUTPUT_FORMAT
="elf32-msp430"
762 TEMPLATE_NAME
=generic
772 if [ "${MSP430_NAME}" = "msp430x436" ] ; then
775 SCRIPT_NAME
=elf32msp430
776 OUTPUT_FORMAT
="elf32-msp430"
779 TEMPLATE_NAME
=generic
789 if [ "${MSP430_NAME}" = "msp430x437" ] ; then
792 SCRIPT_NAME
=elf32msp430
793 OUTPUT_FORMAT
="elf32-msp430"
796 TEMPLATE_NAME
=generic
806 if [ "${MSP430_NAME}" = "msp430x447" ] ; then
809 SCRIPT_NAME
=elf32msp430
810 OUTPUT_FORMAT
="elf32-msp430"
813 TEMPLATE_NAME
=generic
823 if [ "${MSP430_NAME}" = "msp430x448" ] ; then
826 SCRIPT_NAME
=elf32msp430
827 OUTPUT_FORMAT
="elf32-msp430"
830 TEMPLATE_NAME
=generic
840 if [ "${MSP430_NAME}" = "msp430x449" ] ; then
843 SCRIPT_NAME
=elf32msp430
844 OUTPUT_FORMAT
="elf32-msp430"
847 TEMPLATE_NAME
=generic
857 if [ "${MSP430_NAME}" = "msp430xE423" ] ; then
860 SCRIPT_NAME
=elf32msp430
861 OUTPUT_FORMAT
="elf32-msp430"
864 TEMPLATE_NAME
=generic
874 if [ "${MSP430_NAME}" = "msp430xE425" ] ; then
877 SCRIPT_NAME
=elf32msp430
878 OUTPUT_FORMAT
="elf32-msp430"
881 TEMPLATE_NAME
=generic
891 if [ "${MSP430_NAME}" = "msp430xE427" ] ; then
894 SCRIPT_NAME
=elf32msp430
895 OUTPUT_FORMAT
="elf32-msp430"
898 TEMPLATE_NAME
=generic
908 if [ "${MSP430_NAME}" = "msp430xG437" ] ; then
911 SCRIPT_NAME
=elf32msp430
912 OUTPUT_FORMAT
="elf32-msp430"
915 TEMPLATE_NAME
=generic
925 if [ "${MSP430_NAME}" = "msp430xG438" ] ; then
928 SCRIPT_NAME
=elf32msp430
929 OUTPUT_FORMAT
="elf32-msp430"
932 TEMPLATE_NAME
=generic
942 if [ "${MSP430_NAME}" = "msp430xG439" ] ; then
945 SCRIPT_NAME
=elf32msp430
946 OUTPUT_FORMAT
="elf32-msp430"
949 TEMPLATE_NAME
=generic
959 if [ "${MSP430_NAME}" = "msp430xW423" ] ; then
962 SCRIPT_NAME
=elf32msp430
963 OUTPUT_FORMAT
="elf32-msp430"
966 TEMPLATE_NAME
=generic
976 if [ "${MSP430_NAME}" = "msp430xW425" ] ; then
979 SCRIPT_NAME
=elf32msp430
980 OUTPUT_FORMAT
="elf32-msp430"
983 TEMPLATE_NAME
=generic
993 if [ "${MSP430_NAME}" = "msp430xW427" ] ; then
996 SCRIPT_NAME
=elf32msp430
997 OUTPUT_FORMAT
="elf32-msp430"
1000 TEMPLATE_NAME
=generic