2023-07-26 02:10 AM
Hi everyone,
I downloaded the DALI Slave Library from here: https://www.st.com/en/embedded-software/stsw-dali001.html and now I am trying to run the demo code on my STM32F103C8T6.
The problem I am encountering is that the source code has a few commands that the STM32CubeIDE does not recognize like:
- EXTI_InitTypeDef
- NVIC_InitTypeDef
The code is from 2012, was there a change in syntax, am I using the wrong compiler or is there something else I am missing?
Thanks for your help :)
2023-07-26 06:55 AM
It probably uses SPL, the predecessor to Cube.
JW
2023-07-27 03:01 AM
Thanks so much, for the fast response. It seems like every time I start a project in the STM32CubeIDE, it automatically sets up the HAL drivers... Is there a way to load the SPL instead?
2023-07-27 03:25 AM
Probably no. I don't use CubeIDE. However, it should be possible to start a "naked" project with no libraries, and just import whatever files you need (including SPL).
JW