merge from gcc
[binutils.git] / ld / emulparams / msp430all.sh
blobbaee02eefd574ae101e48ea64aa387480e9fae1e
1 #!/bin/sh
3 # This called by genscripts_extra.sh
5 MSP430_NAME=${EMULATION_NAME}
7 if [ "${MSP430_NAME}" = "msp430x110" ] ; then
8 ARCH=msp:11
9 MACHINE=
10 SCRIPT_NAME=elf32msp430
11 OUTPUT_FORMAT="elf32-msp430"
12 MAXPAGESIZE=1
13 EMBEDDED=yes
14 TEMPLATE_NAME=generic
16 ROM_START=0xfc00
17 ROM_SIZE=0x3e0
18 RAM_START=0x0200
19 RAM_SIZE=128
21 STACK=0x280
24 if [ "${MSP430_NAME}" = "msp430x1101" ] ; then
25 ARCH=msp:110
26 MACHINE=
27 SCRIPT_NAME=elf32msp430
28 OUTPUT_FORMAT="elf32-msp430"
29 MAXPAGESIZE=1
30 EMBEDDED=yes
31 TEMPLATE_NAME=generic
33 ROM_START=0xfc00
34 ROM_SIZE=0x3e0
35 RAM_START=0x0200
36 RAM_SIZE=128
38 STACK=0x280
41 if [ "${MSP430_NAME}" = "msp430x1111" ] ; then
42 ARCH=msp:110
43 MACHINE=
44 SCRIPT_NAME=elf32msp430
45 OUTPUT_FORMAT="elf32-msp430"
46 MAXPAGESIZE=1
47 EMBEDDED=yes
48 TEMPLATE_NAME=generic
50 ROM_START=0xf800
51 ROM_SIZE=0x07e0
52 RAM_START=0x0200
53 RAM_SIZE=128
55 STACK=0x280
58 if [ "${MSP430_NAME}" = "msp430x112" ] ; then
59 ARCH=msp:11
60 MACHINE=
61 SCRIPT_NAME=elf32msp430
62 OUTPUT_FORMAT="elf32-msp430"
63 MAXPAGESIZE=1
64 EMBEDDED=yes
65 TEMPLATE_NAME=generic
67 ROM_START=0xf000
68 ROM_SIZE=0xfe0
69 RAM_START=0x0200
70 RAM_SIZE=256
72 STACK=0x300
75 if [ "${MSP430_NAME}" = "msp430x1121" ] ; then
76 ARCH=msp:110
77 MACHINE=
78 SCRIPT_NAME=elf32msp430
79 OUTPUT_FORMAT="elf32-msp430"
80 MAXPAGESIZE=1
81 EMBEDDED=yes
82 TEMPLATE_NAME=generic
84 ROM_START=0xf000
85 ROM_SIZE=0x0fe0
86 RAM_START=0x0200
87 RAM_SIZE=256
89 STACK=0x300
92 if [ "${MSP430_NAME}" = "msp430x1122" ] ; then
93 ARCH=msp:110
94 MACHINE=
95 SCRIPT_NAME=elf32msp430
96 OUTPUT_FORMAT="elf32-msp430"
97 MAXPAGESIZE=1
98 EMBEDDED=yes
99 TEMPLATE_NAME=generic
101 ROM_START=0xf000
102 ROM_SIZE=0x0fe0
103 RAM_START=0x0200
104 RAM_SIZE=256
106 STACK=0x300
109 if [ "${MSP430_NAME}" = "msp430x1132" ] ; then
110 ARCH=msp:110
111 MACHINE=
112 SCRIPT_NAME=elf32msp430
113 OUTPUT_FORMAT="elf32-msp430"
114 MAXPAGESIZE=1
115 EMBEDDED=yes
116 TEMPLATE_NAME=generic
118 ROM_START=0xe000
119 ROM_SIZE=0x1fe0
120 RAM_START=0x0200
121 RAM_SIZE=256
123 STACK=0x300
126 if [ "${MSP430_NAME}" = "msp430x122" ] ; then
127 ARCH=msp:12
128 MACHINE=
129 SCRIPT_NAME=elf32msp430
130 OUTPUT_FORMAT="elf32-msp430"
131 MAXPAGESIZE=1
132 EMBEDDED=yes
133 TEMPLATE_NAME=generic
135 ROM_START=0xf000
136 ROM_SIZE=0xfe0
137 RAM_START=0x0200
138 RAM_SIZE=256
140 STACK=0x300
143 if [ "${MSP430_NAME}" = "msp430x1222" ] ; then
144 ARCH=msp:12
145 MACHINE=
146 SCRIPT_NAME=elf32msp430
147 OUTPUT_FORMAT="elf32-msp430"
148 MAXPAGESIZE=1
149 EMBEDDED=yes
150 TEMPLATE_NAME=generic
152 ROM_START=0xf000
153 ROM_SIZE=0xfe0
154 RAM_START=0x0200
155 RAM_SIZE=256
157 STACK=0x300
160 if [ "${MSP430_NAME}" = "msp430x123" ] ; then
161 ARCH=msp:12
162 MACHINE=
163 SCRIPT_NAME=elf32msp430
164 OUTPUT_FORMAT="elf32-msp430"
165 MAXPAGESIZE=1
166 EMBEDDED=yes
167 TEMPLATE_NAME=generic
169 ROM_START=0xe000
170 ROM_SIZE=0x1fe0
171 RAM_START=0x0200
172 RAM_SIZE=256
174 STACK=0x300
177 if [ "${MSP430_NAME}" = "msp430x1232" ] ; then
178 ARCH=msp:12
179 MACHINE=
180 SCRIPT_NAME=elf32msp430
181 OUTPUT_FORMAT="elf32-msp430"
182 MAXPAGESIZE=1
183 EMBEDDED=yes
184 TEMPLATE_NAME=generic
186 ROM_START=0xe000
187 ROM_SIZE=0x1fe0
188 RAM_START=0x0200
189 RAM_SIZE=256
191 STACK=0x300
194 if [ "${MSP430_NAME}" = "msp430x133" ] ; then
195 ARCH=msp:13
196 MACHINE=
197 SCRIPT_NAME=elf32msp430
198 OUTPUT_FORMAT="elf32-msp430"
199 MAXPAGESIZE=1
200 EMBEDDED=yes
201 TEMPLATE_NAME=generic
203 ROM_START=0xe000
204 ROM_SIZE=0x1fe0
205 RAM_START=0x0200
206 RAM_SIZE=256
208 STACK=0x300
211 if [ "${MSP430_NAME}" = "msp430x1331" ] ; then
212 ARCH=msp:13
213 MACHINE=
214 SCRIPT_NAME=elf32msp430
215 OUTPUT_FORMAT="elf32-msp430"
216 MAXPAGESIZE=1
217 EMBEDDED=yes
218 TEMPLATE_NAME=generic
220 ROM_START=0xe000
221 ROM_SIZE=0x1fe0
222 RAM_START=0x0200
223 RAM_SIZE=256
225 STACK=0x300
228 if [ "${MSP430_NAME}" = "msp430x135" ] ; then
229 ARCH=msp:13
230 MACHINE=
231 SCRIPT_NAME=elf32msp430
232 OUTPUT_FORMAT="elf32-msp430"
233 MAXPAGESIZE=1
234 EMBEDDED=yes
235 TEMPLATE_NAME=generic
237 ROM_START=0xc000
238 ROM_SIZE=0x3fe0
239 RAM_START=0x0200
240 RAM_SIZE=512
242 STACK=0x400
245 if [ "${MSP430_NAME}" = "msp430x1351" ] ; then
246 ARCH=msp:13
247 MACHINE=
248 SCRIPT_NAME=elf32msp430
249 OUTPUT_FORMAT="elf32-msp430"
250 MAXPAGESIZE=1
251 EMBEDDED=yes
252 TEMPLATE_NAME=generic
254 ROM_START=0xc000
255 ROM_SIZE=0x3fe0
256 RAM_START=0x0200
257 RAM_SIZE=512
259 STACK=0x400
262 if [ "${MSP430_NAME}" = "msp430x147" ] ; then
263 ARCH=msp:14
264 MACHINE=
265 SCRIPT_NAME=elf32msp430
266 OUTPUT_FORMAT="elf32-msp430"
267 MAXPAGESIZE=1
268 EMBEDDED=yes
269 TEMPLATE_NAME=generic
271 ROM_START=0x8000
272 ROM_SIZE=0x7fe0
273 RAM_START=0x0200
274 RAM_SIZE=1K
276 STACK=0x600
279 if [ "${MSP430_NAME}" = "msp430x148" ] ; then
280 ARCH=msp:14
281 MACHINE=
282 SCRIPT_NAME=elf32msp430
283 OUTPUT_FORMAT="elf32-msp430"
284 MAXPAGESIZE=1
285 EMBEDDED=yes
286 TEMPLATE_NAME=generic
288 ROM_START=0x4000
289 ROM_SIZE=0xbfe0
290 RAM_START=0x0200
291 RAM_SIZE=0x0800
293 STACK=0xa00
296 if [ "${MSP430_NAME}" = "msp430x149" ] ; then
297 ARCH=msp:14
298 MACHINE=
299 SCRIPT_NAME=elf32msp430
300 OUTPUT_FORMAT="elf32-msp430"
301 MAXPAGESIZE=1
302 EMBEDDED=yes
303 TEMPLATE_NAME=generic
305 ROM_START=0x1100
306 ROM_SIZE=0xeee0
307 RAM_START=0x0200
308 RAM_SIZE=0x0800
310 STACK=0xa00
313 if [ "${MSP430_NAME}" = "msp430x155" ] ; then
314 ARCH=msp:15
315 MACHINE=
316 SCRIPT_NAME=elf32msp430
317 OUTPUT_FORMAT="elf32-msp430"
318 MAXPAGESIZE=1
319 EMBEDDED=yes
320 TEMPLATE_NAME=generic
322 ROM_START=0xc000
323 ROM_SIZE=0x3fe0
324 RAM_START=0x0200
325 RAM_SIZE=512
327 STACK=0x400
330 if [ "${MSP430_NAME}" = "msp430x156" ] ; then
331 ARCH=msp:15
332 MACHINE=
333 SCRIPT_NAME=elf32msp430
334 OUTPUT_FORMAT="elf32-msp430"
335 MAXPAGESIZE=1
336 EMBEDDED=yes
337 TEMPLATE_NAME=generic
339 ROM_START=0xa000
340 ROM_SIZE=0x5fe0
341 RAM_START=0x0200
342 RAM_SIZE=512
344 STACK=0x400
347 if [ "${MSP430_NAME}" = "msp430x157" ] ; then
348 ARCH=msp:15
349 MACHINE=
350 SCRIPT_NAME=elf32msp430
351 OUTPUT_FORMAT="elf32-msp430"
352 MAXPAGESIZE=1
353 EMBEDDED=yes
354 TEMPLATE_NAME=generic
356 ROM_START=0x8000
357 ROM_SIZE=0x7fe0
358 RAM_START=0x0200
359 RAM_SIZE=1K
361 STACK=0x600
364 if [ "${MSP430_NAME}" = "msp430x167" ] ; then
365 ARCH=msp:16
366 MACHINE=
367 SCRIPT_NAME=elf32msp430
368 OUTPUT_FORMAT="elf32-msp430"
369 MAXPAGESIZE=1
370 EMBEDDED=yes
371 TEMPLATE_NAME=generic
373 ROM_START=0x8000
374 ROM_SIZE=0x7fe0
375 RAM_START=0x0200
376 RAM_SIZE=1K
378 STACK=0x600
381 if [ "${MSP430_NAME}" = "msp430x168" ] ; then
382 ARCH=msp:16
383 MACHINE=
384 SCRIPT_NAME=elf32msp430
385 OUTPUT_FORMAT="elf32-msp430"
386 MAXPAGESIZE=1
387 EMBEDDED=yes
388 TEMPLATE_NAME=generic
390 ROM_START=0x4000
391 ROM_SIZE=0xbfe0
392 RAM_START=0x0200
393 RAM_SIZE=0x0800
395 STACK=0xa00
398 if [ "${MSP430_NAME}" = "msp430x169" ] ; then
399 ARCH=msp:16
400 MACHINE=
401 SCRIPT_NAME=elf32msp430
402 OUTPUT_FORMAT="elf32-msp430"
403 MAXPAGESIZE=1
404 EMBEDDED=yes
405 TEMPLATE_NAME=generic
407 ROM_START=0x1100
408 ROM_SIZE=0xeee0
409 RAM_START=0x0200
410 RAM_SIZE=0x0800
412 STACK=0xa00
415 if [ "${MSP430_NAME}" = "msp430x1610" ] ; then
416 ARCH=msp:16
417 MACHINE=
418 SCRIPT_NAME=elf32msp430
419 OUTPUT_FORMAT="elf32-msp430"
420 MAXPAGESIZE=1
421 EMBEDDED=yes
422 TEMPLATE_NAME=generic
424 ROM_START=0x8000
425 ROM_SIZE=0x7fe0
426 RAM_START=0x1100
427 RAM_SIZE=0x1400
429 STACK=0x2500
432 if [ "${MSP430_NAME}" = "msp430x1611" ] ; then
433 ARCH=msp:16
434 MACHINE=
435 SCRIPT_NAME=elf32msp430
436 OUTPUT_FORMAT="elf32-msp430"
437 MAXPAGESIZE=1
438 EMBEDDED=yes
439 TEMPLATE_NAME=generic
441 ROM_START=0x4000
442 ROM_SIZE=0xbfe0
443 RAM_START=0x1100
444 RAM_SIZE=0x2800
446 STACK=0x3900
449 if [ "${MSP430_NAME}" = "msp430x1612" ] ; then
450 ARCH=msp:16
451 MACHINE=
452 SCRIPT_NAME=elf32msp430
453 OUTPUT_FORMAT="elf32-msp430"
454 MAXPAGESIZE=1
455 EMBEDDED=yes
456 TEMPLATE_NAME=generic
458 ROM_START=0x2500
459 ROM_SIZE=0xdae0
460 RAM_START=0x1100
461 RAM_SIZE=0x1400
463 STACK=0x2500
466 if [ "${MSP430_NAME}" = "msp430x2101" ] ; then
467 ARCH=msp:21
468 MACHINE=
469 SCRIPT_NAME=elf32msp430
470 OUTPUT_FORMAT="elf32-msp430"
471 MAXPAGESIZE=1
472 EMBEDDED=yes
473 TEMPLATE_NAME=generic
475 ROM_START=0xFC00
476 ROM_SIZE=0x03e0
477 RAM_START=0x0200
478 RAM_SIZE=128
480 STACK=0x280
483 if [ "${MSP430_NAME}" = "msp430x2111" ] ; then
484 ARCH=msp:21
485 MACHINE=
486 SCRIPT_NAME=elf32msp430
487 OUTPUT_FORMAT="elf32-msp430"
488 MAXPAGESIZE=1
489 EMBEDDED=yes
490 TEMPLATE_NAME=generic
492 ROM_START=0xF800
493 ROM_SIZE=0x07e0
494 RAM_START=0x0200
495 RAM_SIZE=128
497 STACK=0x280
500 if [ "${MSP430_NAME}" = "msp430x2121" ] ; then
501 ARCH=msp:21
502 MACHINE=
503 SCRIPT_NAME=elf32msp430
504 OUTPUT_FORMAT="elf32-msp430"
505 MAXPAGESIZE=1
506 EMBEDDED=yes
507 TEMPLATE_NAME=generic
509 ROM_START=0xf000
510 ROM_SIZE=0x0fe0
511 RAM_START=0x0200
512 RAM_SIZE=256
514 STACK=0x300
517 if [ "${MSP430_NAME}" = "msp430x2131" ] ; then
518 ARCH=msp:21
519 MACHINE=
520 SCRIPT_NAME=elf32msp430
521 OUTPUT_FORMAT="elf32-msp430"
522 MAXPAGESIZE=1
523 EMBEDDED=yes
524 TEMPLATE_NAME=generic
526 ROM_START=0xe000
527 ROM_SIZE=0x1fe0
528 RAM_START=0x0200
529 RAM_SIZE=256
531 STACK=0x300
534 if [ "${MSP430_NAME}" = "msp430x311" ] ; then
535 ARCH=msp:31
536 MACHINE=
537 SCRIPT_NAME=elf32msp430_3
538 OUTPUT_FORMAT="elf32-msp430"
539 MAXPAGESIZE=1
540 EMBEDDED=yes
541 TEMPLATE_NAME=generic
543 ROM_START=0xf800
544 ROM_SIZE=0x07e0
545 RAM_START=0x0200
546 RAM_SIZE=128
548 STACK=0x280
551 if [ "${MSP430_NAME}" = "msp430x312" ] ; then
552 ARCH=msp:31
553 MACHINE=
554 SCRIPT_NAME=elf32msp430_3
555 OUTPUT_FORMAT="elf32-msp430"
556 MAXPAGESIZE=1
557 EMBEDDED=yes
558 TEMPLATE_NAME=generic
560 ROM_START=0xf000
561 ROM_SIZE=0x0fe0
562 RAM_START=0x0200
563 RAM_SIZE=256
565 STACK=0x300
568 if [ "${MSP430_NAME}" = "msp430x313" ] ; then
569 ARCH=msp:31
570 MACHINE=
571 SCRIPT_NAME=elf32msp430_3
572 OUTPUT_FORMAT="elf32-msp430"
573 MAXPAGESIZE=1
574 EMBEDDED=yes
575 TEMPLATE_NAME=generic
577 ROM_START=0xe000
578 ROM_SIZE=0x1fe0
579 RAM_START=0x0200
580 RAM_SIZE=256
582 STACK=0x300
585 if [ "${MSP430_NAME}" = "msp430x314" ] ; then
586 ARCH=msp:31
587 MACHINE=
588 SCRIPT_NAME=elf32msp430_3
589 OUTPUT_FORMAT="elf32-msp430"
590 MAXPAGESIZE=1
591 EMBEDDED=yes
592 TEMPLATE_NAME=generic
594 ROM_START=0xd000
595 ROM_SIZE=0x2fe0
596 RAM_START=0x0200
597 RAM_SIZE=512
599 STACK=0x400
602 if [ "${MSP430_NAME}" = "msp430x315" ] ; then
603 ARCH=msp:31
604 MACHINE=
605 SCRIPT_NAME=elf32msp430_3
606 OUTPUT_FORMAT="elf32-msp430"
607 MAXPAGESIZE=1
608 EMBEDDED=yes
609 TEMPLATE_NAME=generic
611 ROM_START=0xc000
612 ROM_SIZE=0x3fe0
613 RAM_START=0x0200
614 RAM_SIZE=512
616 STACK=0x400
619 if [ "${MSP430_NAME}" = "msp430x323" ] ; then
620 ARCH=msp:32
621 MACHINE=
622 SCRIPT_NAME=elf32msp430_3
623 OUTPUT_FORMAT="elf32-msp430"
624 MAXPAGESIZE=1
625 EMBEDDED=yes
626 TEMPLATE_NAME=generic
628 ROM_START=0xe000
629 ROM_SIZE=0x1fe0
630 RAM_START=0x0200
631 RAM_SIZE=256
633 STACK=0x300
636 if [ "${MSP430_NAME}" = "msp430x325" ] ; then
637 ARCH=msp:32
638 MACHINE=
639 SCRIPT_NAME=elf32msp430_3
640 OUTPUT_FORMAT="elf32-msp430"
641 MAXPAGESIZE=1
642 EMBEDDED=yes
643 TEMPLATE_NAME=generic
645 ROM_START=0xc000
646 ROM_SIZE=0x3fe0
647 RAM_START=0x0200
648 RAM_SIZE=512
650 STACK=0x400
653 if [ "${MSP430_NAME}" = "msp430x336" ] ; then
654 ARCH=msp:33
655 MACHINE=
656 SCRIPT_NAME=elf32msp430_3
657 OUTPUT_FORMAT="elf32-msp430"
658 MAXPAGESIZE=1
659 EMBEDDED=yes
660 TEMPLATE_NAME=generic
662 ROM_START=0xa000
663 ROM_SIZE=0x5fe0
664 RAM_START=0x0200
665 RAM_SIZE=1024
667 STACK=0x600
670 if [ "${MSP430_NAME}" = "msp430x337" ] ; then
671 ARCH=msp:33
672 MACHINE=
673 SCRIPT_NAME=elf32msp430_3
674 OUTPUT_FORMAT="elf32-msp430"
675 MAXPAGESIZE=1
676 EMBEDDED=yes
677 TEMPLATE_NAME=generic
679 ROM_START=0x8000
680 ROM_SIZE=0x7fe0
681 RAM_START=0x0200
682 RAM_SIZE=1024
684 STACK=0x600
687 if [ "${MSP430_NAME}" = "msp430x412" ] ; then
688 ARCH=msp:41
689 MACHINE=
690 SCRIPT_NAME=elf32msp430
691 OUTPUT_FORMAT="elf32-msp430"
692 MAXPAGESIZE=1
693 EMBEDDED=yes
694 TEMPLATE_NAME=generic
696 ROM_START=0xf000
697 ROM_SIZE=0x0fe0
698 RAM_START=0x0200
699 RAM_SIZE=256
701 STACK=0x300
704 if [ "${MSP430_NAME}" = "msp430x413" ] ; then
705 ARCH=msp:41
706 MACHINE=
707 SCRIPT_NAME=elf32msp430
708 OUTPUT_FORMAT="elf32-msp430"
709 MAXPAGESIZE=1
710 EMBEDDED=yes
711 TEMPLATE_NAME=generic
713 ROM_START=0xe000
714 ROM_SIZE=0x1fe0
715 RAM_START=0x0200
716 RAM_SIZE=256
718 STACK=0x300
721 if [ "${MSP430_NAME}" = "msp430x415" ] ; then
722 ARCH=msp:41
723 MACHINE=
724 SCRIPT_NAME=elf32msp430
725 OUTPUT_FORMAT="elf32-msp430"
726 MAXPAGESIZE=1
727 EMBEDDED=yes
728 TEMPLATE_NAME=generic
730 ROM_START=0xc000
731 ROM_SIZE=0x3fe0
732 RAM_START=0x0200
733 RAM_SIZE=512
735 STACK=0x400
738 if [ "${MSP430_NAME}" = "msp430x417" ] ; then
739 ARCH=msp:41
740 MACHINE=
741 SCRIPT_NAME=elf32msp430
742 OUTPUT_FORMAT="elf32-msp430"
743 MAXPAGESIZE=1
744 EMBEDDED=yes
745 TEMPLATE_NAME=generic
747 ROM_START=0x8000
748 ROM_SIZE=0x7fe0
749 RAM_START=0x0200
750 RAM_SIZE=1024
752 STACK=0x600
755 if [ "${MSP430_NAME}" = "msp430x435" ] ; then
756 ARCH=msp:43
757 MACHINE=
758 SCRIPT_NAME=elf32msp430
759 OUTPUT_FORMAT="elf32-msp430"
760 MAXPAGESIZE=1
761 EMBEDDED=yes
762 TEMPLATE_NAME=generic
764 ROM_START=0xc000
765 ROM_SIZE=0x3fe0
766 RAM_START=0x0200
767 RAM_SIZE=512
769 STACK=0x400
772 if [ "${MSP430_NAME}" = "msp430x436" ] ; then
773 ARCH=msp:43
774 MACHINE=
775 SCRIPT_NAME=elf32msp430
776 OUTPUT_FORMAT="elf32-msp430"
777 MAXPAGESIZE=1
778 EMBEDDED=yes
779 TEMPLATE_NAME=generic
781 ROM_START=0xa000
782 ROM_SIZE=0x5fe0
783 RAM_START=0x0200
784 RAM_SIZE=1024
786 STACK=0x600
789 if [ "${MSP430_NAME}" = "msp430x437" ] ; then
790 ARCH=msp:43
791 MACHINE=
792 SCRIPT_NAME=elf32msp430
793 OUTPUT_FORMAT="elf32-msp430"
794 MAXPAGESIZE=1
795 EMBEDDED=yes
796 TEMPLATE_NAME=generic
798 ROM_START=0x8000
799 ROM_SIZE=0x7fe0
800 RAM_START=0x0200
801 RAM_SIZE=1024
803 STACK=0x600
806 if [ "${MSP430_NAME}" = "msp430x447" ] ; then
807 ARCH=msp:44
808 MACHINE=
809 SCRIPT_NAME=elf32msp430
810 OUTPUT_FORMAT="elf32-msp430"
811 MAXPAGESIZE=1
812 EMBEDDED=yes
813 TEMPLATE_NAME=generic
815 ROM_START=0x8000
816 ROM_SIZE=0x7fe0
817 RAM_START=0x0200
818 RAM_SIZE=1024
820 STACK=0x600
823 if [ "${MSP430_NAME}" = "msp430x448" ] ; then
824 ARCH=msp:44
825 MACHINE=
826 SCRIPT_NAME=elf32msp430
827 OUTPUT_FORMAT="elf32-msp430"
828 MAXPAGESIZE=1
829 EMBEDDED=yes
830 TEMPLATE_NAME=generic
832 ROM_START=0x4000
833 ROM_SIZE=0xbfe0
834 RAM_START=0x0200
835 RAM_SIZE=0x0800
837 STACK=0xa00
840 if [ "${MSP430_NAME}" = "msp430x449" ] ; then
841 ARCH=msp:44
842 MACHINE=
843 SCRIPT_NAME=elf32msp430
844 OUTPUT_FORMAT="elf32-msp430"
845 MAXPAGESIZE=1
846 EMBEDDED=yes
847 TEMPLATE_NAME=generic
849 ROM_START=0x1100
850 ROM_SIZE=0xeee0
851 RAM_START=0x0200
852 RAM_SIZE=0x0800
854 STACK=0xa00
857 if [ "${MSP430_NAME}" = "msp430xE423" ] ; then
858 ARCH=msp:42
859 MACHINE=
860 SCRIPT_NAME=elf32msp430
861 OUTPUT_FORMAT="elf32-msp430"
862 MAXPAGESIZE=1
863 EMBEDDED=yes
864 TEMPLATE_NAME=generic
866 ROM_START=0xe000
867 ROM_SIZE=0x1fe0
868 RAM_START=0x0200
869 RAM_SIZE=256
871 STACK=0x300
874 if [ "${MSP430_NAME}" = "msp430xE425" ] ; then
875 ARCH=msp:42
876 MACHINE=
877 SCRIPT_NAME=elf32msp430
878 OUTPUT_FORMAT="elf32-msp430"
879 MAXPAGESIZE=1
880 EMBEDDED=yes
881 TEMPLATE_NAME=generic
883 ROM_START=0xc000
884 ROM_SIZE=0x3fe0
885 RAM_START=0x0200
886 RAM_SIZE=512
888 STACK=0x400
891 if [ "${MSP430_NAME}" = "msp430xE427" ] ; then
892 ARCH=msp:42
893 MACHINE=
894 SCRIPT_NAME=elf32msp430
895 OUTPUT_FORMAT="elf32-msp430"
896 MAXPAGESIZE=1
897 EMBEDDED=yes
898 TEMPLATE_NAME=generic
900 ROM_START=0x8000
901 ROM_SIZE=0x7fe0
902 RAM_START=0x0200
903 RAM_SIZE=1024
905 STACK=0x600
908 if [ "${MSP430_NAME}" = "msp430xG437" ] ; then
909 ARCH=msp:43
910 MACHINE=
911 SCRIPT_NAME=elf32msp430
912 OUTPUT_FORMAT="elf32-msp430"
913 MAXPAGESIZE=1
914 EMBEDDED=yes
915 TEMPLATE_NAME=generic
917 ROM_START=0x8000
918 ROM_SIZE=0x7fe0
919 RAM_START=0x0200
920 RAM_SIZE=1024
922 STACK=0x600
925 if [ "${MSP430_NAME}" = "msp430xG438" ] ; then
926 ARCH=msp:43
927 MACHINE=
928 SCRIPT_NAME=elf32msp430
929 OUTPUT_FORMAT="elf32-msp430"
930 MAXPAGESIZE=1
931 EMBEDDED=yes
932 TEMPLATE_NAME=generic
934 ROM_START=0x4000
935 ROM_SIZE=0xbef0
936 RAM_START=0x0200
937 RAM_SIZE=0x0800
939 STACK=0xa00
942 if [ "${MSP430_NAME}" = "msp430xG439" ] ; then
943 ARCH=msp:43
944 MACHINE=
945 SCRIPT_NAME=elf32msp430
946 OUTPUT_FORMAT="elf32-msp430"
947 MAXPAGESIZE=1
948 EMBEDDED=yes
949 TEMPLATE_NAME=generic
951 ROM_START=0x1100
952 ROM_SIZE=0xeee0
953 RAM_START=0x0200
954 RAM_SIZE=0x0800
956 STACK=0xa00
959 if [ "${MSP430_NAME}" = "msp430xW423" ] ; then
960 ARCH=msp:42
961 MACHINE=
962 SCRIPT_NAME=elf32msp430
963 OUTPUT_FORMAT="elf32-msp430"
964 MAXPAGESIZE=1
965 EMBEDDED=yes
966 TEMPLATE_NAME=generic
968 ROM_START=0xe000
969 ROM_SIZE=0x1fe0
970 RAM_START=0x0200
971 RAM_SIZE=256
973 STACK=0x300
976 if [ "${MSP430_NAME}" = "msp430xW425" ] ; then
977 ARCH=msp:42
978 MACHINE=
979 SCRIPT_NAME=elf32msp430
980 OUTPUT_FORMAT="elf32-msp430"
981 MAXPAGESIZE=1
982 EMBEDDED=yes
983 TEMPLATE_NAME=generic
985 ROM_START=0xc000
986 ROM_SIZE=0x3fe0
987 RAM_START=0x0200
988 RAM_SIZE=512
990 STACK=0x400
993 if [ "${MSP430_NAME}" = "msp430xW427" ] ; then
994 ARCH=msp:42
995 MACHINE=
996 SCRIPT_NAME=elf32msp430
997 OUTPUT_FORMAT="elf32-msp430"
998 MAXPAGESIZE=1
999 EMBEDDED=yes
1000 TEMPLATE_NAME=generic
1002 ROM_START=0x8000
1003 ROM_SIZE=0x7fe0
1004 RAM_START=0x0200
1005 RAM_SIZE=0x400
1007 STACK=0x600