/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / GNU C/C++ compiler for STM32

Username:     
Password:     
             

Forum

# 1   2008-11-25 01:49:36 GNU C/C++ compiler for STM32

mobby777
New member
Registered: 2008-11-18
Posts: 1

GNU C/C++ compiler for STM32

Hello, I would welcome help from anyone who has actually found & downloaded the free GNU C/C++ compiler for STM32?

I have looked over the entire forum & the only other mention of it that I can find was met with just one rather unfunny answer pointing the questioner to a site selling a compiler at 3 or 4 hundred pounds.

The link on this site points to GNU compilers, none of which appear to be the GNU C/C++ compiler for STM32, or if they are, no specific mention of the GNU C/C++ compiler for STM32 is made.

As I am not a computer genius, or versed in the art GNU compiler finding or coding, could somebody let me in on the secret, please?

I would be most grateful for any useful answers.

Mobby777

Offline

 

# 2   2008-11-25 11:24:57 GNU C/C++ compiler for STM32

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: GNU C/C++ compiler for STM32

GCC is provided (for free) on the CD of the Primer. It is available on the 'resource' section of this site (see 'CD-ROM image').

Offline

 

# 3   2008-12-11 07:58:38 GNU C/C++ compiler for STM32

Eselchen
Member
Registered: 2008-12-02
Posts: 18

Re: GNU C/C++ compiler for STM32

Hello, Francis,
am I right? With the Compiler and Enviroment on CD I can do coding up to 128k, but only debugging the first 32k??
Or ist both limited to the 32k??
Yours Kai

Offline

 

# 4   2008-12-11 09:00:43 GNU C/C++ compiler for STM32

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: GNU C/C++ compiler for STM32

Hi,

Only debugging is limited.

The GCC license (GPL) would not allow us to limit the compiler, even if we wanted to.

And programming is not limited either.

Best Regards,

Vincent

Offline

 

# 5   2008-12-11 14:39:54 GNU C/C++ compiler for STM32

Eselchen
Member
Registered: 2008-12-02
Posts: 18

Re: GNU C/C++ compiler for STM32

ok, understood.
Thanks a lot.

Offline

 

# 6   2008-12-12 21:39:16 GNU C/C++ compiler for STM32

Eselchen
Member
Registered: 2008-12-02
Posts: 18

Re: GNU C/C++ compiler for STM32

Hi Vincent,
what's about the primer?? Limitied to 32k, too??

Offline

 

# 7   2008-12-12 21:41:11 GNU C/C++ compiler for STM32

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: GNU C/C++ compiler for STM32

Not for compiling/linking, nor for programming (no limitation). Only debugging is limited up to 32KB.

Offline

 

# 8   2008-12-16 21:36:34 GNU C/C++ compiler for STM32

Eselchen
Member
Registered: 2008-12-02
Posts: 18

Re: GNU C/C++ compiler for STM32

Hi Francis,
still playing around with my "old" primer (hope, I'll receive the "new"one right before christmas :-) )  i've got another question: i think I don't use to install the Ride7 and GCC again to be used with the primer2, but to change the target. Is there anything other to pay attention to?

Offline

 

# 9   2008-12-17 07:27:36 GNU C/C++ compiler for STM32

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: GNU C/C++ compiler for STM32

For the Primer2, you will have to uninstall the previous software and reinstall the new one, delivered with the Primer2. There is a special 'derivative' for the 'Primer2 application. Moreover, the Primer2 is programmed/driven by the SWD instead of the JTAG, and the old software didn't mamage SWD.

Offline

 

# 10   2008-12-17 07:43:54 GNU C/C++ compiler for STM32

Eselchen
Member
Registered: 2008-12-02
Posts: 18

Re: GNU C/C++ compiler for STM32

But with the newer distribution it is possible to manage the "one" and "two"?? I don't want to shut down the older one, for some things i like it more :-( .

Offline

 

# 11   2008-12-20 20:47:00 GNU C/C++ compiler for STM32

ben
New member
Registered: 2007-10-06
Posts: 4

Re: GNU C/C++ compiler for STM32

Hi,

Did the new CD-Image that comes with PrimerII  embeds full support of  C++ and Dynamic Memory allocation while using free, malloc functions ?   Any pointers is very welcomed.   Thanks in advance.

Regards,

Ben,

Offline

 

# 12   2008-12-21 13:58:38 GNU C/C++ compiler for STM32

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: GNU C/C++ compiler for STM32

No, the heap is not initalized by the startup provided with the current software. We plan to add very soon allocation functions within the CircleOS.  The main purpose will be to allow some applications to stay resident. That would be usefull for communication drivers.

Offline

 

Board footer