Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Dmitry
Steve, thanks,
do these parts have ana extram RAM?
If yes, I'll add some extra bits into linker patch.
cheers,
~d

On Monday 23 February 2004 15:01, Steve Underwood wrote:
 Hi,

 The attached patch is against today's (040223) snapshot of binutils at
 sources.redhat.com. It adds support for the new 1610, 1611, and 1612
 which should be sampling about. NOW!

 Dmitry:
 This needs to be sent to the binutils maintainer.

 Regards,
 Steve

-- 
/*
 (`-''-/).___..--''`-._ (\   Dimmy the Wild UA1ACZ
  `6_ 6  )   `-.  ( ).`-.__.`)  State Polytechnical Univ.
  (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
_..`--'_..-_/  /--'_.' ,'   Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-' +7 (812) 5403923, 5585314
 */




Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Matthias Weingart
On Tue, Feb 24, 2004 at 11:00:44AM +0300, Dmitry wrote:
 Steve, thanks,
 do these parts have ana extram RAM?
 If yes, I'll add some extra bits into linker patch.

MSP430F
1610  32k Flash  5k RAM
1611  48k Flash 10k RAM
1612  55k Flash  5k RAM


Matthias



Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Matthias Weingart
On Tue, Feb 24, 2004 at 11:50:38AM +0300, Dmitry wrote:

 and i have no any info on 1612. Any link appreciated :)

I guess it is like the 1610.

 Then
 gcc will refer to 2k memory for globals, locals and stack.
 malloc() already sharpen to work with '.heap' memory and user can use it for 
 large arrays.
 
 OR VICE VERSA :) -- 2k for heap and upper memory for stack, locals, globals, 
 etc...
 
 What do you think?

It depends. Sometimes I like to have more heap, sometimes more stack.
Is it possible to add some flags to be flexible in this manner?

M.



Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Dmitry
On Tuesday 24 February 2004 13:03, Matthias Weingart wrote:
  What do you think?

 It depends. Sometimes I like to have more heap, sometimes more stack.
 Is it possible to add some flags to be flexible in this manner?

I doublt... Only linker needs any memory map or something.
I'll check if I can add some flags to linker. But from the top of my head i 
cannot remember anything which can help in this manner.

~d

-- 
/*
 (`-''-/).___..--''`-._ (\   Dimmy the Wild UA1ACZ
  `6_ 6  )   `-.  ( ).`-.__.`)  State Polytechnical Univ.
  (_Y_.)'  ._   )  `._ `. ``-..-'   Radio-Physics Departament
_..`--'_..-_/  /--'_.' ,'   Saint Petersburg,  Russia
   (il),-''  (li),'  ((!.-' +7 (812) 5403923, 5585314
 */




Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Lev Serebryakov
Hello, Steve!
Monday, February 23, 2004, 3:01:41 PM, you wrote:

SU The attached patch is against today's (040223) snapshot of binutils at
SU sources.redhat.com. It adds support for the new 1610, 1611, and 1612 
SU which should be sampling about. NOW!
 I've added these patches to FreeBSD port (2.14-based, with all
 msp430-related changes). But libc doesn't contain target for 1612
 runtime, only 1610 and 1611. Could it be fixed?

--
   Lev Serebryakov




Re: [Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-24 Thread Steve Underwood

Oops. I forgot to commit the libc make file.

Regards,
Steve

Lev Serebryakov wrote:


Hello, Steve!
Monday, February 23, 2004, 3:01:41 PM, you wrote:

SU The attached patch is against today's (040223) snapshot of binutils at
SU sources.redhat.com. It adds support for the new 1610, 1611, and 1612 
SU which should be sampling about. NOW!

I've added these patches to FreeBSD port (2.14-based, with all
msp430-related changes). But libc doesn't contain target for 1612
runtime, only 1610 and 1611. Could it be fixed?

--
  Lev Serebryakov
 






[Mspgcc-users] Binutils support for the 1610, 1611 and 1612

2004-02-23 Thread Steve Underwood

Hi,

The attached patch is against today's (040223) snapshot of binutils at 
sources.redhat.com. It adds support for the new 1610, 1611, and 1612 
which should be sampling about. NOW!


Dmitry:
This needs to be sent to the binutils maintainer.

Regards,
Steve
diff -rU5 binutils-040223.orig/gas/config/tc-msp430.c 
binutils-040223/gas/config/tc-msp430.c
--- binutils-040223.orig/gas/config/tc-msp430.c 2003-12-10 14:41:08.0 
+0800
+++ binutils-040223/gas/config/tc-msp430.c  2004-02-23 19:35:33.0 
+0800
@@ -117,10 +117,13 @@
   {msp430x156, MSP430_ISA_15, bfd_mach_msp15},
   {msp430x157, MSP430_ISA_15, bfd_mach_msp15},
   {msp430x167, MSP430_ISA_16, bfd_mach_msp16},
   {msp430x168, MSP430_ISA_16, bfd_mach_msp16},
   {msp430x169, MSP430_ISA_16, bfd_mach_msp16},
