2017-08-05 04:57 PM
New to using ST for FreeRtos basic project.Created New Project following all steps in a course for getting started with FreeRTOS but ended up with bunch of errors. Can anybody help? Following are few Screenshots of the errors.
#freertos-stm32cube2017-08-07 10:39 AM
Hi Atif
It seems you have a clock configuration problem.Could you tell me more about your project like what microcontroller/board you are using.If you have used CubeMX to create the project it is possible that you have forgotten certains steps.For example, Free RTOS require's you to use a different clock source for HAL_Tick,.Having more detail about the hardware you are using will greatly improve my ability to help you.
-Andy
2017-08-07 11:45 AM
Make sure you have the include paths set up correctly.
That you #include 'stm32f1xx.h'
That you have an stm32f1xx_hal_conf.h in your project and it correctly calls out and defines the modules needed.
That you have the define USE_HAL_DRIVER in the command line, along with the correct part selection.
2017-08-07 03:33 PM
Hi Andy,
Thank you very much for your response.
The Board which I am using is: NUCLEO-F103RB (That is the only hardware I am using at the moment).
I did change the system clock as recommended.
I did use STM32CubeMX but after I have created project then clicked on the auto generate code it opens up in my Eclipse but that is just a configuration file which opens then I imported that project into eclipse. May be that is why the issue is coming up?
If possible can you please help which steps should be followed. Much appreciated.
2017-08-07 04:20 PM
then
then step 3
and Selected OK
Step 4
Then Selected Generate Source code.
Step 5 ( Here something seems to go wrong)
As that opened in Java based eclipse i also have C/C++ based eclipse which i have used in next step and imported my project into eclipse.
Rest is same as i posted earlier full of errors in main.C code.
2017-08-07 04:30 PM
Hi Clieve.
At which stage should I set up path?
I do have those files in the project inc directory. I believe all the aspects you have mentioned I have included.