User forums > Embedded development

How to install the GNU ARM compiler toolchain for codeblocks?

<< < (2/4) > >>

BlueHazzard:
Note: The ARM wizard is bad...  I never achieved it to produce runnable code for any arm.... I tried to fix it, but there where other problems i wanted to fix first...

Restart codeblocks and try again.

I will try to create a minimal example for arm stm. This will take some time.... (probably 1h or so...)

aashishgogna92:
thank you so much for investing your time.

I am doing the same procedure to link this toolchain path through various names in the directories

eg:
C:/Program file(x86)/GNUARM and then copying whole toolchain so that it will be automatically detected.

result: same error appeared on codeblocks screen.

second way was:
the directory path you have suggested.
result: same error appeared on codeblocks screen.

(while trying any path i am deleting other options so that duplicate paths should not lie in the c:/ directory at one time)

repeatedly doing restarting clicking every possible way, all other projects are available,work,like console applications,avr projects,wxwidgets projects,sdl projects but the problem always come in ARM Projects.

aashishgogna92:
i want to add one more thing if someone is trying to make a GUI On stm32f429 M4 or any cortex M using emWin libraries,
in the readme.txt it is clearly mentioned that it will run with these requirements :

1.Windows 2000 or later (correct i am having windows 10)
2.CodeBlocks IDE V10.05 (or later) for Windows and MinGW-compiler or (having both,but the confusion as its an arm project,mingw compiler is not automatically getting detected ,even manually trying on global compiler settings too not working ,same error)

3.Microsoft Visual Studio 2010 or later (optional,trying 2.)


please suggest what to do! :'( ::) :-X :-[

BlueHazzard:
Ok, here is a example project:
https://github.com/bluehazzard/cb_minimal_STM32F429ZI

NOTE: I have only tried to compile. I have no STM32F429ZI to test the code....


--- Quote ---1.Windows 2000 or later (correct i am having windows 10)
2.CodeBlocks IDE V10.05 (or later) for Windows and MinGW-compiler or (having both,but the confusion as its an arm project,mingw compiler is not automatically getting detected ,even manually trying on global compiler settings too not working ,same error)

3.Microsoft Visual Studio 2010 or later (optional,trying 2.)

--- End quote ---
this is probably only for the windows executables... If you want to use it on your arm you can also use makefiles or whatever....

EDIT: have you any idea what you are doing? If not, please tell us what you want to do... Compiler emWin on windows, for testing, or compiling emWin for arm and running it on your arm controller?

aashishgogna92:
 :-*
thankyou very much for helping . i never thought of using cubemx to make a project for codeblocks. i thought it is available only for eclipse and IAR. Thanks .

i have downloaded the code and it is building fine.thanks alot.

Yes i do know exactly what i want to do(Please help me if i am opting the wrong procedure or i am missing the link,kindly help).

Motive:

1. To design a GUI application on stm32f429 with the help of static libraries of emWin to use its functions like(GUI_Init(), CreateWindow(),GUI_Clear();
GUI_SetColor(aColor),
GUI_SetFont(&GUI_FontComic24B_ASCII), GUI_DispString("Hello world!"), etc etc there are so many to design a basic button  and  then enabling the touch over it ).

2.while designing this project,as its a ARM controller so i need a ARM compiler installed?right,so i downloaded the compiler and was trying to install.From there the problem started.

i want to ask,the project you provided is working perfect and building,if it is building definitely it is using the arm-none-eabi compiler,How did the project itself is  detecting the compiler present in the windows while building the code even though its executable are not provided in the setting of its path manually(right now by me,i have just clicked on the C:B project and pressed build that is it).

thanks for helping ::) .



EDIT: i am using emwin for its >>static libraries  (STemWin532_CM0_GCC.a,STemWin532_CM3_GCC.a,STemWin532_CM4_GCC.a,STemWin532_CM7_GCC.a) as within these libraries only the source code of the GUI_Init() or other functions be available) . once the program which i am trying to write ,if successfully build with this libraries,then a smart screen will appear on my LCD?....

do you find any mistake in this approach?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version