/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Can not compile and make a build

Username:     
Password:     
             

Forum

# 1   2010-09-14 02:21:11 Can not compile and make a build

kirank
New member
Registered: 2010-09-14
Posts: 7

Can not compile and make a build

Hi,

This could be very stupid, but I am new to RIDE and FreeRTOS, I am not able to build the code successfully.

I was able to compile and run the already build demo project of the CORTEX_STM32F103_Primer_GCC with FreeRTOS on RIDE7 without any problem.
But now I am trying create a new project and add same source files and header files. I am getting build failed.
And header files missing and undeclared variable errors.

What am I doing wrong here.

Thanks

Offline

 

# 2   2010-09-14 05:59:43 Can not compile and make a build

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Can not compile and make a build

Did you configure the "include directories" ?

Offline

 

# 3   2010-09-14 22:00:58 Can not compile and make a build

kirank
New member
Registered: 2010-09-14
Posts: 7

Re: Can not compile and make a build

Yes I did configure the include directories.

Offline

 

# 4   2010-09-16 06:13:05 Can not compile and make a build

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Can not compile and make a build

$1 : are you talking about your header files, Did you use ST library files ... ?

Offline

 

# 5   2010-09-21 01:55:33 Can not compile and make a build

kirank
New member
Registered: 2010-09-14
Posts: 7

Re: Can not compile and make a build

Yes I included the ST Library Files.

Now I compared the already build project with my project. I checked the build log there is difference in the compilation. I see that there is -fsigned-char -D GCC_ARMCM3 is missing from my build log. I think its the toolsets. Do I have to add the toolsets to the project. If so, how do I add the toolsets to the project.

The build goes well till the ST Library files, build gives errors during the main.c building.

Thanks,
Kiran

Offline

 

# 6   2010-09-21 03:09:07 Can not compile and make a build

kirank
New member
Registered: 2010-09-14
Posts: 7

Re: Can not compile and make a build

Got it all working, build successful.
There are few options need to be changed in the project properties window.

Thanks,
Kiran

Offline

 

# 7   2011-03-12 23:54:03 Can not compile and make a build

Tryler84
New member
Registered: 2010-02-09
Posts: 2

Re: Can not compile and make a build

Can you  tell us wich option need to be changed ? I'm having the same problem
Thank

Offline

 

Board footer