User forums > Embedded development

C::B for stm32f10X.

(1/2) > >>

dekar:
Is there a wizard to create a project for stm32f10X, using library from stm (stm32f10x_lib.h)?

How can I use C::B with this with this line of microcontrollers?

dasfoo:

--- Quote from: dekar on November 02, 2010, 07:17:06 pm ---Is there a wizard to create a project for stm32f10X, using library from stm (stm32f10x_lib.h)?

How can I use C::B with this with this line of microcontrollers?

--- End quote ---

There isn't a wizard as far as I know.  If you want to use code blocks the first steps would be.

1) Install your cross compiler.
2) Configure Code-blocks to use it. 
3) Create a project.

Which cross compiler are you using?

dekar:
Yes, i have alredy installed gcc cross compiler and gdb. But i don't have Makefile and linker scripts, becose i've previously used another compiler and IDE for this MC.

dasfoo:

--- Quote from: dekar on November 03, 2010, 08:34:08 am ---Yes, i have alredy installed gcc cross compiler and gdb. But i don't have Makefile and linker scripts, becose i've previously used another compiler and IDE for this MC.


--- End quote ---

Go to Settings->Compilers and Debuggers - >Global compilers settings.

It's possible the CodeBlocks was able to auto detect it (doubtful).  If not select the GNU ARM compiler.
Hit the toolchain executables tab.  Then you need to fill in the compilers install directory, and the names of the tools.

dekar:
OK, let me try to reformulate my question...

My C::B perfectly picked up GCC cross compiler and offered me to use different devices. But there is no STM among them. How can i configure my C::B to program this type of MC? Where could i put stm32f10x libraries?

Navigation

[0] Message Index

[#] Next page

Go to full version