How can i add hal library in Atollic ?

Discussions concerning TrueSTUDIO for STM32 9.0.0 and later versions.

Moderators: Markus Girdland, Mattias Norlander

ugurozkan52
Posts: 3
Joined: Mon Aug 19, 2019 10:36 am

How can i add hal library in Atollic ?

Postby ugurozkan52 » Mon Aug 19, 2019 10:56 am

Hi,

I am using Atollic 9.3.0 for STM32. I will use Hal Library in my project but wont use CubeMX. I installed Hal Lib. package for stm32f0xx on ST website. ( this link :https://www.st.com/en/embedded-software/stm32cubef0.html) I am creating C project > Embedded Project. I found Hal Lib. File in project explorer but Hal file is empty. How can i add Hal Lib package that file?

Thanks for everything :)
You do not have the required permissions to view the files attached to this post.

frank_ee
Posts: 103
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: How can i add hal library in Atollic ?

Postby frank_ee » Wed Sep 04, 2019 7:54 pm

Hello,

You have to manually add the HAL header and source files into the project folder. The easiest way is to use the CubeMX tool to generate the required files and copy the files into the TrueSTUDIO project folder.

ugurozkan52
Posts: 3
Joined: Mon Aug 19, 2019 10:36 am

Re: How can i add hal library in Atollic ?

Postby ugurozkan52 » Thu Sep 05, 2019 8:30 am

Thanks for your answer
I did your offer. Now, I am getting this error "stm32fxx_hal_conf.h: No such file or directory".

ugurozkan52
Posts: 3
Joined: Mon Aug 19, 2019 10:36 am

Re: How can i add hal library in Atollic ?

Postby ugurozkan52 » Thu Sep 05, 2019 12:19 pm

Solved

I read Atollic User Guide. There is title about CMSIS on Atollic. I installed Cmsis Pack Manager and added Hal library. You can use Cmsis pack manager on Atollic. http://gotland.atollic.com/resources/manuals/9.0.0/Atollic_TrueSTUDIO_for_STM32_User_Guide.pdf


Return to “TrueSTUDIO for STM32 discussions”

Who is online

Users browsing this forum: No registered users and 1 guest