2017-09-26 08:43 AM
Posted on September 26, 2017 at 17:43
Hello,
I am experiencing some problems when I set up the STM32L432KCU6 NUCEO-L432KC wiith FreeRTOS.
The driver files containing HAL are causing compilation errors (see attached screenshots) when used in eclipse.
What could be the reason for this?I haven't written any code in the main yet, I am just trying to compile the given project as is.
How do I know which UART to be using?
Thank you!
2017-09-26 09:07 AM
Hello,
You should check your project configuration, you may find to the example/template projects under the STM32CubeL4 and have a look to the pre-configured project and
specific files
, this will help you in your project.Best Regards
Imen
2017-09-26 10:51 AM
Make sure your project's stm32l4xx_hal_conf.h flags all the modules you want pulled in.
You pass USE_HAL_DRIVER on the compiler command line and #include 'stm32l4xx.h' rather than 'stm32l4xx_hal.h'
2017-09-26 02:53 PM
My conf file is empty. Should I be adding code to it?
And i don't have any libraries included in my main either.
2017-09-26 02:54 PM
I just set up the project fro STM32CubeMX which generated these project files. I don't know where the templates are and whether or not I should be adding anything.