User forums > Embedded development

Starting with STM32F401 Codeblocks

<< < (2/4) > >>

BlueHazzard:
yes, you have to set the names like the executable you find in the installation folder of the compiler...
you replace "gcc" with something like "arm-none-eabi-gcc.exe" and so on...

yvesuhc:
I replaced the first 4 files with:    arm-none-eabi-gcc.exe,   arm-none-eabi-c++.exe    and  arm-none-eabi-g++.exe,   arm-none-eabi-ar.exe
are these the right files ? which files otherwise ?
And if i creat a projekt do i need a empty projekt or something else ?   

Thx for the help
// i edited the GNU GCC Compiler

BlueHazzard:

--- Quote ---are these the right files ? which files otherwise ?
--- End quote ---
i have no idea how this files are called on your system... Look in the bin folder of the installation folder of the compiler....


--- Quote ---And if i creat a projekt do i need a empty projekt or something else ?   
--- End quote ---
One step after the other. You have to learn to stand before you can learn to run ;)

Have you tried to build the tings i posted in the link above?

yvesuhc:
If I try to build the c code you gave me nothing happens. No error but also nothing else.

I also didnt add the basic libary for the stm32f401 so i dont realy see how this should work?

stahta01:
So, you created the text files using a text editor, yes or no?
And, you used the terminal to try to build the files created, yes or no?

If not, the above what did you do that nothing happened?

Did you install the compiler, if yes what is the C or C++ compiler filename?

On Windows my C Compiler filename followed by "--version"

--- Code: ---gcc --version

--- End code ---
ran in the terminal returns

--- Code: ---gcc.exe (Rev2, Built by MSYS2 project) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- End code ---

What does your C or C++ compiler return as its version information?

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version