Home › Forums › Mastering STM32 book support forum › Can't compile Hello World
- This topic has 4 replies, 3 voices, and was last updated 6 years ago by Synthetech.
-
AuthorPosts
-
March 2, 2018 at 8:37 am #10047krunal2411Participant
Hi Carmine,
I just bought the book yesterday. It looks really helpful.
I am trying to install the first Hello-World project but having problems.I get error on building the project.
The error is shown in the attached image Pic.Then I try to check my configured paths in the “Global Tools Paths” in Eclipse Preferences, but that is missing.
Here is the image named Pic1.I have followed all the steps to reach here but I am not able to go ahead.
Please suggest.Attachments:
You must be logged in to view attached files.March 3, 2018 at 4:07 am #10054krunal2411ParticipantHello,
I am totally new to STM and eclipse environment. I have been trying around for long time to get STM working with different tools but couldn’t. Then I found this book and it seems that it would really help me to get going. But I have stuck here and have frustrated trying all the solutions given online.
Could you please take out some time to answer this problem. I really appreciate your efforts.Thanking you in anticipation.
Regards,
BK KrunalOctober 19, 2018 at 8:23 pm #10890rfunesParticipantHi Krunal2411, I seem to have the same problem, did you find a way around it?
October 20, 2018 at 6:14 am #10892krunal2411ParticipantHi rfunes,
Eclipse never worked for me and I quit using it totally.
If this is for the first time you will be using Eclipse then I suggest you should stop using it now and try this option.
Just download STM32CubeMX from ST website. It is the easiest way to go ahead. Also, download either SW4STM32 or Attolic Trustudio. I prefer Truestudio as it is now owned by ST itself and they are officially supporting it for STM micros.
Using STM32CubeMX, it is very easy to configure the device and output the files as Truestudio project.
And you are ready to go with the final project, now you will just need to add your code in it.
Also, notably Truestudio is also a free software and works great!
This configuration has really helped me to get a very steady and rigid start in STM.
But of course, you should try all options and decide it yourself.November 6, 2018 at 5:38 am #10917SynthetechParticipantI also could not get eclipse to work. Wasted hours trying!
I can get CubeMX and Keil to work though..
I will have to give Truestudio a try again now that I am getting the hang of HAL and the file/folder structures.
It’s good news to hear someone out there is having success with TS since it appears to be free and doesn’t have compiler size limitations like Keil Trial version soon does.- This reply was modified 6 years ago by Synthetech.
-
AuthorPosts
- You must be logged in to reply to this topic.