2017-10-12 10:48 PM
Hello I am trying to create new empty project only with HAL and CMSIS in SW4STM32. I've got STM32F401 and I want to use LL drivers. I create new C project and I set HAL drivers, HAL drivers have also LL driver. How can I use LL drivers? I get some mistakes. Below I put some pictures of this problem.
thank you very much!!!#hal-ll #ll #library #stm32f401 #drivers #hal-drivers #nucleo-f401re #ll-driversSolved! Go to Solution.
2017-10-16 12:29 AM
Your answer is confusing. I know that LL and HAL are included. But LL drivers are disabled, when you use symbol USE_FULL_LL_DRIVER you get some errors...
This is true solution!
http://www.openstm32.org/forumthread5888?topics_offset=0
Thanks for answers
2017-10-13 07:50 AM
Hi
Mat_jka.Tom__
,You can start with a generated project by STM32CubeMX and select LL driver for the peripherals you are using.
If you don't know how to do it, refer to
http://www.st.com/resource/en/user_manual/dm001047pdf
.-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-10-13 10:43 AM
OK, but this is not solution...Can you tell me what is this problem and how can i solve it?
STMCube is very bad problematic alpha tool, it is just toy for arduino kids, not for serious work. btw: Cube don't support LL drivers for STM32F401RE...
2017-10-13 02:00 PM
Yes, but the LL drivers are extern of project. I want all files in one folder(project).
2017-10-13 02:17 PM
Review the LL Template for your tool chain
STM32Cube_FW_F4_V1.16.0\Projects\STM32F401RE-Nucleo\Templates_LL\SW4STM32
You'd want to have the defines passed in by the compiler
USE_FULL_LL_DRIVER
STM32F401xE
HSE_VALUE=8000000UAnd the Include Paths to encompass those of the drivers and project
2017-10-13 06:26 PM
Ok, so copy them in one directory and construct the project. Pretty trivial task for GNU/GCC makefile, or Keil, can't believe it could be unduly complex in anything else.
2017-10-15 05:45 AM
Hello !
I have SW4STM32 v. 4.6.3
When create a project, for your MCU , at this screen you can choose between SPL and HAL
In case you choose HAL you have the option to add LL drivers in project.
I tried to make an empty C project for f401RE with HAL and LL and didn't faced the behaviour you described.
Check if you have the latest versions of firmware and SW4STM32.
Regards
vf
2017-10-16 12:29 AM
Your answer is confusing. I know that LL and HAL are included. But LL drivers are disabled, when you use symbol USE_FULL_LL_DRIVER you get some errors...
This is true solution!
http://www.openstm32.org/forumthread5888?topics_offset=0
Thanks for answers