+  {msp430x1610, MSP430_ISA_16, bfd_mach_msp16},
+  {msp430x1611, MSP430_ISA_16, bfd_mach_msp16},
+  {msp430x1612, MSP430_ISA_16, bfd_mach_msp16},
 
   {msp430x311, MSP430_ISA_31, bfd_mach_msp31},
   {msp430x312, MSP430_ISA_31, bfd_mach_msp31},
   {msp430x313, MSP430_ISA_31, bfd_mach_msp31},
   {msp430x314, MSP430_ISA_31, bfd_mach_msp31},
@@ -203,10 +206,11 @@
   msp430x133  msp430x135\n
   msp430x1331 msp430x1351\n
   msp430x147  msp430x148  msp430x149\n
   msp430x155  msp430x156  msp430x157\n
   msp430x167  msp430x168  msp430x169\n
+  msp430x1610 msp430x1611 msp430x1612\n
   msp430x311  msp430x312  msp430x313  msp430x314  
msp430x315\n
   msp430x323  msp430x325\n
   msp430x336  msp430x337\n
   msp430x412  msp430x413\n
   msp430xE423 msp430xE425 msp430E427\n
diff -rU5 binutils-040223.orig/gas/po/es.po binutils-040223/gas/po/es.po
--- binutils-040223.orig/gas/po/es.po   2003-07-17 22:22:40.0 +0800
+++ binutils-040223/gas/po/es.po2004-02-23 19:37:06.0 +0800
@@ -7331,10 +7331,11 @@
   msp430x133  msp430x135\n
   msp430x1331 msp430x1351\n
   msp430x147  msp430x148  msp430x149\n
   msp430x155  msp430x156  msp430x157\n
   msp430x167  msp430x168  msp430x169\n
+  msp430x1610 msp430x1611 msp430x1612\n
   msp430x311  msp430x312  msp430x313  msp430x314  
msp430x315\n
   msp430x323  msp430x325\n
   msp430x336  msp430x337\n
   msp430x412  msp430x413\n
   msp430x435  msp430x436  msp430x437\n
@@ -7350,10 +7351,11 @@
   msp430x133  msp430x135\n
   msp430x1331 msp430x1351\n
   msp430x147  msp430x148  msp430x149\n
   msp430x155  msp430x156  msp430x157\n
   msp430x167  msp430x168  msp430x169\n
+  msp430x1610 msp430x1611 msp430x1612\n
   msp430x311  msp430x312  msp430x313  msp430x314  
msp430x315\n
   msp430x323  msp430x325\n
   msp430x336  msp430x337\n
   msp430x412  msp430x413\n
   msp430x435  msp430x436  msp430x437\n
diff -rU5 binutils-040223.orig/gas/po/fr.po binutils-040223/gas/po/fr.po
--- binutils-040223.orig/gas/po/fr.po   2003-08-06 18:15:13.0 +0800
+++ binutils-040223/gas/po/fr.po2004-02-23 19:37:40.0 +0800
@@ -7343,10 +7343,11 @@
   msp430x133  msp430x135\n
   msp430x1331 msp430x1351\n
   msp430x147  msp430x148  msp430x149\n
   msp430x155  msp430x156  msp430x157\n
   msp430x167  msp430x168  msp430x169\n
+  msp430x1610 msp430x1611 msp430x1612\n
   msp430x311  msp430x312  msp430x313  msp430x314  
msp430x315\n
   msp430x323  msp430x325\n
   msp430x336  msp430x337\n
   msp430x412  msp430x413\n
   msp430x435  msp430x436  msp430x437\n
@@ -7362,10 +7363,11 @@
   msp430x133  msp430x135\n
   msp430x1331 msp430x1351\n
   msp430x147  msp430x148  msp430x149\n
   msp430x155  msp430x156  msp430x157\n
   msp430x167  msp430x168  msp430x169\n
+  msp430x1610 msp430x1611 msp430x1612\n
   msp430x311  msp430x312  msp430x313  msp430x314  
msp430x315\n
   msp430x323  msp430x325\n
   msp430x336  msp430x337\n
   msp430x412  msp430x413\n
   msp430x435  msp430x436  msp430x437\n
diff -rU5 binutils-040223.orig/gas/po/gas.pot binutils-040223/gas/po/gas.pot
--- binutils-040223.orig/gas/po/gas.pot 2003-07-17 22:22:40.0 +0800
+++ binutils-040223/gas/po/gas.pot  2004-02-23 19:38:13.0 +0800
@@ -7168,10